chunk_id
large_stringlengths
9
11
question_id
large_stringlengths
6
8
language
large_stringclasses
1 value
chunk_index
int64
0
4
chunk_text
large_stringlengths
115
2.62k
sparse_text
large_stringlengths
111
4.37k
dense_vector
listlengths
3.58k
3.58k
sparse_indices
listlengths
9
217
sparse_values
listlengths
9
217
export_source
large_stringclasses
1 value
43342845_c0
43342845
prolog
0
Title: Prolog - Adding elements from a list to another list without duplicates Problem title: Prolog - Adding elements from a list to another list without duplicates Tags: prolog Problem: Prolog - Adding elements from a list to another list without duplicates This is my code: students([], NameList). students([Name1+Nam...
Prolog - Adding elements from a list to another list without duplicates Prolog - Adding elements from a list to another list without duplicates prolog a Prolog Adding NameList Name1 Name2 MoreProjects not_member Head Tail Dickens Joyce Chekhov Tolstoy Austen Shakespeare Shirley Byron StudentList Prolog - Adding element...
[ -0.01123046875, 0.0185546875, 0.03857421875, 0.00421142578125, -0.0299072265625, 0.006195068359375, -0.00762939453125, -0.004638671875, -0.000362396240234375, -0.00860595703125, 0.005859375, 0.0030975341796875, 0.01495361328125, 0.0096435546875, -0.00634765625, -0.00115203857421875, ...
[ 1250, 4867, 20, 62, 59725, 80854, 1295, 10, 5303, 47, 15700, 15490, 171763, 1636, 502, 15757, 154663, 418, 304, 5455, 223353, 959, 39, 27417, 44816, 1218, 379, 67468, 1755, 200588, 28585, 41089, 2785, 53, 43738, 113154, 55852, 4293, 3311, ...
[ 0.212158203125, 0.28271484375, 0.021148681640625, 0.1265869140625, 0.164794921875, 0.198974609375, 0.11083984375, 0.04351806640625, 0.2109375, 0.1104736328125, 0.12158203125, 0.136962890625, 0.1854248046875, 0.045013427734375, 0.178466796875, 0.161865234375, 0.2044677734375, 0.1065...
embed
17215191_c0
17215191
prolog
0
Title: Prolog issue with max list function: nondeterm vs procedure Problem title: Prolog issue with max list function: nondeterm vs procedure Tags: visual-prolog, prolog Problem: Prolog issue with max list function: nondeterm vs procedure I am trying to do a small project in prolog where a user can input a list and the...
Prolog issue with max list function: nondeterm vs procedure Prolog issue with max list function: nondeterm vs procedure visual-prolog prolog Prolog Prolog issue with max list function: nondeterm vs procedure I am trying to do a small project in prolog where a user can input a list and then it calculates the average, ma...
[ 0.0145263671875, 0.00701904296875, 0.027587890625, 0.0108642578125, -0.007415771484375, 0.0235595703125, -0.0001220703125, 0.002838134765625, 0.003143310546875, -0.042724609375, 0.02001953125, -0.003326416015625, 0, -0.032958984375, 0.0322265625, -0.010498046875, 0.01068115234375, ...
[ 1250, 4867, 31089, 18389, 5303, 32354, 351, 112, 32166, 20209, 50491, 678, 21176, 3454, 502, 31577, 19336, 13452, 38937, 107730, 74481, 83080, 13028, 3934, 2967, 32562, 111607, 14012, 18151, 68034, 43240, 84797, 18499, 26008, 1653, 2063, 67, ...
[ 0.1695556640625, 0.2325439453125, 0.1280517578125, 0.2086181640625, 0.2066650390625, 0.200927734375, 0.1341552734375, 0.1666259765625, 0.26513671875, 0.1312255859375, 0.2139892578125, 0.01129150390625, 0.1810302734375, 0.189697265625, 0.1241455078125, 0.0149383544921875, 0.0198669433...
embed
33129091_c1
33129091
prolog
1
])). I have tried: freeze_list(List,Goal):- freeze_list_h(List,Goal,FrozenList), call(FrozenList). freeze_list_h([X],Goal,freeze(X,Goal)). freeze_list_h(List,Goal,freeze(H,Frozen)):- List=[H|T], freeze_list_h(T,Goal,Frozen). Which works like: ?- X=bob,freeze_list([X,Y,Z],format("Hello ~w, ~w and ~w\n",[X,Y,Z])),Y=fred....
])). I have tried: freeze_list(List,Goal):- freeze_list_h(List,Goal,FrozenList), call(FrozenList). freeze_list_h([X],Goal,freeze(X,Goal)). freeze_list_h(List,Goal,freeze(H,Frozen)):- List=[H|T], freeze_list_h(T,Goal,Frozen). Which works like: ?- X=bob,freeze_list([X,Y,Z],format("Hello ~w, ~w and ~w\n",[X,Y,Z])),Y=fred....
[ 0.00653076171875, 0.01513671875, 0.0072021484375, 0.0157470703125, 0.00003933906555175781, 0.0037078857421875, 0.004974365234375, 0.0257568359375, 0.005401611328125, -0.0045166015625, 0.011474609375, 0.005859375, -0.0087890625, 0.041259765625, 0.005523681640625, -0.000286102294921875, ...
[ 10114, 16, 194, 765, 37842, 4092, 731, 6562, 154663, 17903, 289, 127, 70463, 11782, 1542, 32087, 32036, 618, 43240, 1884, 1193, 837, 275, 1723, 1511, 51727, 13817, 434, 136, 41347, 21895, 990, 34836, 9384, 567, 1159, 35378, 29741, 68403, ...
[ 0.02752685546875, 0.0253753662109375, 0.0162506103515625, 0.0187530517578125, 0.094970703125, 0.1796875, 0.19775390625, 0.2388916015625, 0.2095947265625, 0.1458740234375, 0.1229248046875, 0.075439453125, 0.1820068359375, 0.1343994140625, 0.033111572265625, 0.1514892578125, 0.21374511...
embed
53973934_c0
53973934
prolog
0
Title: Integrating C# with Prolog - Getting a "System.BadImageFormatException" Exception though the target platform is set to x86 Problem title: Integrating C# with Prolog - Getting a "System.BadImageFormatException" Exception though the target platform is set to x86 Tags: prolog, c%23 Problem: Inte...
Integrating C# with Prolog - Getting a "System.BadImageFormatException" Exception though the target platform is set to x86 Integrating C# with Prolog - Getting a "System.BadImageFormatException" Exception though the target platform is set to x86 prolog c%23 System.BadImageFormatException HRESULT Int...
[ 0.004119873046875, 0.0260009765625, -0.0155029296875, 0.00958251953125, 0.0011749267578125, 0.0101318359375, -0.0078125, -0.0019378662109375, -0.000736236572265625, -0.0279541015625, 0.0194091796875, 0.01025390625, -0.0091552734375, 0.0034332275390625, 0.0250244140625, -0.0122680664062...
[ 91969, 1916, 313, 4904, 678, 1250, 4867, 210732, 84293, 157027, 216960, 102973, 19279, 63928, 5443, 21208, 30388, 13651, 5423, 1022, 15276, 502, 3742, 12353, 34465, 82643, 12321, 686, 1900, 81827, 139909, 3034, 2424, 29016, 91384, 1212, 40705, ...
[ 0.201904296875, 0.001068115234375, 0.011138916015625, 0.1976318359375, 0.134033203125, 0.1392822265625, 0.2218017578125, 0.043792724609375, 0.111572265625, 0.127685546875, 0.1884765625, 0.1966552734375, 0.0723876953125, 0.1640625, 0.0694580078125, 0.034912109375, 0.2210693359375, 0...
embed
4585542_c0
4585542
prolog
0
Title: Underground in Prolog Problem title: Underground in Prolog Tags: prolog Problem: Underground in Prolog I am doing a practice in Prolog, and I need do a program that say the way to go from a station, to other station, in Madrid Underground (Metro de Madrid). I have a file to data (datos.pl), and other file with p...
Underground in Prolog Underground in Prolog prolog Underground Prolog cuatro_caminos san_bernardo santo_domingo banco_de_espana principe_de_vergara manuel_becerra ventura_rodriguez plaza_de_espana palos_de_la_frontera datos.pl Visitados Resto ASig Underground in Prolog I am doing a practice in Prolog, and I need do a p...
[ 0.0223388671875, -0.0048828125, 0.0106201171875, 0.0322265625, -0.0084228515625, 0.0021514892578125, 0.003021240234375, 0.00421142578125, 0.0029296875, -0.053955078125, 0.00494384765625, 0.008056640625, -0.0196533203125, 0.005096435546875, 0.00909423828125, 0.00439453125, 0.014892578...
[ 9626, 64330, 23, 1250, 4867, 502, 50871, 34030, 2245, 3725, 46690, 43932, 146585, 68131, 519, 66799, 112, 41279, 62062, 17117, 159168, 219, 3595, 1255, 49476, 2400, 20549, 1704, 13084, 2424, 113767, 1140, 49756, 31, 6483, 872, 41361, 1528, ...
[ 0.16015625, 0.2296142578125, 0.0858154296875, 0.1627197265625, 0.252197265625, 0.0928955078125, 0.1629638671875, 0.1451416015625, 0.0850830078125, 0.0213623046875, 0.04107666015625, 0.11962890625, 0.0135498046875, 0.02960205078125, 0.05511474609375, 0.1585693359375, 0.07489013671875,...
embed
71886866_c0
71886866
prolog
0
Title: Objectifying Array based on Term Problem title: Objectifying Array based on Term Tags: arrays, logtalk, prolog, swi-prolog Problem: Objectifying Array based on Term I have this for array : ary1d_new(Size,Sym,ArySym,Ary) :- functor(Ary,ArySym,Size), forall(arg(X,Ary,_), nb_setarg(X,Ary,Sym)). ary1d_get(Pos,Ary,Va...
Objectifying Array based on Term Objectifying Array based on Term arrays logtalk prolog swi-prolog Objectifying Array Term ary1d_new Size Sym ArySym Ary nb_setarg ary1d_get Pos Val ary1d_set new1d set1d get1d end_object g::new1d g::set1d g::get1d Value Info Arg _Array_ Objectifying Array based on Term I have this for a...
[ 0.029541015625, 0.004913330078125, -0.01116943359375, 0.00860595703125, 0.01202392578125, -0.01806640625, 0.0030364990234375, 0.03662109375, 0.006378173828125, -0.0069580078125, 0.01141357421875, 0.0247802734375, -0.021240234375, -0.016845703125, 0.004638671875, -0.0179443359375, 0.0...
[ 134549, 151138, 69253, 53, 35509, 98, 2994, 39, 10298, 12684, 139109, 502, 4867, 2452, 3454, 11496, 71, 54936, 80378, 4843, 40779, 4650, 3509, 61477, 13498, 4769, 5423, 3564, 187694, 190060, 14048, 1172, 177, 7614, 7092, 31577, 15504, 47, 3...
[ 0.2315673828125, 0.173583984375, 0.1817626953125, 0.1031494140625, 0.1114501953125, 0.001617431640625, 0.19677734375, 0.126953125, 0.14501953125, 0.10369873046875, 0.2279052734375, 0.059814453125, 0.1290283203125, 0.0953369140625, 0.0635986328125, 0.05657958984375, 0.0330810546875, ...
embed
41621414_c0
41621414
prolog
0
Title: Controlling Prolog variable value selection Problem title: Controlling Prolog variable value selection Tags: prolog, prolog-defaulty, evaluation Problem: Controlling Prolog variable value selection Inspired by an earlier question I tried to implement something that would enumerate the possibilities for a boolean...
Controlling Prolog variable value selection Controlling Prolog variable value selection prolog prolog-defaulty evaluation Controlling Prolog _G269 _G270 _G275 _G276 _G281 _G282 Controlling Prolog variable value selection Inspired by an earlier question I tried to implement something that would enumerate the possibiliti...
[ -0.01055908203125, 0.0167236328125, 0.00933837890625, -0.0016937255859375, -0.01373291015625, 0.0027923583984375, 0.0002613067626953125, -0.01214599609375, 0.02392578125, -0.0020751953125, -0.019775390625, 0.0230712890625, -0.01239013671875, 0.002655029296875, 0.0211181640625, 0.014099...
[ 27131, 2069, 1250, 4867, 77336, 34292, 132216, 502, 214810, 53, 219836, 724, 304, 14212, 104283, 6873, 11835, 3882, 418, 29479, 189085, 97370, 337, 31, 34677, 125195, 63134, 44126, 179140, 184345, 18151, 21771, 18, 3444, 8781, 7225, 831, 1957...
[ 0.171875, 0.09130859375, 0.1575927734375, 0.231201171875, 0.2401123046875, 0.147216796875, 0.1754150390625, 0.113037109375, 0.1961669921875, 0.0963134765625, 0.167236328125, 0.0125732421875, 0.060638427734375, 0.172119140625, 0.18505859375, 0.14599609375, 0.155029296875, 0.13171386...
embed
15276505_c0
15276505
prolog
0
Title: Prolog - Recursive List Problem title: Prolog - Recursive List Tags: prolog, list, recursion Problem: Prolog - Recursive List Here is my question: A small club decided to set up a telephone network for urgent messages amongst its members. The following arrangement was agreed: Anne can phone both Bill and Mary. B...
Prolog - Recursive List Prolog - Recursive List prolog list recursion Prolog Recursive List can_phone message_route Prolog - Recursive List Here is my question: A small club decided to set up a telephone network for urgent messages amongst its members. The following arrangement was agreed: Anne can phone both Bill and ...
[ 0.01031494140625, 0.031494140625, 0.000392913818359375, 0.03662109375, -0.01165771484375, 0.01409912109375, -0.0286865234375, 0.00872802734375, 0.01397705078125, -0.06640625, 0.005584716796875, -0.01409912109375, 0.01519775390625, 0.017333984375, 0.0050048828125, 0.0140380859375, 0.0...
[ 1250, 4867, 853, 48650, 5844, 32036, 502, 5303, 195625, 1830, 831, 26551, 26008, 133261, 9655, 19336, 11938, 68872, 5423, 1257, 203599, 33120, 100, 89014, 89914, 54940, 43032, 70767, 176506, 14245, 24089, 15044, 19893, 136, 23213, 8352, 71687, ...
[ 0.1656494140625, 0.26025390625, 0.05694580078125, 0.195556640625, 0.158447265625, 0.23095703125, 0.128173828125, 0.2080078125, 0.2420654296875, 0.0516357421875, 0.1312255859375, 0.2352294921875, 0.13330078125, 0.248046875, 0.028106689453125, 0.087646484375, 0.1756591796875, 0.06567...
embed
29553433_c0
29553433
prolog
0
Title: How to set up and Print out a Grid in GNU Prolog Problem title: How to set up and Print out a Grid in GNU Prolog Tags: list, prolog, grid, wumpus-world Problem: How to set up and Print out a Grid in GNU Prolog I'm reading through these prolog tutorials and I feel like i'm getting a decent grasp on some of the co...
How to set up and Print out a Grid in GNU Prolog How to set up and Print out a Grid in GNU Prolog list prolog grid wumpus-world How Print Grid GNU Prolog How to set up and Print out a Grid in GNU Prolog I'm reading through these prolog tutorials and I feel like i'm getting a decent grasp on some of the concepts they us...
[ 0.00008296966552734375, 0.01324462890625, 0.00994873046875, 0.006011962890625, -0.0162353515625, 0.00921630859375, -0.0108642578125, -0.007568359375, -0.0047607421875, -0.0037078857421875, 0.01116943359375, 0.0026702880859375, -0.007293701171875, -0.006927490234375, -0.00921630859375, ...
[ 11249, 5423, 1257, 136, 39754, 1810, 31945, 71, 23, 165132, 1250, 4867, 5303, 502, 120067, 316, 7332, 32554, 10, 57143, 23755, 31089, 29479, 1884, 5426, 5809, 177953, 31344, 18151, 54, 3444, 3249, 206597, 201, 425, 617, 5608, 28412, 9451, ...
[ 0.059051513671875, 0.1256103515625, 0.109375, 0.044647216796875, 0.2008056640625, 0.1607666015625, 0.232666015625, 0.1612548828125, 0.047607421875, 0.1768798828125, 0.158447265625, 0.210205078125, 0.153076171875, 0.1134033203125, 0.2705078125, 0.0682373046875, 0.1473388671875, 0.09...
embed
58319683_c0
58319683
prolog
0
Title: Predicate for has triplicate in a list? Problem title: Predicate for has triplicate in a list? Tags: prolog Problem: Predicate for has triplicate in a list? I am writing a predicate to print true if a list contains 3 copies of an element and also to print the element. Also the predicate should print alternate so...
Predicate for has triplicate in a list? Predicate for has triplicate in a list? prolog Predicate List Element Ct1 ERROR Arguments _10188 _10218 hastriplicate.pl:3 Note Re-run Exception _10332 Predicate for has triplicate in a list? I am writing a predicate to print true if a list contains 3 copies of an element and als...
[ 0.01080322265625, 0.0228271484375, -0.0001468658447265625, -0.00665283203125, -0.01141357421875, 0.0247802734375, 0.01446533203125, -0.0107421875, 0.01806640625, -0.025146484375, -0.004608154296875, 0.00994873046875, -0.002044677734375, 0.00762939453125, -0.004852294921875, 0.024169921...
[ 7145, 2063, 67, 100, 1556, 1927, 52721, 23, 5303, 502, 4867, 32036, 48325, 18, 418, 151206, 24638, 112140, 963, 112511, 49150, 1819, 256, 7655, 2424, 363, 18622, 853, 16428, 5443, 63928, 123128, 10, 32562, 1653, 28412, 29568, 2174, 70541, ...
[ 0.1763916015625, 0.214599609375, 0.1837158203125, 0.112060546875, 0.1534423828125, 0.2449951171875, 0.313720703125, 0.08984375, 0.2261962890625, 0.1053466796875, 0.1124267578125, 0.1781005859375, 0.1494140625, 0.044036865234375, 0.03509521484375, 0.1217041015625, 0.0428466796875, 0...
embed
6428863_c0
6428863
prolog
0
Title: Is this code generated by expanding a Prolog DCG tail-recursive? Problem title: Is this code generated by expanding a Prolog DCG tail-recursive? Tags: prolog, dcg Problem: Is this code generated by expanding a Prolog DCG tail-recursive? The following code is a DCG to replace all occurences of Find w/ Replace in ...
Is this code generated by expanding a Prolog DCG tail-recursive? Is this code generated by expanding a Prolog DCG tail-recursive? prolog dcg Prolog DCG Find Replace Request Result Is this code generated by expanding a Prolog DCG tail-recursive? The following code is a DCG to replace all occurences of Find w/ Replace in...
[ 0.02392578125, 0.01043701171875, 0.0146484375, 0.020751953125, 0.0084228515625, 0.0205078125, -0.021728515625, -0.0286865234375, 0.007110595703125, -0.017333984375, -0.0186767578125, -0.002288818359375, -0.0108642578125, -0.0150146484375, 0.01446533203125, -0.0020904541015625, 0.0063...
[ 2071, 903, 18151, 139392, 390, 71062, 214, 1250, 4867, 391, 56367, 46741, 107, 48650, 5844, 502, 104, 238, 177, 26040, 853, 23935, 75616, 126684, 25632, 83, 10, 47, 91995, 756, 74918, 148, 64, 23, 3884, 35166, 2589, 159, 38969, 10752, 9...
[ 0.0615234375, 0.10693359375, 0.2271728515625, 0.1650390625, 0.0226898193359375, 0.1488037109375, 0.047607421875, 0.161376953125, 0.2183837890625, 0.088134765625, 0.20654296875, 0.255859375, 0.0655517578125, 0.1920166015625, 0.1221923828125, 0.1236572265625, 0.025970458984375, 0.019...
embed
21050431_c0
21050431
prolog
0
Title: SWI-Prolog C# iterating through List as a Result Problem title: SWI-Prolog C# iterating through List as a Result Tags: c%23, swi-prolog, prolog Problem: SWI-Prolog C# iterating through List as a Result I have in my file a few predicates. cam_curto(User1,User2,Cam):-cam_curto(User1,User2,[User1],Cam). cam_curto(U...
SWI-Prolog C# iterating through List as a Result SWI-Prolog C# iterating through List as a Result c%23 swi-prolog prolog SWI-Prolog List Result cam_curto User1 User2 Cam mais_curto UserA UserB CamCurto Tam Caminho LSol LSolOrd ListaFinal iduser1 iduser2 PlQuery PlTermV q.Solutions SWI-Prolog C# iterating through List a...
[ 0.01275634765625, 0.00213623046875, 0.02099609375, 0.0157470703125, -0.0025482177734375, 0.01519775390625, -0.0137939453125, -0.01080322265625, 0.00787353515625, -0.0732421875, 0.0040283203125, 0.00148773193359375, -0.029296875, -0.0113525390625, 0.000331878662109375, 0.01165771484375,...
[ 159, 38969, 10752, 4867, 313, 4904, 17, 67, 98767, 8305, 32036, 237, 126684, 3742, 2452, 3454, 502, 7384, 16820, 188, 53400, 418, 304, 10071, 732, 284, 571, 474, 8801, 34758, 102588, 143045, 50085, 6159, 65918, 35484, 856, 9, 11435, 10846...
[ 0.0528564453125, 0.2147216796875, 0.1552734375, 0.205322265625, 0.039581298828125, 0.2174072265625, 0.03662109375, 0.1793212890625, 0.0975341796875, 0.134765625, 0.2005615234375, 0.07318115234375, 0.2178955078125, 0.07098388671875, 0.172119140625, 0.119140625, 0.143798828125, 0.124...
embed
44013409_c0
44013409
prolog
0
Title: SWI-Prolog evaluate -1 raised to a fraction, can this be done Problem title: SWI-Prolog evaluate -1 raised to a fraction, can this be done Tags: exponentiation, prolog Problem: SWI-Prolog evaluate -1 raised to a fraction, can this be done In evaluating math expressions with SWI-Prolog I need to evaluate -1 raise...
SWI-Prolog evaluate -1 raised to a fraction, can this be done SWI-Prolog evaluate -1 raised to a fraction, can this be done exponentiation prolog SWI-Prolog ERROR Arithmetic _3688 _43410 _6100 _7294 SWI-Prolog evaluate -1 raised to a fraction, can this be done In evaluating math expressions with SWI-Prolog I need to ev...
[ 0.00531005859375, -0.0002880096435546875, -0.00921630859375, -0.0264892578125, -0.0068359375, 0.006103515625, 0.00518798828125, 0.0031280517578125, 0.006622314453125, 0.00189971923828125, -0.006591796875, 0.0419921875, -0.003509521484375, -0.02685546875, 0.0093994140625, -0.01159667968...
[ 159, 38969, 9, 10752, 4867, 151575, 13, 68940, 165249, 47, 175921, 831, 903, 16940, 78643, 21616, 502, 151206, 8962, 282, 134900, 152697, 963, 3559, 14889, 48909, 125195, 80973, 892, 1505, 16750, 84751, 351, 6191, 9232, 5983, 7722, 678, 110...
[ 0.06781005859375, 0.22998046875, 0.0220947265625, 0.1572265625, 0.172119140625, 0.197265625, 0.015655517578125, 0.255859375, 0.219482421875, 0.114013671875, 0.24462890625, 0.0926513671875, 0.0716552734375, 0.0909423828125, 0.1688232421875, 0.0185699462890625, 0.1033935546875, 0.110...
embed
62327815_c0
62327815
prolog
0
Title: How to look up a value inside a list in a predicate, in PROLOG Problem title: How to look up a value inside a list in a predicate, in PROLOG Tags: search, list, predicate, prolog Problem: How to look up a value inside a list in a predicate, in PROLOG So far I've done my fair amount of research and I've tried dif...
How to look up a value inside a list in a predicate, in PROLOG How to look up a value inside a list in a predicate, in PROLOG search list predicate prolog How PROLOG use_module e_b a_b b_b type_scale How to look up a value inside a list in a predicate, in PROLOG So far I've done my fair amount of research and I've trie...
[ 0.001861572265625, -0.008056640625, 0.00714111328125, 0.017578125, -0.01190185546875, 0.005950927734375, 0.0018157958984375, 0.004150390625, 0.01904296875, -0.042236328125, 0.015869140625, -0.00982666015625, -0.005279541015625, -0.0162353515625, 0.004425048828125, -0.0042724609375, 0...
[ 11249, 6713, 1257, 34292, 46132, 5303, 23, 1653, 2063, 67, 10514, 47510, 10, 33938, 502, 4867, 4527, 83279, 28, 275, 876, 10644, 7, 57965, 150624, 177261, 6859, 165490, 4293, 18151, 81887, 60552, 9844, 831, 17, 8560, 8305, 105994, 238, 10...
[ 0.036102294921875, 0.1585693359375, 0.199462890625, 0.2308349609375, 0.228515625, 0.2156982421875, 0.097900390625, 0.1759033203125, 0.218994140625, 0.1207275390625, 0.16162109375, 0.24462890625, 0.046844482421875, 0.12646484375, 0.145751953125, 0.1824951171875, 0.08154296875, 0.140...
embed
59348290_c0
59348290
prolog
0
Title: Generate decomposition constraints for constraints Problem title: Generate decomposition constraints for constraints Tags: swi-prolog, prolog, constraint-handling-rules Problem: Generate decomposition constraints for constraints Consider the following setup: :- use_module(library(chr)). :- chr_constraint a/1, b/...
Generate decomposition constraints for constraints Generate decomposition constraints for constraints swi-prolog prolog constraint-handling-rules Generate use_module chr_constraint e.g X-1 Generate decomposition constraints for constraints Consider the following setup: I know prolog is capable of meta-programming, and ...
[ -0.0135498046875, 0.0022125244140625, 0.0155029296875, 0.0220947265625, 0.01385498046875, 0.019287109375, -0.0196533203125, -0.02978515625, -0.01141357421875, -0.02734375, -0.032958984375, 0.01031494140625, -0.00164794921875, 0.002288818359375, 0.009765625, -0.013671875, 0.0206298828...
[ 155370, 8, 277, 40322, 158, 2816, 4288, 100, 91, 2452, 3454, 4867, 502, 54885, 13500, 4527, 83279, 17656, 2271, 1193, 5759, 169581, 87709, 23550, 28966, 11814, 139392, 1022, 132, 1542, 20903, 24145, 2203, 5, 50065, 34955, 25842, 11782, 3302...
[ 0.1669921875, 0.168212890625, 0.1656494140625, 0.122802734375, 0.09564208984375, 0.1851806640625, 0.142822265625, 0.04461669921875, 0.00189208984375, 0.164306640625, 0.107666015625, 0.2135009765625, 0.1436767578125, 0.1004638671875, 0.0667724609375, 0.0750732421875, 0.0904541015625, ...
embed
38254957_c0
38254957
prolog
0
Title: Prolog - Find segment in a list of point Problem title: Prolog - Find segment in a list of point Tags: prolog Problem: Prolog - Find segment in a list of point I need to find a list of segments from a point in a list of slopes, every segment must be longer than 3 point, and have the same angle. every slope are m...
Prolog - Find segment in a list of point Prolog - Find segment in a list of point prolog Prolog Find Angle find_segment Lines find_same Nline Nls Slopes Result confronta_test _G2019 _G2022 _G2076 Prolog - Find segment in a list of point I need to find a list of segments from a point in a list of slopes, every segment m...
[ -0.000232696533203125, 0.0054931640625, 0.017333984375, -0.0004062652587890625, -0.0177001953125, -0.00518798828125, -0.004852294921875, 0.0291748046875, 0.0089111328125, -0.0301513671875, -0.003753662109375, 0.01446533203125, -0.0091552734375, 0.0108642578125, 0.01263427734375, 0.0024...
[ 1250, 4867, 26040, 33180, 23, 5303, 6275, 502, 2393, 7413, 25398, 674, 16777, 40175, 541, 2256, 8080, 83241, 13569, 126684, 106457, 6954, 32196, 151159, 11835, 3871, 1295, 25193, 11907, 8110, 51713, 138, 5701, 55291, 91, 89059, 7228, 136, 8...
[ 0.1689453125, 0.24072265625, 0.1561279296875, 0.32861328125, 0.0361328125, 0.1693115234375, 0.1668701171875, 0.123291015625, 0.178466796875, 0.171142578125, 0.2430419921875, 0.1419677734375, 0.1346435546875, 0.1376953125, 0.003631591796875, 0.166015625, 0.1019287109375, 0.094970703...
embed
75896980_c0
75896980
prolog
0
Title: Prolog Representation for Parallel Line Theorem Reasoning Problem title: Prolog Representation for Parallel Line Theorem Reasoning Tags: prolog Problem: Prolog Representation for Parallel Line Theorem Reasoning I am using prolog for reasoning about theorems for parallel lines. That is, AB || EF and CD || EF, whi...
Prolog Representation for Parallel Line Theorem Reasoning Prolog Representation for Parallel Line Theorem Reasoning prolog Prolog Representation Parallel Line Theorem Reasoning parallel_base Prolog Representation for Parallel Line Theorem Reasoning I am using prolog for reasoning about theorems for parallel lines. That...
[ 0.004486083984375, 0.01318359375, 0.012451171875, 0.012939453125, -0.00897216796875, -0.00131988525390625, -0.005889892578125, 0.00848388671875, -0.006622314453125, -0.044921875, -0.01953125, 0.020263671875, -0.00701904296875, 0.01214599609375, 0.00445556640625, -0.006256103515625, 0...
[ 1250, 4867, 130877, 100, 211485, 16777, 581, 58391, 236267, 502, 95103, 37382, 17368, 31635, 214, 70, 124519, 11321, 51779, 136, 7915, 37105, 43581, 18151, 63284, 29568, 1284, 8678, 98320, 2499, 3917, 3249, 2843, 276, 541, 6226, 14012, 71924,...
[ 0.18603515625, 0.267578125, 0.2158203125, 0.0234527587890625, 0.2156982421875, 0.16064453125, 0.05767822265625, 0.1873779296875, 0.188232421875, 0.171142578125, 0.2332763671875, 0.1556396484375, 0.09765625, 0.173095703125, 0.07269287109375, 0.0229034423828125, 0.1595458984375, 0.17...
embed
61395505_c0
61395505
prolog
0
Title: Checking all the words in list that unify with list of variables Problem title: Checking all the words in list that unify with list of variables Tags: unification, prolog, list, algorithm Problem: Checking all the words in list that unify with list of variables So i have predicate called palavras_possiveis_esp(L...
Checking all the words in list that unify with list of variables Checking all the words in list that unify with list of variables unification prolog list algorithm Checking palavras_possiveis_esp Leters Spaces Space Words_pos P11 P12 P13 P21 P31 P41 P23 P33 espacos_pal_uni P51 P43 P53 palavra_possivel_esp Word Letras E...
[ 0.002685546875, -0.00011396408081054688, -0.0038604736328125, 0.00518798828125, -0.00946044921875, -0.002044677734375, -0.01318359375, 0.0045166015625, 0.0152587890625, -0.009521484375, 0.0076904296875, 0.017578125, 0.032470703125, -0.014404296875, -0.0031890869140625, 0.017333984375, ...
[ 38679, 214, 756, 70, 34153, 23, 5303, 450, 51, 40383, 678, 77336, 111, 41274, 502, 4867, 234873, 78549, 7522, 29888, 164, 90, 254, 636, 23962, 43045, 22543, 1662, 1530, 436, 2681, 3117, 5016, 8894, 3742, 9185, 101404, 7840, 454, 5007, 5...
[ 0.216796875, 0.049530029296875, 0.124755859375, 0.0258026123046875, 0.240478515625, 0.10498046875, 0.205078125, 0.048553466796875, 0.1845703125, 0.190673828125, 0.138427734375, 0.249755859375, 0.004791259765625, 0.13232421875, 0.14599609375, 0.2001953125, 0.173828125, 0.17041015625...
embed
70405346_c0
70405346
prolog
0
Title: Compare user input to defined predicate Problem title: Compare user input to defined predicate Tags: prolog Problem: Compare user input to defined predicate I am trying to create a "Who Is It" game (person guessing part). I would like to check if user input equals the value/person that is saved in a predicate. B...
Compare user input to defined predicate Compare user input to defined predicate prolog Compare chosen_character Possible Input COMPARES RETURNS NAME CORRECT GUESS AGAIN new_character Ans random_between N-1 Compare user input to defined predicate I am trying to create a "Who Is It" game (person guessing part). I would l...
[ -0.0299072265625, -0.0142822265625, 0.0211181640625, 0.0068359375, 0.004302978515625, 0.021484375, -0.005401611328125, -0.00445556640625, 0.0142822265625, -0.031982421875, 0.0081787109375, 0.021484375, -0.0038299560546875, -0.0031280517578125, 0.01202392578125, 0.0020599365234375, 0....
[ 113307, 13, 38937, 107730, 47, 61924, 71, 1653, 2063, 67, 502, 4867, 19667, 19, 9254, 2263, 115861, 360, 7077, 61898, 23711, 56943, 182512, 70555, 1052, 48153, 64397, 24639, 48026, 3525, 893, 96759, 4626, 1177, 541, 5759, 31577, 28282, 1456...
[ 0.231689453125, 0.083984375, 0.2047119140625, 0.252197265625, 0.125, 0.2098388671875, 0.0880126953125, 0.2034912109375, 0.253662109375, 0.10693359375, 0.1339111328125, 0.190673828125, 0.1240234375, 0.008453369140625, 0.060394287109375, 0.091064453125, 0.0963134765625, 0.080078125, ...
embed
14020217_c0
14020217
prolog
0
Title: How to get the next solution of a SWI-prolog query with QProcess? Problem title: How to get the next solution of a SWI-prolog query with QProcess? Tags: swi-prolog, qt, qprocess, prolog Problem: How to get the next solution of a SWI-prolog query with QProcess? I'm trying to combine SWI-prolog with QProcess. So I...
How to get the next solution of a SWI-prolog query with QProcess? How to get the next solution of a SWI-prolog query with QProcess? swi-prolog qt qprocess prolog readyReadStandardError readStdError How SWI-prolog QProcess SIGNAL SLOT p.setProcessChannelMode QProcess::MergedChannels p.start QIODevice::ReadWrite QIODevic...
[ 0.0025482177734375, 0.0128173828125, -0.000537872314453125, 0.0203857421875, -0.015380859375, -0.0042724609375, 0.01385498046875, -0.0220947265625, -0.007781982421875, -0.0556640625, 0.0235595703125, 0.01275634765625, -0.0206298828125, 0.005828857421875, -0.00592041015625, 0.0060119628...
[ 11249, 2046, 70, 11737, 29806, 159, 38969, 3454, 4867, 41, 1294, 678, 2396, 10752, 26531, 2452, 8096, 18, 63923, 502, 43542, 31345, 191769, 18468, 12301, 151657, 115447, 3509, 9083, 30248, 127008, 17137, 17780, 20375, 123759, 634, 126597, 155...
[ 0.045257568359375, 0.1014404296875, 0.0277557373046875, 0.1761474609375, 0.1925048828125, 0.0364990234375, 0.219970703125, 0.1085205078125, 0.1968994140625, 0.1077880859375, 0.0662841796875, 0.083251953125, 0.12548828125, 0.15625, 0.1771240234375, 0.169677734375, 0.06011962890625, ...
embed
17133256_c1
17133256
prolog
1
4, bird, penguin,[c18, c20, c19]). rule(15, bird, albatross, [c21]). /* Recognition process : discover animal's name */ recognition(X):- rule(N, X, Y, Z), discover(Z), found(rule), conclusion(X,Y,N), recognition(Y), retractall(fact(_,_)). recognition(_):- retract(rule), write('Done.'),nl. recognition(_):- write('Don"t ...
4, bird, penguin,[c18, c20, c19]). rule(15, bird, albatross, [c21]). /* Recognition process : discover animal's name */ recognition(X):- rule(N, X, Y, Z), discover(Z), found(rule), conclusion(X,Y,N), recognition(Y), retractall(fact(_,_)). recognition(_):- retract(rule), write('Done.'),nl. recognition(_):- write('Don"t ...
[ 0.00677490234375, 0.01092529296875, 0.00567626953125, 0.050537109375, 0.01373291015625, 0.011962890625, -0.014404296875, 0.01300048828125, 0.0031585693359375, -0.017578125, -0.0032196044921875, -0.007720947265625, -0.010986328125, -0.0146484375, 0.020263671875, -0.025390625, 0.014709...
[ 201, 4, 263, 71, 59552, 73, 238, 1819, 1549, 2947, 268, 194, 79986, 1837, 45491, 49042, 7, 3117, 1639, 853, 115558, 1363, 9433, 152, 103882, 26249, 25, 9351, 64, 230466, 1542, 2077, 839, 1193, 990, 567, 247, 1511, 14037, 882, 133, 931...
[ 0.2080078125, 0.0758056640625, 0.22802734375, 0.1488037109375, 0.2105712890625, 0.1640625, 0.00189208984375, 0.0791015625, 0.0654296875, 0.08026123046875, 0.001251220703125, 0.03839111328125, 0.22802734375, 0.1339111328125, 0.090576171875, 0.2059326171875, 0.011962890625, 0.0653076...
embed
24318684_c0
24318684
prolog
0
Title: Directed Multigraph, I have to calculate the sums of costs from node 1 to node 2 Problem title: Directed Multigraph, I have to calculate the sums of costs from node 1 to node 2 Tags: prolog Problem: Directed Multigraph, I have to calculate the sums of costs from node 1 to node 2 I'm making this topic cause I'm c...
Directed Multigraph, I have to calculate the sums of costs from node 1 to node 2 Directed Multigraph, I have to calculate the sums of costs from node 1 to node 2 prolog node Directed Multigraph Color Directed Multigraph, I have to calculate the sums of costs from node 1 to node 2 I'm making this topic cause I'm complet...
[ 0.00933837890625, 0.0164794921875, -0.01287841796875, 0.035888671875, -0.0003662109375, 0.020263671875, -0.0162353515625, 0.0201416015625, 0.00933837890625, -0.0400390625, -0.005767822265625, -0.01953125, 0.001800537109375, -0.000339508056640625, 0.0125732421875, 0.00933837890625, -0...
[ 42666, 297, 19335, 41382, 87, 765, 74481, 67, 10554, 7, 111, 84458, 1295, 110, 112, 106, 47, 116, 502, 4867, 51193, 64557, 72856, 25632, 121303, 11737, 880, 102, 33102, 541, 418, 26950, 438, 304, 787, 11034, 738, 615, 10576, 8951, 6024,...
[ 0.195556640625, 0.1002197265625, 0.1654052734375, 0.2265625, 0.019012451171875, 0.04559326171875, 0.17138671875, 0.053436279296875, 0.1654052734375, 0.058563232421875, 0.0771484375, 0.20654296875, 0.09735107421875, 0.1619873046875, 0.1224365234375, 0.0899658203125, 0.1109619140625, ...
embed
54751141_c0
54751141
prolog
0
Title: Prolog path backtracking runs forever depending on grid size Problem title: Prolog path backtracking runs forever depending on grid size Tags: wumpus-world, prolog Problem: Prolog path backtracking runs forever depending on grid size I've written some code to do backtracking in Prolog that generates all the poss...
Prolog path backtracking runs forever depending on grid size Prolog path backtracking runs forever depending on grid size wumpus-world prolog Prolog Positions Visited Path Left Right Down Prolog path backtracking runs forever depending on grid size I've written some code to do backtracking in Prolog that generates all ...
[ 0.017578125, 0.01300048828125, 0.0062255859375, -0.00013637542724609375, -0.005340576171875, -0.00167083740234375, 0.007049560546875, 0.0042724609375, 0.011962890625, -0.035400390625, 0.0135498046875, 0.0303955078125, -0.009521484375, 0.01483154296875, 0.0225830078125, 0.00448608398437...
[ 1250, 4867, 60875, 4420, 125728, 214, 127877, 136993, 96819, 120067, 13267, 316, 7332, 32554, 502, 99428, 98684, 108421, 90911, 49472, 59121, 18151, 139392, 756, 7722, 58359, 18217, 38750, 61475, 46825, 107730, 2046, 43512, 683, 10519, 7, 22288...
[ 0.153076171875, 0.2445068359375, 0.23876953125, 0.175537109375, 0.251953125, 0.10107421875, 0.08544921875, 0.1505126953125, 0.1092529296875, 0.186767578125, 0.1497802734375, 0.037750244140625, 0.1680908203125, 0.08392333984375, 0.0880126953125, 0.1063232421875, 0.09881591796875, 0....
embed
44661508_c0
44661508
prolog
0
Title: Prolog solve Sudoku Problem title: Prolog solve Sudoku Tags: constraint-programming, clpfd, prolog, sudoku, swi-prolog Problem: Prolog solve Sudoku I'm rather new at Prolog and found this example on swi-prolog.org to solve a sudoku. But I can't run it. I looked up same_length and there is only same_length/2 not ...
Prolog solve Sudoku Prolog solve Sudoku constraint-programming clpfd prolog sudoku swi-prolog assert/1 Prolog Sudoku same_length all_distinct ERROR sudoku.pl:5:10 Syntax Operator Warning Name Arity sudoku.pl:16:8 use_module Rows Columns Ns1 Ns2 Ns3 Prolog solve Sudoku I'm rather new at Prolog and found this example on ...
[ 0.00555419921875, 0.01190185546875, 0.02978515625, 0.00555419921875, -0.013427734375, -0.004119873046875, -0.017578125, 0.007232666015625, -0.004302978515625, -0.037841796875, -0.0072021484375, -0.01513671875, 0.0069580078125, 0.00150299072265625, -0.0157470703125, 0.016357421875, 0....
[ 1250, 4867, 86869, 15334, 38067, 158, 2816, 4288, 28966, 39557, 71, 502, 8932, 2452, 3454, 33657, 11583, 5701, 23986, 756, 46295, 38893, 151206, 24638, 2424, 758, 15110, 19010, 86531, 150922, 5550, 592, 1172, 2481, 22354, 1019, 4527, 83279, ...
[ 0.1944580078125, 0.253662109375, 0.1512451171875, 0.168212890625, 0.240966796875, 0.00341796875, 0.131103515625, 0.043060302734375, 0.07952880859375, 0.010162353515625, 0.06463623046875, 0.111572265625, 0.142578125, 0.1246337890625, 0.096923828125, 0.109130859375, 0.07537841796875, ...
embed
51311377_c0
51311377
prolog
0
Title: Prolog program structure for constraint solution analysis Problem title: Prolog program structure for constraint solution analysis Tags: constraint-programming, prolog, constraints Problem: Prolog program structure for constraint solution analysis I have a SWI-PROLOG program with the following structure: % vario...
Prolog program structure for constraint solution analysis Prolog program structure for constraint solution analysis constraint-programming prolog constraints Prolog condition1 condition2 Interesting_var Prolog program structure for constraint solution analysis I have a SWI-PROLOG program with the following structure: T...
[ 0.01556396484375, -0.01239013671875, 0.00225830078125, 0.01361083984375, 0.004547119140625, 0.01519775390625, -0.005035400390625, 0.00592041015625, 0.006561279296875, -0.04248046875, -0.005889892578125, 0.00035858154296875, -0.01434326171875, -0.014892578125, 0.0169677734375, 0.0145263...
[ 1250, 4867, 1528, 45646, 100, 158, 2816, 4288, 29806, 114137, 28966, 502, 35431, 418, 304, 66348, 1916, 1961, 765, 159, 38969, 9, 47970, 47510, 25632, 3115, 814, 43240, 31635, 4271, 209, 94131, 7413, 5941, 35166, 831, 46312, 4358, 839, 28...
[ 0.2034912109375, 0.264404296875, 0.1895751953125, 0.208740234375, 0.019561767578125, 0.1138916015625, 0.190185546875, 0.1241455078125, 0.147705078125, 0.171142578125, 0.1019287109375, 0.1341552734375, 0.1676025390625, 0.04193115234375, 0.08758544921875, 0.1373291015625, 0.12438964843...
embed
76498625_c1
76498625
prolog
1
Disponibili), trim_whitespace(AutoreDB, AutoreDBTrimmed), downcase_atom(AutoreDBTrimmed, AutoreDBMinuscolo), sub_string(AutoreDBMinuscolo, _, _, _, AutoreMinuscolo) ), Libri), debug(cerca_libri, 'Libri trovati: ~w', [Libri]). % Predicati per prendere in prestito un libro o restituire un libro prendiInPrestito(Utente, T...
Disponibili), trim_whitespace(AutoreDB, AutoreDBTrimmed), downcase_atom(AutoreDBTrimmed, AutoreDBMinuscolo), sub_string(AutoreDBMinuscolo, _, _, _, AutoreMinuscolo) ), Libri), debug(cerca_libri, 'Libri trovati: ~w', [Libri]). % Predicati per prendere in prestito un libro o restituire un libro prendiInPrestito(Utente, T...
[ -0.005340576171875, 0.004730224609375, -0.00008392333984375, 0.028564453125, -0.01507568359375, -0.0018310546875, -0.006134033203125, 0.0181884765625, 0.009521484375, -0.042236328125, 0.019287109375, -0.00213623046875, 0.00089263916015625, -0.003173828125, 0.018310546875, 0.01062011718...
[ 237374, 85247, 148477, 65421, 38115, 107, 39463, 11328, 13, 74257, 39, 4806, 7565, 58437, 5928, 169929, 22796, 1614, 91693, 7, 119304, 8, 85779, 87358, 179487, 104820, 19647, 434, 1745, 7145, 2063, 118, 117, 68716, 82796, 7750, 36, 61460, 2...
[ 0.294921875, 0.1871337890625, 0.0777587890625, 0.2059326171875, 0.1048583984375, 0.1162109375, 0.201416015625, 0.11865234375, 0.056243896484375, 0.0723876953125, 0.058197021484375, 0.11279296875, 0.08880615234375, 0.1455078125, 0.1326904296875, 0.06878662109375, 0.0987548828125, 0....
embed
33922138_c0
33922138
prolog
0
Title: Search Game in Prolog Problem title: Search Game in Prolog Tags: search, prolog, artificial-intelligence Problem: Search Game in Prolog I was wondering if someone can help me, I have done a lot of work on the 8 Piece puzzle program, and now I want to stretch this out, however I am struggling. So here is the boar...
Search Game in Prolog Search Game in Prolog search prolog artificial-intelligence Search Game Prolog Search Game in Prolog I was wondering if someone can help me, I have done a lot of work on the 8 Piece puzzle program, and now I want to stretch this out, however I am struggling. So here is the board. The idea of this ...
[ 0.00830078125, 0.0157470703125, 0.01220703125, 0.0120849609375, -0.0196533203125, 0.014892578125, -0.0167236328125, 0.0011138916015625, 0.00848388671875, -0.044677734375, -0.003448486328125, 0.0283203125, 0.006378173828125, -0.00087738037109375, -0.018310546875, -0.0091552734375, 0.0...
[ 33086, 13547, 23, 1250, 4867, 33938, 502, 66733, 130687, 149016, 4358, 5915, 4488, 382, 10374, 329, 104192, 1528, 3444, 115851, 49903, 237875, 45443, 6528, 9790, 2046, 63847, 436, 418, 82424, 3332, 86675, 10, 3564, 1257, 876, 190, 3789, 126...
[ 0.224365234375, 0.1468505859375, 0.0697021484375, 0.1751708984375, 0.22998046875, 0.1690673828125, 0.12158203125, 0.0660400390625, 0.080322265625, 0.013671875, 0.05511474609375, 0.040283203125, 0.02447509765625, 0.1282958984375, 0.0875244140625, 0.012451171875, 0.1580810546875, 0.0...
embed
6100583_c0
6100583
prolog
0
Title: Using a Prolog DCG to split a string Problem title: Using a Prolog DCG to split a string Tags: dcg, grammar, prolog Problem: Using a Prolog DCG to split a string I'm trying to use a DCG to split a string into two parts separated by spaces. E.g. 'abc def' should give me back "abc" & "def". The program & DCG are b...
Using a Prolog DCG to split a string Using a Prolog DCG to split a string dcg grammar prolog Using Prolog DCG read_line_to_codes current_input Codes end_of_file Part1 Part2 Didn code_type Arguments Using a Prolog DCG to split a string I'm trying to use a DCG to split a string into two parts separated by spaces. E.g. 'a...
[ 0.00439453125, -0.006195068359375, -0.01019287109375, 0.03369140625, -0.01251220703125, 0.0233154296875, 0.01025390625, -0.014404296875, 0.004974365234375, -0.04443359375, -0.0001926422119140625, -0.0189208984375, -0.0299072265625, -0.010986328125, 0.01324462890625, 0.00958251953125, ...
[ 345, 1250, 4867, 391, 56367, 65450, 79315, 47, 104, 238, 177, 122092, 147, 502, 12301, 2256, 188, 40899, 43581, 28864, 3564, 4390, 29822, 16995, 418, 304, 18151, 50986, 112140, 31577, 4527, 3934, 6626, 63920, 84797, 32628, 2055, 8, 420, 4...
[ 0.0396728515625, 0.146240234375, 0.201416015625, 0.075927734375, 0.2210693359375, 0.1949462890625, 0.2059326171875, 0.004852294921875, 0.0316162109375, 0.052581787109375, 0.07843017578125, 0.0391845703125, 0.001251220703125, 0.10150146484375, 0.107421875, 0.0853271484375, 0.078125, ...
embed
27647635_c0
27647635
prolog
0
Title: What do Prolog implementations mean by "float"? Problem title: What do Prolog implementations mean by "float"? Tags: floating-point, iso-prolog, prolog Problem: What do Prolog implementations mean by "float"? I was looking through the SICStus manual's syntax description and there is a definit...
What do Prolog implementations mean by "float"? What do Prolog implementations mean by "float"? floating-point iso-prolog prolog What Prolog BigDecimal planck_float planck_float_descent Xhalf Xtest What do Prolog implementations mean by "float"? I was looking through the SICStus manual's syntax desc...
[ 0.0196533203125, 0.00439453125, 0.00555419921875, -0.01177978515625, -0.00177764892578125, 0.003814697265625, -0.00102996826171875, -0.0157470703125, -0.002227783203125, 0.0189208984375, 0.0125732421875, 0.015869140625, -0.040771484375, 0.00009870529174804688, 0.0115966796875, 0.009338...
[ 4865, 1250, 4867, 208124, 29459, 52347, 257, 390, 21917, 26518, 38496, 13882, 3454, 502, 14195, 4657, 318, 2749, 1774, 2594, 71, 150506, 4200, 420, 6954, 7, 159, 102198, 2143, 23009, 6002, 80934, 14585, 20653, 129969, 11001, 41929, 22619, 1...
[ 0.0230560302734375, 0.178466796875, 0.25244140625, 0.219482421875, 0.125, 0.2364501953125, 0.1944580078125, 0.0215301513671875, 0.1666259765625, 0.027862548828125, 0.07568359375, 0.0655517578125, 0.1058349609375, 0.1146240234375, 0.04736328125, 0.064697265625, 0.1007080078125, 0.09...
embed
20923073_c0
20923073
prolog
0
Title: "or" operator only gives back first statement Problem title: "or" operator only gives back first statement Tags: prolog Problem: "or" operator only gives back first statement I have the typical relationship example. m(thomas). m(leon). w(nina). born(thomas, nina, leon). born(Father, Mother, C...
"or" operator only gives back first statement "or" operator only gives back first statement prolog Father Mother Child Parent "or" operator only gives back first statement I have the typical relationship example. When I ask after parent, only the father will be listed: I want both parents: What can ...
[ 0.0177001953125, 0.0235595703125, 0.005584716796875, 0.003143310546875, -0.0267333984375, 0.0033416748046875, -0.01409912109375, 0.01080322265625, -0.004119873046875, -0.052978515625, 0.01025390625, -0.0216064453125, -0.0093994140625, 0.003387451171875, 0.0086669921875, 0.0064392089843...
[ 41502, 748, 1230, 39933, 4734, 76199, 4420, 5117, 63805, 502, 4867, 160960, 115217, 123829, 170918, 222201, 76755, 27781, 26458, 7103, 49129, 70, 67373, 186, 145870, 3444, 15044, 27863, 831, 54, 2967, 707, 3638, 103122, 18113, 18151, 40956, 3...
[ 0.10430908203125, 0.259033203125, 0.09619140625, 0.27294921875, 0.148193359375, 0.0751953125, 0.1671142578125, 0.1607666015625, 0.237548828125, 0.1370849609375, 0.191650390625, 0.14990234375, 0.1104736328125, 0.146484375, 0.192138671875, 0.0791015625, 0.15234375, 0.1212158203125, ...
embed
4012185_c0
4012185
prolog
0
Title: GNU Prolog - Build up a list in a loop Problem title: GNU Prolog - Build up a list in a loop Tags: prolog, list Problem: GNU Prolog - Build up a list in a loop I need to build a new list with a "loop". Basically i can't use recursion explicitly, so i am using append to go through lists of list. I can get the ele...
GNU Prolog - Build up a list in a loop GNU Prolog - Build up a list in a loop prolog list GNU Prolog Build Row Col Bin TheEntry Bout ListLeft ListLeft2 LenR LenC CurrRow CurrCol NewC GNU Prolog - Build up a list in a loop I need to build a new list with a "loop". Basically i can't use recursion explicitly, so i am usin...
[ 0.01116943359375, 0.007354736328125, 0.01953125, 0.0233154296875, 0.000659942626953125, 0.00653076171875, 0.00445556640625, 0.02490234375, 0.0390625, 0.01068115234375, 0.0220947265625, -0.0067138671875, -0.01123046875, 0.00604248046875, 0.0009613037109375, -0.0022735595703125, 0.0191...
[ 165132, 1250, 4867, 121137, 1257, 5303, 23, 10, 40956, 502, 96190, 11554, 16666, 581, 7768, 15123, 31649, 32036, 2480, 304, 18226, 1052, 441, 12724, 78457, 2356, 87, 3871, 45367, 3525, 678, 28354, 831, 4527, 195625, 1830, 143726, 17368, 114...
[ 0.1754150390625, 0.172119140625, 0.2310791015625, 0.16748046875, 0.1563720703125, 0.2222900390625, 0.1124267578125, 0.053466796875, 0.25048828125, 0.125732421875, 0.2041015625, 0.09442138671875, 0.1417236328125, 0.053863525390625, 0.06097412109375, 0.066650390625, 0.03851318359375, ...
embed
20315106_c0
20315106
prolog
0
Title: Prolog: Trouble sorting a list Problem title: Prolog: Trouble sorting a list Tags: failure-slice, prolog Problem: Prolog: Trouble sorting a list I have a list like this that I am trying to sort: [(tim,3),(tom,4),(jane,2),(mary,3)] I want to rearrange it so it orders in descending numbers: [(tom,4),(mary,3),(tim,...
Prolog: Trouble sorting a list Prolog: Trouble sorting a list failure-slice prolog Prolog Trouble Name Number List NewList Extracted Unsorted Sorted HighestNumber ExtractedList Counter Prolog: Trouble sorting a list I have a list like this that I am trying to sort: I want to rearrange it so it orders in descending numb...
[ 0.0150146484375, 0.0125732421875, 0.0164794921875, -0.01275634765625, -0.01708984375, 0.003570556640625, -0.00494384765625, -0.011474609375, 0.0146484375, -0.010498046875, 0.003631591796875, 0.002349853515625, -0.0103759765625, 0.00089263916015625, 0.019287109375, -0.00518798828125, ...
[ 1250, 4867, 12, 119671, 2661, 12096, 214, 5303, 137578, 13348, 502, 15757, 103332, 32036, 2356, 154663, 31501, 89829, 992, 62351, 53666, 19694, 525, 18444, 26278, 197956, 10, 765, 1884, 903, 31577, 3444, 456, 147, 94250, 221, 12989, 60887, ...
[ 0.177978515625, 0.2320556640625, 0.015625, 0.18310546875, 0.14404296875, 0.2431640625, 0.06011962890625, 0.2119140625, 0.1912841796875, 0.1370849609375, 0.1246337890625, 0.06890869140625, 0.0966796875, 0.17626953125, 0.0926513671875, 0.171630859375, 0.1181640625, 0.049346923828125,...
embed
15482674_c0
15482674
prolog
0
Title: SWI-Prolog: "Undefined procedure" error Problem title: SWI-Prolog: "Undefined procedure" error Tags: prolog Problem: SWI-Prolog: "Undefined procedure" error I'm having trouble to solve a Learn Prolog Now excercise (the last one in this page ). To make it short: there's a bunch of facts with t...
SWI-Prolog: "Undefined procedure" error SWI-Prolog: "Undefined procedure" error prolog SWI-Prolog Undefined Go2 Go1 Error SWI-Prolog: "Undefined procedure" error I'm having trouble to solve a Learn Prolog Now excercise (the last one in this page ). To make it short: there's a bunch of facts with the...
[ 0.0269775390625, 0.0111083984375, 0.0118408203125, -0.0054931640625, -0.025146484375, 0.00518798828125, -0.0081787109375, -0.01336669921875, 0.00604248046875, -0.038818359375, 0.00421142578125, 0.025146484375, -0.006927490234375, 0.0103759765625, 0.016357421875, -0.00396728515625, 0....
[ 159, 38969, 10752, 4867, 41502, 1062, 1067, 5983, 297, 50491, 18499, 9, 502, 79912, 2016, 304, 418, 212059, 63134, 86869, 134031, 1250, 14240, 1119, 3443, 318, 184, 4568, 16610, 147306, 15824, 9384, 1272, 21851, 23935, 3687, 10461, 28542, 1...
[ 0.07470703125, 0.2493896484375, 0.1763916015625, 0.233154296875, 0.0143585205078125, 0.053680419921875, 0.150146484375, 0.2218017578125, 0.076416015625, 0.216796875, 0.193115234375, 0.008636474609375, 0.1229248046875, 0.1107177734375, 0.1138916015625, 0.15087890625, 0.0684814453125, ...
embed
46944639_c0
46944639
prolog
0
Title: Prolog Ignoring Goal Ordering? Problem title: Prolog Ignoring Goal Ordering? Tags: prolog Problem: Prolog Ignoring Goal Ordering? I can't quite seem to wrap my head around some of the behaviour of prolog (gprolog). As some background, rotate is supposed to compare two lists and see if they have been shifted (As ...
Prolog Ignoring Goal Ordering? Prolog Ignoring Goal Ordering? prolog S Prolog Ignoring Goal Ordering list1 Len Ret Len1 Prolog Ignoring Goal Ordering? I can't quite seem to wrap my head around some of the behaviour of prolog (gprolog). As some background, rotate is supposed to compare two lists and see if they have bee...
[ 0.016845703125, 0.0184326171875, 0.019287109375, -0.0172119140625, -0.0184326171875, -0.01092529296875, -0.0108642578125, -0.014892578125, 0.006256103515625, 0.0191650390625, 0.00860595703125, 0.005706787109375, -0.017333984375, -0.024169921875, 0.0107421875, 0.0230712890625, 0.00695...
[ 1250, 4867, 87, 11137, 2852, 2016, 289, 81206, 214, 502, 159, 5303, 18226, 47131, 418, 224833, 3454, 76615, 47014, 67, 134598, 69101, 6626, 1957, 122925, 35064, 30646, 29568, 15072, 79986, 12989, 124962, 1653, 2063, 105237, 4420, 125728, 1295...
[ 0.1624755859375, 0.26806640625, 0.00616455078125, 0.154541015625, 0.042633056640625, 0.1761474609375, 0.13037109375, 0.240966796875, 0.1011962890625, 0.134765625, 0.0401611328125, 0.1533203125, 0.139404296875, 0.1319580078125, 0.04119873046875, 0.1141357421875, 0.14892578125, 0.160...
embed
66886941_c0
66886941
prolog
0
Title: Prolog number of nodes at a given depth in a tree Problem title: Prolog number of nodes at a given depth in a tree Tags: prolog, binary-tree, recursion Problem: Prolog number of nodes at a given depth in a tree I am new to Prolog. I am trying to write a predicate which returns the number of nodes of a binary tre...
Prolog number of nodes at a given depth in a tree Prolog number of nodes at a given depth in a tree prolog binary-tree recursion Prolog Prolog number of nodes at a given depth in a tree I am new to Prolog. I am trying to write a predicate which returns the number of nodes of a binary tree at a given depth in the tree. ...
[ 0.02587890625, -0.0029754638671875, 0.004913330078125, -0.012939453125, 0.0057373046875, 0.0294189453125, -0.01129150390625, -0.01531982421875, 0.00994873046875, -0.044189453125, -0.01495361328125, -0.0517578125, -0.006561279296875, 0.0023345947265625, 0.0247802734375, -0.0016174316406...
[ 1250, 4867, 14012, 110, 988, 99, 34475, 168867, 23, 53201, 502, 2394, 6635, 62600, 195625, 3525, 31577, 33022, 1653, 2063, 30646, 106, 757, 74855, 116, 138, 1031, 1528, 1360, 90, 33636, 237, 5303, 3173, 27494, 25737, 206, 38472, 7108, 200...
[ 0.1829833984375, 0.234130859375, 0.118896484375, 0.183349609375, 0.1793212890625, 0.0341796875, 0.074951171875, 0.262939453125, 0.0587158203125, 0.20654296875, 0.1309814453125, 0.1485595703125, 0.08636474609375, 0.2039794921875, 0.160888671875, 0.007537841796875, 0.0264129638671875, ...
embed
41053981_c0
41053981
prolog
0
Title: Query Prolog Module through JPL Problem title: Query Prolog Module through JPL Tags: jpl, java, swi-prolog, prolog Problem: Query Prolog Module through JPL I am trying to query a dynamic module of a prolog file using JPL. Thanks to this question( how to consult file as a module in jpl ) I was able to consult, as...
Query Prolog Module through JPL Query Prolog Module through JPL jpl java swi-prolog prolog Query Prolog Module JPL mod1 fact.toString mod1:consult mod1:legal Move mod1:next Role Action mod1:predicate_property predicate_property built_in number_of_clauses Query Prolog Module through JPL I am trying to query a dynamic mo...
[ 0.02734375, 0.0162353515625, 0.0037689208984375, 0.021240234375, -0.01153564453125, 0.004058837890625, 0.001617431640625, 0.0033111572265625, 0.005615234375, -0.0517578125, -0.003997802734375, 0.00445556640625, -0.017333984375, -0.030517578125, -0.00909423828125, 0.01806640625, 0.004...
[ 58836, 53, 1250, 4867, 63014, 8305, 821, 21130, 1647, 2424, 79, 330, 2452, 3454, 502, 2811, 418, 15824, 188, 71713, 82825, 147834, 86966, 135828, 29062, 2777, 57945, 19714, 2063, 36290, 56, 1653, 88303, 14012, 18347, 31577, 41, 1294, 84079,...
[ 0.1650390625, 0.1268310546875, 0.196044921875, 0.260009765625, 0.195068359375, 0.092529296875, 0.1412353515625, 0.249267578125, 0.0841064453125, 0.2132568359375, 0.06597900390625, 0.129150390625, 0.1129150390625, 0.1248779296875, 0.1400146484375, 0.1314697265625, 0.047821044921875, ...
embed
16791352_c0
16791352
prolog
0
Title: Prolog recursive predicate overwriting return values Problem title: Prolog recursive predicate overwriting return values Tags: prolog, recursion Problem: Prolog recursive predicate overwriting return values I have a recursive predicate: something(A, Object, Value, Complete) :- member(Value, Complete), Object = V...
Prolog recursive predicate overwriting return values Prolog recursive predicate overwriting return values prolog recursion Prolog Object Value Complete Predicates NewObject obj1 obj2 Prolog recursive predicate overwriting return values I have a recursive predicate: The function of this predicate is to iterate through a...
[ 0.012451171875, -0.011962890625, -0.005523681640625, 0.01055908203125, 0.00064849853515625, 0.014404296875, 0.00396728515625, 0.00004124641418457031, 0.016845703125, -0.012939453125, 0.00433349609375, -0.004791259765625, -0.0036773681640625, -0.01263427734375, 0.035400390625, -0.027221...
[ 1250, 4867, 195625, 5844, 1653, 2063, 645, 199332, 30646, 142424, 502, 134549, 190060, 168318, 7145, 2356, 46471, 75161, 995, 170, 418, 304, 67, 32354, 8560, 8305, 756, 15824, 62775, 140992, 50339, 12638, 34955, 36746, 31089, 19441, 2046, 242...
[ 0.1541748046875, 0.203857421875, 0.23486328125, 0.1104736328125, 0.1790771484375, 0.217529296875, 0.138916015625, 0.2265625, 0.250732421875, 0.1788330078125, 0.1209716796875, 0.21826171875, 0.1546630859375, 0.104248046875, 0.1561279296875, 0.03997802734375, 0.091064453125, 0.099731...
embed
24630245_c0
24630245
prolog
0
Title: How to solve 15-puzzle paradigm in Prolog with Manhattan & Hamming Heuristics Problem title: How to solve 15-puzzle paradigm in Prolog with Manhattan & Hamming Heuristics Tags: sliding-tile-puzzle, a-star, heuristics, prolog, search Problem: How to solve 15-puzzle paradigm in Prolog with Manhattan & Hamm...
How to solve 15-puzzle paradigm in Prolog with Manhattan & Hamming Heuristics How to solve 15-puzzle paradigm in Prolog with Manhattan & Hamming Heuristics sliding-tile-puzzle a-star heuristics prolog search How Prolog Manhattan Hamming Heuristics Estado MovimientosSolucion Profundidad Coste Sucesores ListaAbie...
[ -0.0103759765625, -0.013427734375, -0.0145263671875, 0.003875732421875, -0.0191650390625, -0.0010528564453125, -0.019775390625, 0.00151824951171875, -0.00023174285888671875, -0.0458984375, 0.0230712890625, 0.00421142578125, 0.0081787109375, 0.00714111328125, 0.003753662109375, -0.02209...
[ 11249, 47, 86869, 17659, 1766, 13894, 133, 214709, 23, 1250, 4867, 678, 147037, 25133, 1391, 58838, 1529, 62210, 41637, 132692, 214, 44555, 10, 5613, 764, 502, 33938, 12383, 276, 515, 65511, 102588, 25018, 63099, 103544, 50085, 363, 329, 28...
[ 0.0889892578125, 0.04998779296875, 0.192138671875, 0.250244140625, 0.1239013671875, 0.150634765625, 0.1263427734375, 0.2349853515625, 0.032928466796875, 0.1744384765625, 0.2493896484375, 0.07568359375, 0.2275390625, 0.059539794921875, 0.1661376953125, 0.2193603515625, 0.057861328125,...
embed
63649336_c0
63649336
prolog
0
Title: Prolog - How to set timestamp as an argument in a predicate? Problem title: Prolog - How to set timestamp as an argument in a predicate? Tags: swi-prolog, prolog Problem: Prolog - How to set timestamp as an argument in a predicate? Is there any way to use get_time(T) [which is built-in function] as an argument w...
Prolog - How to set timestamp as an argument in a predicate? Prolog - How to set timestamp as an argument in a predicate? swi-prolog prolog Prolog How start_interval get_time Warning pl:6 Singleton Welcome SWI-Prolog ABSOLUTELY WARRANTY Please www.swi-prolog.org Topic Word Prolog - How to set timestamp as an argument i...
[ -0.002166748046875, -0.0045166015625, 0.038818359375, 0.01275634765625, -0.005767822265625, -0.0223388671875, -0.0108642578125, 0.01806640625, -0.003509521484375, -0.055908203125, 0.01806640625, 0.0274658203125, -0.02880859375, -0.0034027099609375, 0.0145263671875, -0.01275634765625, ...
[ 1250, 4867, 11249, 5423, 1733, 590, 2676, 237, 10750, 1653, 2063, 67, 2452, 3454, 502, 4034, 10433, 1405, 2046, 6032, 43609, 1507, 91334, 38969, 10752, 30174, 134912, 22543, 23, 3917, 4527, 618, 88303, 32354, 33657, 3525, 15824, 47, 57976, ...
[ 0.1385498046875, 0.23291015625, 0.06634521484375, 0.1539306640625, 0.1385498046875, 0.2056884765625, 0.2020263671875, 0.070556640625, 0.2724609375, 0.10040283203125, 0.1805419921875, 0.08056640625, 0.116455078125, 0.064697265625, 0.05126953125, 0.136962890625, 0.1187744140625, 0.13...
embed
67851263_c0
67851263
prolog
0
Title: Prolog Flow Free solver Problem title: Prolog Flow Free solver Tags: prolog-toplevel, prolog, swi-prolog Problem: Prolog Flow Free solver I'm completely new to Prolog and working on a homework assignment My program is supposed to solve flow free problem using depth first, I don't need the whole code for it as it...
Prolog Flow Free solver Prolog Flow Free solver prolog-toplevel prolog swi-prolog Prolog Flow Free move_right move_Left move_Up move_Down Prolog Flow Free solver I'm completely new to Prolog and working on a homework assignment My program is supposed to solve flow free problem using depth first, I don't need the whole ...
[ 0.01434326171875, 0.00628662109375, 0.004974365234375, 0.0084228515625, -0.0201416015625, -0.0003910064697265625, -0.0146484375, 0.01025390625, 0.00238037109375, -0.032958984375, -0.006591796875, -0.006317138671875, -0.001983642578125, 0.01312255859375, -0.0123291015625, -0.01324462890...
[ 1250, 4867, 563, 17336, 5153, 3115, 814, 502, 13784, 67919, 2452, 3454, 25813, 54969, 2480, 53234, 8331, 7710, 64557, 3525, 20697, 5368, 18244, 95486, 1528, 134598, 86869, 86608, 4092, 2967, 17368, 168867, 5117, 18151, 3714, 3642, 5351, 63920...
[ 0.1683349609375, 0.25341796875, 0.059417724609375, 0.24755859375, 0.214599609375, 0.15576171875, 0.11279296875, 0.1326904296875, 0.05010986328125, 0.1292724609375, 0.125244140625, 0.0885009765625, 0.1868896484375, 0.1348876953125, 0.07080078125, 0.104736328125, 0.0855712890625, 0.0...
embed
47079149_c0
47079149
prolog
0
Title: Replace element in list of list that contains list in Prolog Problem title: Replace element in list of list that contains list in Prolog Tags: replace, prolog, matrix, list, element Problem: Replace element in list of list that contains list in Prolog I have done some search and tried many appends that I saw in ...
Replace element in list of list that contains list in Prolog Replace element in list of list that contains list in Prolog replace prolog matrix list element Replace Prolog Replace element in list of list that contains list in Prolog I have done some search and tried many appends that I saw in some questions of stackove...
[ -0.0186767578125, 0.01300048828125, 0.0206298828125, 0.014404296875, 0.002471923828125, -0.00628662109375, -0.018310546875, 0.01446533203125, 0.00946044921875, 0.024658203125, -0.0023956298828125, 0.005279541015625, -0.007598876953125, -0.01171875, 0.000583648681640625, -0.007690429687...
[ 853, 23935, 12830, 23, 5303, 111, 450, 70541, 7, 1250, 4867, 91995, 502, 50944, 425, 114689, 177261, 86869, 2967, 39555, 1286, 46132, 133266, 80854, 10514, 47510, 2646, 194234, 3871, 55300, 1632, 101935, 678, 3525, 30646, 756, 34292, 53299, ...
[ 0.08233642578125, 0.1895751953125, 0.2054443359375, 0.035736083984375, 0.2127685546875, 0.047393798828125, 0.018157958984375, 0.153564453125, 0.04266357421875, 0.1644287109375, 0.2412109375, 0.214111328125, 0.145263671875, 0.1806640625, 0.038909912109375, 0.080810546875, 0.0311279296...
embed
36966024_c1
36966024
prolog
1
, []). run :- http_server(http_dispatch, [port(8080)]). upload_form(_Request) :- reply_html_page( title('Upload a file'), [ h1('Upload a file'), form([ method('POST'), action(location_by_id(upload)), enctype('multipart/form-data') ], table([], [ tr([td(input([type(file), name(file)]))]), tr([td(align(right), input([typ...
, []). run :- http_server(http_dispatch, [port(8080)]). upload_form(_Request) :- reply_html_page( title('Upload a file'), [ h1('Upload a file'), form([ method('POST'), action(location_by_id(upload)), enctype('multipart/form-data') ], table([], [ tr([td(input([type(file), name(file)]))]), tr([td(align(right), input([typ...
[ 0.0194091796875, 0.00628662109375, 0.007171630859375, -0.00653076171875, -0.01434326171875, 0.0220947265625, 0.01251220703125, 0.007568359375, -0.0025482177734375, -0.03857421875, 0.0299072265625, 0.0252685546875, -0.015869140625, 0.0267333984375, 0.007232666015625, 0.0091552734375, ...
[ 4, 194, 11675, 15772, 1621, 39642, 5475, 3827, 4453, 6982, 4836, 111256, 70622, 5037, 4332, 75616, 75836, 7693, 22469, 44759, 53234, 63033, 11435, 418, 3173, 55300, 34274, 22631, 87632, 94835, 50986, 144227, 17365, 10135, 23180, 4307, 29822, ...
[ 0.00567626953125, 0.036041259765625, 0.1446533203125, 0.08990478515625, 0.177734375, 0.126220703125, 0.16796875, 0.007537841796875, 0.13427734375, 0.1473388671875, 0.0562744140625, 0.125, 0.2491455078125, 0.23974609375, 0.0999755859375, 0.2080078125, 0.1524658203125, 0.088989257812...
embed
38688356_c1
38688356
prolog
1
:- findall(F,person_ate(P,F, _, _),F). %. person_ate_types(P, _,T, _) :- findall(T,person_ate(P, _,T, _),T). %. person_ate_prices(P, _, _,M) :- findall(M,person_ate(P, _, _,M),M). I also have these 3 rules that tell me wether a fruit is cheap or expensive or if it is "middle priced". cheap_fruit(FId, F, T, M) :- fruit...
:- findall(F,person_ate(P,F, _, _),F). %. person_ate_types(P, _,T, _) :- findall(T,person_ate(P, _,T, _),T). %. person_ate_prices(P, _, _,M) :- findall(M,person_ate(P, _, _,M),M). I also have these 3 rules that tell me wether a fruit is cheap or expensive or if it is "middle priced". cheap_fruit(FId, F, T, M) :- fruit...
[ 0.0169677734375, 0.00860595703125, -0.01019287109375, 0.01544189453125, -0.00885009765625, 0.003082275390625, -0.0052490234375, 0.0087890625, 0.01080322265625, -0.0191650390625, -0.0218505859375, -0.001495361328125, 0.0113525390625, 0.00311279296875, 0.0235595703125, -0.0166015625, 0...
[ 15772, 7413, 5584, 919, 30816, 2182, 683, 101, 69130, 3445, 50986, 618, 5293, 5170, 594, 6097, 138, 91736, 14192, 163, 9319, 41896, 64720, 707, 135587, 22000, 19298, 27167, 23129, 217, 22724, 71, 563, 384, 4, 276, 2289, 6281, 86991, 329, ...
[ 0.08709716796875, 0.1802978515625, 0.2255859375, 0.1448974609375, 0.1500244140625, 0.1871337890625, 0.10107421875, 0.0323486328125, 0.1060791015625, 0.1383056640625, 0.215576171875, 0.07489013671875, 0.1400146484375, 0.018524169921875, 0.06524658203125, 0.00994873046875, 0.1092529296...
embed
32672913_c0
32672913
prolog
0
Title: Prolog - generate crosswords Problem title: Prolog - generate crosswords Tags: crossword, prolog Problem: Prolog - generate crosswords I'm facing this difficult exercise, I already saw other exercises about crosswords (i.e. the last exercise of "p-99: ninety-nine prolog programs", or the one reported in "Prolog ...
Prolog - generate crosswords Prolog - generate crosswords crossword prolog Prolog insert_words clpfd:transpose Traspose Uacc add_white Udef add_black Puzzle Row Used Word R-L atom_chars Word2 Row2 Used2 Uacc2 Black Black2 split2 Sep Left Rest Right _Sep Prolog - generate crosswords I'm facing this difficult exercise, I...
[ 0.014404296875, 0.000598907470703125, 0.006591796875, 0.003875732421875, -0.009033203125, -0.005615234375, -0.000957489013671875, -0.0034332275390625, -0.00836181640625, -0.0111083984375, 0.00482177734375, 0.00823974609375, -0.005645751953125, 0.003936767578125, -0.0303955078125, 0.014...
[ 1250, 4867, 139392, 41421, 47416, 7, 502, 183540, 71, 30145, 78381, 35792, 345, 10060, 15190, 148477, 10445, 4240, 151675, 179277, 96190, 22543, 627, 9, 866, 34627, 9254, 304, 10074, 65450, 21693, 2480, 49756, 90911, 4233, 254, 7808, 34844, ...
[ 0.1763916015625, 0.243896484375, 0.2152099609375, 0.12890625, 0.1939697265625, 0.003204345703125, 0.132080078125, 0.1304931640625, 0.0120849609375, 0.114501953125, 0.146484375, 0.1104736328125, 0.033599853515625, 0.08349609375, 0.09814453125, 0.129150390625, 0.00567626953125, 0.143...
embed
14373393_c0
14373393
prolog
0
Title: Newbie: Unable to trace Free variable in expression error. Prolog Programming Problem title: Newbie: Unable to trace Free variable in expression error. Prolog Programming Tags: prolog, turbo-prolog Problem: Newbie: Unable to trace Free variable in expression error. Prolog Programming Just started programming in ...
Newbie: Unable to trace Free variable in expression error. Prolog Programming Newbie: Unable to trace Free variable in expression error. Prolog Programming prolog turbo-prolog Newbie Unable Free Prolog Programming Newbie: Unable to trace Free variable in expression error. Prolog Programming Just started programming in ...
[ 0.0103759765625, -0.00286865234375, 0.015869140625, 0.0029754638671875, -0.012939453125, 0.0034637451171875, 0.003936767578125, 0.0172119140625, 0.002532958984375, -0.01324462890625, 0.00102996826171875, -0.0028076171875, 0.014892578125, 0.00665283203125, 0.005645751953125, 0.013671875...
[ 2356, 9014, 992, 2886, 144851, 5153, 77336, 125195, 18499, 1250, 4867, 27958, 23, 502, 94779, 3454, 26859, 56037, 24941, 70731, 31577, 26458, 9655, 141377, 99, 1193, 4426, 2740, 1723, 13315, 51, 47, 2967, 18151 ]
[ 0.042572021484375, 0.128662109375, 0.0260772705078125, 0.1572265625, 0.1893310546875, 0.1962890625, 0.2578125, 0.2288818359375, 0.1505126953125, 0.1298828125, 0.2359619140625, 0.09246826171875, 0.0239715576171875, 0.0699462890625, 0.1304931640625, 0.07318115234375, 0.01385498046875, ...
embed
27341497_c0
27341497
prolog
0
Title: Prolog Pathfinding with Prioritisation Problem title: Prolog Pathfinding with Prioritisation Tags: prolog, path-finding Problem: Prolog Pathfinding with Prioritisation I have an assignment to write a Prolog program that lists paths between two Underground (subway) stations, but it should favour the paths with le...
Prolog Pathfinding with Prioritisation Prolog Pathfinding with Prioritisation prolog path-finding Prolog Pathfinding Prioritisation Directions Lines_Visited _______________ Prolog Pathfinding with Prioritisation I have an assignment to write a Prolog program that lists paths between two Underground (subway) stations, b...
[ 0.00994873046875, 0.009033203125, 0.007415771484375, -0.00372314453125, -0.01202392578125, -0.004852294921875, 0.004364013671875, -0.01123046875, 0.0196533203125, -0.057861328125, 0.025146484375, 0.033447265625, -0.013916015625, 0.005645751953125, -0.0025634765625, 0.003936767578125, ...
[ 1250, 4867, 108421, 111607, 214, 678, 168857, 15032, 502, 60875, 176774, 16777, 65331, 95486, 674, 33022, 1528, 5303, 17721, 6626, 9626, 64330, 22144, 7514, 29398, 5608, 141775, 40715, 13315, 65572, 24765, 4989, 7722, 5701, 8108, 101089, 124519...
[ 0.1473388671875, 0.2198486328125, 0.171875, 0.16748046875, 0.007171630859375, 0.07568359375, 0.229248046875, 0.130859375, 0.10888671875, 0.197998046875, 0.1558837890625, 0.1336669921875, 0.0584716796875, 0.1033935546875, 0.035614013671875, 0.0474853515625, 0.08807373046875, 0.10180...
embed
42210074_c1
42210074
prolog
1
). treatdisease(L1,L2,Y):-symptoms(L1,Y),treatment(L2,Y). With the symptons predicate, I can visualize all the symptoms and the corresponding disease. And with the predicate treatdisease, I can see the treatment based on the disease common to the two bases. symptoms(L1,X):-disease(L1,X). treatdisease(L1,L2,Y):-symptoms...
). treatdisease(L1,L2,Y):-symptoms(L1,Y),treatment(L2,Y). With the symptons predicate, I can visualize all the symptoms and the corresponding disease. And with the predicate treatdisease, I can see the treatment based on the disease common to the two bases. symptoms(L1,X):-disease(L1,X). treatdisease(L1,L2,Y):-symptoms...
[ 0.0093994140625, -0.0135498046875, 0.01043701171875, 0.0213623046875, -0.0084228515625, 0.0130615234375, -0.01153564453125, -0.0052490234375, 0.00860595703125, -0.031982421875, 0.00897216796875, 0.03662109375, -0.0072021484375, 0.00274658203125, -0.021484375, -0.0021514892578125, 0.0...
[ 194, 85689, 3827, 13, 6991, 866, 418, 304, 1723, 2676, 5928, 2921, 257, 17106, 954, 67772, 1653, 2063, 67, 831, 21176, 20650, 756, 153698, 42518, 70997, 678, 1957, 39734, 35509, 39210, 6626, 51039, 1542, 69101, 42805, 5303, 1379, 538, 188...
[ 0.08502197265625, 0.22802734375, 0.0848388671875, 0.1058349609375, 0.1025390625, 0.054718017578125, 0.0592041015625, 0.1243896484375, 0.09295654296875, 0.0921630859375, 0.086181640625, 0.1339111328125, 0.12744140625, 0.05572509765625, 0.040252685546875, 0.13916015625, 0.2049560546875...
embed
27677596_c1
27677596
prolog
1
)|Blacks],Puzzle) :- nth1(I,Puzzle,LineI), nth1(J,LineI,black), fillblacks(Blacks,Puzzle). empty_words(Puzzle,EmptyWords) :- empty_words(Puzzle,EmptyWords,TailEmptyWords), size(Size), transpose(Size,Puzzle,[],TransposedPuzzle), empty_words(TransposedPuzzle,TailEmptyWords,[] ). empty_words([],Es,Es). empty_words([L|Ls],...
)|Blacks],Puzzle) :- nth1(I,Puzzle,LineI), nth1(J,LineI,black), fillblacks(Blacks,Puzzle). empty_words(Puzzle,EmptyWords) :- empty_words(Puzzle,EmptyWords,TailEmptyWords), size(Size), transpose(Size,Puzzle,[],TransposedPuzzle), empty_words(TransposedPuzzle,TailEmptyWords,[] ). empty_words([],Es,Es). empty_words([L|Ls],...
[ 0.0036773681640625, -0.004913330078125, 0.0194091796875, 0.0201416015625, -0.00933837890625, 0.011474609375, -0.0111083984375, -0.00112152099609375, 0.0091552734375, -0.013671875, 0.01214599609375, 0.002685546875, 0.0162353515625, 0.021240234375, -0.036376953125, 0.030517578125, 0.00...
[ 1388, 58745, 97732, 7, 27559, 13894, 133, 15772, 653, 927, 418, 568, 93232, 1375, 151675, 26292, 201505, 454, 47416, 134332, 939, 164805, 9874, 13267, 127167, 3900, 78381, 62624, 144429, 16474, 379, 3630, 2256, 1218, 49756, 866, 1052, 525, ...
[ 0.042938232421875, 0.014373779296875, 0.2017822265625, 0.06939697265625, 0.1063232421875, 0.1385498046875, 0.1187744140625, 0.07781982421875, 0.058013916015625, 0.166748046875, 0.06396484375, 0.0582275390625, 0.1138916015625, 0.09527587890625, 0.1734619140625, 0.1136474609375, 0.1967...
embed
20216868_c0
20216868
prolog
0
Title: Prolog - Recursive movement Problem title: Prolog - Recursive movement Tags: prolog Problem: Prolog - Recursive movement I have made this prolog functions for a pacman game: % I want this to return 0, 1, 2 or 3 to make a move. other-moves([[Xpacman,Ypacman]], Listpellets, Listwall, Movepacman) :- count_pellets_a...
Prolog - Recursive movement Prolog - Recursive movement prolog Prolog Recursive Xpacman Ypacman Listpellets Listwall Movepacman count_pellets_above count_pellets_bellow Random Xpacman-1 Ypacman-1 Prolog - Recursive movement I have made this prolog functions for a pacman game: I want other-moves to return a number diffe...
[ -0.0108642578125, -0.004974365234375, 0.000053882598876953125, 0.017333984375, -0.0009307861328125, 0.0169677734375, -0.003936767578125, 0.0225830078125, 0.005889892578125, -0.01239013671875, -0.0035552978515625, 0.006927490234375, -0.01141357421875, -0.0106201171875, 0.00787353515625, ...
[ 1250, 4867, 853, 48650, 5844, 112664, 502, 62268, 669, 990, 32036, 117515, 7831, 66769, 135828, 54529, 21552, 272, 41566, 39643, 1193, 5759, 32354, 38595, 6712, 3444, 3789, 432, 3132, 30646, 14012, 12921, 1295, 25813, 47, 10, 58982, 87, 371...
[ 0.1380615234375, 0.21630859375, 0.0182647705078125, 0.1414794921875, 0.086181640625, 0.1529541015625, 0.148681640625, 0.1131591796875, 0.1175537109375, 0.0200958251953125, 0.0728759765625, 0.1502685546875, 0.1044921875, 0.12353515625, 0.097900390625, 0.10296630859375, 0.0640869140625...
embed
26823036_c0
26823036
prolog
0
Title: Re-assigning variables for cryptarithmetic puzzle in Prolog Problem title: Re-assigning variables for cryptarithmetic puzzle in Prolog Tags: cryptarithmetic-puzzle, prolog Problem: Re-assigning variables for cryptarithmetic puzzle in Prolog I'm using Prolog to solve generic cryptarithmetic puzzles for a homework...
Re-assigning variables for cryptarithmetic puzzle in Prolog Re-assigning variables for cryptarithmetic puzzle in Prolog cryptarithmetic-puzzle prolog Re-assigning Prolog SEND MORE MONEY solve_expression assign_members is_unique Re-assigning variables for cryptarithmetic puzzle in Prolog I'm using Prolog to solve generi...
[ -0.0185546875, 0.00811767578125, 0.00750732421875, 0.00067901611328125, -0.027099609375, 0.00421142578125, -0.027587890625, 0.0118408203125, 0.012939453125, 0.007476806640625, -0.0025634765625, -0.002349853515625, 0.032470703125, 0.0216064453125, -0.0068359375, 0.0106201171875, -0.01...
[ 853, 162, 31304, 77336, 100, 136791, 8962, 104192, 1250, 4867, 23, 1766, 13894, 502, 159, 39015, 195879, 11507, 206688, 86869, 204629, 95486, 39, 27417, 83, 34, 45602, 17368, 189534, 5368, 18244, 997, 2203, 2878, 18151, 16030, 34390, 138, 1...
[ 0.151611328125, 0.08941650390625, 0.208251953125, 0.257080078125, 0.0108642578125, 0.142333984375, 0.07476806640625, 0.1766357421875, 0.1759033203125, 0.268798828125, 0.00439453125, 0.009368896484375, 0.027435302734375, 0.07421875, 0.0552978515625, 0.130859375, 0.2073974609375, 0.0...
embed
3349688_c0
3349688
prolog
0
Title: Prolog List Processing Problem title: Prolog List Processing Tags: prolog, list Problem: Prolog List Processing i would like to define a list(List of Bank Customer) from predicate and process the list using some rule. For instance, i have the customer predicate like this customer(peter,bank(maybank),customertype...
Prolog List Processing Prolog List Processing prolog list Prolog List Processing Name Guarantor LoanType LoanAmount LoanTenure Age Prolog List Processing i would like to define a list(List of Bank Customer) from predicate and process the list using some rule. For instance, i have the customer predicate like this I want...
[ 0.0264892578125, -0.01251220703125, -0.0029144287109375, 0.01397705078125, -0.0009613037109375, 0.0242919921875, -0.00994873046875, 0.0203857421875, 0.0172119140625, -0.00885009765625, 0.00238037109375, -0.0030517578125, 0.0034027099609375, -0.010009765625, 0.00927734375, 0.01550292968...
[ 1250, 4867, 32036, 123996, 214, 502, 5303, 15757, 206438, 19, 1290, 137474, 196707, 121147, 87286, 3408, 72944, 17, 2806, 1884, 61924, 10, 154663, 111, 4932, 124765, 1295, 1653, 2063, 9433, 17368, 79986, 43373, 67, 903, 3444, 15190, 11720, ...
[ 0.19189453125, 0.255126953125, 0.2413330078125, 0.1925048828125, 0.042083740234375, 0.142578125, 0.211669921875, 0.062744140625, 0.134033203125, 0.10009765625, 0.114990234375, 0.1541748046875, 0.1121826171875, 0.0870361328125, 0.028900146484375, 0.030029296875, 0.0989990234375, 0.0...
embed
57053568_c1
57053568
prolog
1
1]]) ;; (1 4 5 7 10 88) qsort-inner has three noteworthy points: It delays actual processing. Instead of returning the result of a complete sorting of the input list, it returns a "lazy-seq", which is an (object? thing? thunk ?) that emits the next number of the sorted sequence when queried, i.e. sorts on an as-needed ...
1]]) ;; (1 4 5 7 10 88) qsort-inner has three noteworthy points: It delays actual processing. Instead of returning the result of a complete sorting of the input list, it returns a "lazy-seq", which is an (object? thing? thunk ?) that emits the next number of the sorted sequence when queried, i.e. sorts on an as-needed ...
[ -0.0252685546875, 0.009033203125, 0.0036468505859375, -0.00555419921875, -0.0079345703125, 0.01202392578125, -0.00063323974609375, -0.045654296875, 0.026611328125, 0.0101318359375, 0.00372314453125, 0.0299072265625, 0.007080078125, -0.00112152099609375, 0.0035400390625, -0.005249023437...
[ 86245, 2858, 201, 190, 361, 209, 123641, 8096, 62351, 9, 73, 1679, 1556, 17262, 20537, 93017, 53, 26847, 1650, 8, 5259, 7, 8561, 9433, 175399, 30646, 16750, 28484, 12096, 214, 107730, 5303, 143, 3285, 184, 864, 187694, 13580, 3678, 53225,...
[ 0.011138916015625, 0.022918701171875, 0.101806640625, 0.07305908203125, 0.0081787109375, 0.0614013671875, 0.1636962890625, 0.1583251953125, 0.290283203125, 0.021514892578125, 0.1617431640625, 0.2275390625, 0.0335693359375, 0.1474609375, 0.012176513671875, 0.0777587890625, 0.020004272...
embed
74728945_c0
74728945
prolog
0
Title: Using attribute_goal/2 the right way in SICStus Prolog Problem title: Using attribute_goal/2 the right way in SICStus Prolog Tags: prolog, sicstus-prolog Problem: Using attribute_goal/2 the right way in SICStus Prolog I'm writing a "solver" using the SICStus Prolog attributed variables interface: :- module(attac...
Using attribute_goal/2 the right way in SICStus Prolog Using attribute_goal/2 the right way in SICStus Prolog prolog sicstus-prolog Using attribute_goal SICStus Prolog attach2 use_module put_atts verify_attribute get_atts copy_term Xcc Ycc XYc XYcc attach2:attach2 Using attribute_goal/2 the right way in SICStus Prolog ...
[ -0.010498046875, 0.017578125, -0.021728515625, -0.01214599609375, -0.0166015625, -0.01171875, 0.0000743865966796875, -0.0026397705078125, -0.00848388671875, -0.037841796875, 0.021484375, 0.00927734375, -0.01422119140625, 0.0118408203125, 0.01434326171875, 0.00628662109375, -0.0239257...
[ 345, 150380, 13, 519, 289, 12477, 7108, 3917, 159, 102198, 2143, 1250, 4867, 6953, 23, 502, 26536, 18253, 3454, 243, 934, 304, 4527, 83279, 3884, 27639, 493, 40383, 257, 191145, 43658, 32166, 10060, 52438, 32562, 86918, 42, 77336, 101758, ...
[ 0.064453125, 0.2115478515625, 0.1080322265625, 0.1778564453125, 0.1588134765625, 0.2352294921875, 0.1402587890625, 0.08538818359375, 0.10333251953125, 0.098876953125, 0.2081298828125, 0.131103515625, 0.1978759765625, 0.001007080078125, 0.0032958984375, 0.10430908203125, 0.08227539062...
embed
61236848_c0
61236848
prolog
0
Title: making a list of random integers on prolog Problem title: making a list of random integers on prolog Tags: list, prolog Problem: making a list of random integers on prolog So my problem is this i have this predicate which is n_aleatorios(El,INF,SUP,L) in which El is the lenght of the list, INF is the lower limit...
making a list of random integers on prolog making a list of random integers on prolog list prolog Checks nao_membro Joins insere_ordenado junta_novo_aleatorio INF SUP random_between n_aleatorios AC_num Lst making a list of random integers on prolog So my problem is this i have this predicate which is n_aleatorios(El,IN...
[ -0.01239013671875, -0.0031280517578125, 0.0172119140625, -0.0234375, -0.00142669677734375, 0.0240478515625, 0.01104736328125, 0.003814697265625, -0.00872802734375, -0.031982421875, 0.009521484375, 0.007476806640625, -0.00775146484375, 0.0142822265625, 0.025390625, 0.00421142578125, 0...
[ 20662, 5303, 96759, 892, 26255, 98, 502, 4867, 38679, 24, 31, 282, 27726, 113053, 28046, 38228, 1138, 89266, 46254, 1935, 11, 20179, 5881, 919, 161463, 1177, 653, 13300, 232, 12944, 2606, 2967, 765, 903, 1653, 2063, 67, 7623, 8852, 294, ...
[ 0.072265625, 0.176025390625, 0.194091796875, 0.1212158203125, 0.0838623046875, 0.0516357421875, 0.1636962890625, 0.2261962890625, 0.144287109375, 0.04595947265625, 0.06219482421875, 0.0231170654296875, 0.125, 0.12255859375, 0.1243896484375, 0.105712890625, 0.052276611328125, 0.1257...
embed
7793698_c0
7793698
prolog
0
Title: How to express a Total Order Relation in Prolog? Problem title: How to express a Total Order Relation in Prolog? Tags: prolog, relationship Problem: How to express a Total Order Relation in Prolog? What is the best way to express a total order relation in Prolog ? For example, say I have a set of facts person(ti...
How to express a Total Order Relation in Prolog? How to express a Total Order Relation in Prolog? prolog relationship How Total Order Relation Prolog How to express a Total Order Relation in Prolog? What is the best way to express a total order relation in Prolog ? For example, say I have a set of facts and I want to e...
[ 0.0196533203125, 0.0074462890625, 0.003692626953125, -0.0037994384765625, -0.010986328125, -0.00927734375, 0.00982666015625, -0.01171875, 0.0213623046875, -0.026611328125, 0.02197265625, 0.0240478515625, -0.01202392578125, -0.00060272216796875, 0.03955078125, 0.000652313232421875, -0...
[ 11249, 36510, 33867, 81206, 116822, 23, 1250, 4867, 502, 76755, 2965, 3917, 10, 3622, 12989, 41911, 765, 5423, 15824, 3444, 85027, 1672, 3445, 100, 45091, 12638, 6626, 990, 2174, 959, 69112, 1193, 118513, 42, 2967, 70731, 13, 87709, 34648, ...
[ 0.07806396484375, 0.2049560546875, 0.1851806640625, 0.2607421875, 0.212646484375, 0.040496826171875, 0.14599609375, 0.2379150390625, 0.09307861328125, 0.174560546875, 0.06494140625, 0.0155792236328125, 0.013275146484375, 0.163818359375, 0.25146484375, 0.2001953125, 0.005523681640625,...
embed
23834304_c0
23834304
prolog
0
Title: swi prolog gives too many solutions Problem title: swi prolog gives too many solutions Tags: dcg, prolog Problem: swi prolog gives too many solutions My prolog programm is supposed to return a list of all the variables included in a term. It does work correctly, because my result is a list of all the variables. ...
swi prolog gives too many solutions swi prolog gives too many solutions dcg prolog X-Y Y-X swi prolog gives too many solutions My prolog programm is supposed to return a list of all the variables included in a term. It does work correctly, because my result is a list of all the variables. But now Prolog should stop, in...
[ 0.0047607421875, 0.0014190673828125, 0.00823974609375, 0.005584716796875, -0.01318359375, 0.0213623046875, -0.0203857421875, 0.0007171630859375, 0.003662109375, -0.0439453125, 0.0101318359375, -0.02001953125, -0.006561279296875, -0.000400543212890625, 0.0179443359375, 0.024658203125, ...
[ 91, 2452, 502, 4867, 76199, 5792, 5941, 51347, 177, 1723, 990, 1542, 28966, 134598, 30646, 5303, 756, 77336, 99201, 13579, 4488, 26785, 16750, 5036, 1250, 5608, 7279, 64457, 442, 136622, 163, 5701, 136659, 20028, 1957, 15400, 22027, 18, 710...
[ 0.028656005859375, 0.227294921875, 0.1611328125, 0.251708984375, 0.11181640625, 0.181884765625, 0.1796875, 0.2427978515625, 0.0706787109375, 0.05438232421875, 0.008331298828125, 0.0533447265625, 0.12451171875, 0.071044921875, 0.10302734375, 0.1221923828125, 0.0345458984375, 0.18688...
embed
4951760_c0
4951760
prolog
0
Title: Prolog SAT Solver Problem title: Prolog SAT Solver Tags: boolean-logic, clpb, prolog Problem: Prolog SAT Solver I'm trying to build a simple Prolog SAT solver. My idea is that the user should enter the boolean formula to be solved in CNF (Conjuctive Normal Form) using Prolog lists, for example (A or B) and (B or...
Prolog SAT Solver Prolog SAT Solver boolean-logic clpb prolog Prolog SAT Solver Call _G609 _G612 _G615 start_solve_clause solve_clause _G726 _G725 Exit Knowledge Clause Tail Var1 Var2 Result Result2 Prolog SAT Solver I'm trying to build a simple Prolog SAT solver. My idea is that the user should enter the boolean formu...
[ 0.0159912109375, 0.004180908203125, 0.002960205078125, 0.00156402587890625, -0.032470703125, 0.007659912109375, 0.001220703125, -0.00921630859375, -0.00396728515625, -0.01202392578125, -0.00885009765625, 0.01190185546875, -0.01611328125, 0.0224609375, 0.0108642578125, -0.009033203125, ...
[ 1250, 4867, 75210, 6678, 814, 31, 34677, 137043, 254, 275, 502, 26265, 724, 186198, 910, 1530, 1837, 4034, 86918, 18347, 4032, 86869, 4046, 189075, 5443, 217, 191428, 100700, 1218, 379, 3323, 418, 304, 126684, 45367, 8781, 3115, 6528, 38937...
[ 0.1405029296875, 0.23828125, 0.2178955078125, 0.1483154296875, 0.153564453125, 0.0921630859375, 0.2073974609375, 0.1107177734375, 0.042755126953125, 0.1207275390625, 0.08905029296875, 0.191162109375, 0.006927490234375, 0.2332763671875, 0.05731201171875, 0.1505126953125, 0.13244628906...
embed
34925596_c1
34925596
prolog
1
' .. 'Z' | '0'..'9' | '_')*; terminal ATOM : ('a'..'z') CHARSEQ; terminal VARIABLE : ('A'..'Z') CHARSEQ; terminal INT returns ecore::EInt: ('0'..'9')+; terminal STRING : '"' ( '\\' . /* 'b'|'t'|'n'|'f'|'r'|'u'|'"'|"'"|'\\' */ | !('\\'|'"') )* '"' | "'" ( '\\' . /* 'b'|'t'|'n'|'f'|'r'|'u'|'"'|"'"|'\\' */ | !('\\'|"'") )...
' .. 'Z' | '0'..'9' | '_')*; terminal ATOM : ('a'..'z') CHARSEQ; terminal VARIABLE : ('A'..'Z') CHARSEQ; terminal INT returns ecore::EInt: ('0'..'9')+; terminal STRING : '"' ( '\\' . /* 'b'|'t'|'n'|'f'|'r'|'u'|'"'|"'"|'\\' */ | !('\\'|'"') )* '"' | "'" ( '\\' . /* 'b'|'t'|'n'|'f'|'r'|'u'|'"'|"'"|'\\' */ | !('\\'|"'") )...
[ 0.01220703125, -0.006591796875, 0.017578125, 0.02490234375, -0.00970458984375, 0.01019287109375, -0.01239013671875, 0.0198974609375, -0.00005626678466796875, -0.027099609375, 0.01385498046875, -0.0059814453125, -0.0164794921875, 0.0031890869140625, 0.0238037109375, 0.0224609375, -0.0...
[ 242, 1468, 1511, 58745, 2389, 1126, 1639, 33949, 62, 117032, 11, 169, 178102, 310, 20965, 183057, 284, 59537, 30646, 28, 30854, 660, 1328, 46549, 23186, 275, 420, 39456, 42135, 33827, 52143, 93333, 224750, 74, 44622, 1916, 5161, 33938, 100,...
[ 0.041656494140625, 0.046142578125, 0.133544921875, 0.033935546875, 0.11767578125, 0.179443359375, 0.03302001953125, 0.2025146484375, 0.0072021484375, 0.2239990234375, 0.012725830078125, 0.07171630859375, 0.1751708984375, 0.07098388671875, 0.1195068359375, 0.1131591796875, 0.018524169...
embed
33198338_c0
33198338
prolog
0
Title: Prolog read keys and print values corresponding to the key Problem title: Prolog read keys and print values corresponding to the key Tags: repeat, prolog Problem: Prolog read keys and print values corresponding to the key I have to implement a Prolog program, that accepts a List like [[1,a],[2,b],[1,c]] and asks...
Prolog read keys and print values corresponding to the key Prolog read keys and print values corresponding to the key repeat prolog Prolog Input AssocList Key Output FindList Values as_find Acc my_append NewFindList List Appends Elem Asks Keys as_search Prolog read keys and print values corresponding to the key I have ...
[ 0.002044677734375, -0.0023040771484375, -0.01055908203125, -0.022216796875, -0.01953125, 0.00958251953125, 0.00921630859375, -0.012939453125, 0.01385498046875, -0.025146484375, 0.017822265625, 0.00714111328125, -0.0147705078125, -0.0040283203125, 0.01397705078125, 0.010498046875, 0.0...
[ 1250, 4867, 12301, 22799, 136, 28412, 142424, 42518, 119140, 502, 1301, 6652, 154663, 26824, 13538, 26040, 190060, 237, 111607, 29899, 759, 204582, 32036, 3611, 195, 105219, 86250, 29479, 1528, 26946, 418, 304, 26458, 100, 23, 40956, 38937, 3...
[ 0.177978515625, 0.25634765625, 0.202392578125, 0.18017578125, 0.03619384765625, 0.197998046875, 0.1551513671875, 0.1177978515625, 0.1329345703125, 0.1070556640625, 0.00201416015625, 0.060516357421875, 0.1094970703125, 0.171875, 0.0601806640625, 0.06683349609375, 0.1129150390625, 0....
embed
78601463_c0
78601463
prolog
0
Title: Failure driven loops Problem title: Failure driven loops Tags: prolog, negation-as-failure Problem: Failure driven loops I am trying to understand the failure driven loop for an graph for example but I don't understand how it works and when to use it. When to use fail driven loops and when to use normal recursiv...
Failure driven loops Failure driven loops prolog negation-as-failure Failure no_given_weight is_edge given_weight difference_graph is_edge_1 is_edge_2 is_edge_diff edge_diff Failure driven loops I am trying to understand the failure driven loop for an graph for example but I don't understand how it works and when to us...
[ 0.008056640625, 0.017578125, -0.0028076171875, 0.00628662109375, -0.0002918243408203125, 0.01190185546875, -0.00154876708984375, 0.0081787109375, 0.0150146484375, -0.00170135498046875, 0.0107421875, -0.02001953125, -0.00677490234375, 0.011962890625, 0.01458740234375, 0.01531982421875, ...
[ 190355, 3408, 22648, 19, 40956, 502, 4867, 108, 125682, 162, 120540, 110, 107409, 165598, 83, 297, 429, 34475, 60212, 41382, 115187, 304, 152462, 121303, 28219, 137578, 27781, 43240, 3229, 4527, 442, 14847, 35782, 3638, 195625, 5844, 12765, 2...
[ 0.17236328125, 0.1383056640625, 0.1636962890625, 0.059326171875, 0.219482421875, 0.1197509765625, 0.1531982421875, 0.1458740234375, 0.1353759765625, 0.01239013671875, 0.1142578125, 0.0760498046875, 0.0819091796875, 0.18212890625, 0.0506591796875, 0.0806884765625, 0.037689208984375, ...
embed
20979780_c0
20979780
prolog
0
Title: ERROR: Out of local stack in my Prolog code Problem title: ERROR: Out of local stack in my Prolog code Tags: transitive-closure, prolog Problem: ERROR: Out of local stack in my Prolog code I cannot figure out why the following query from the given Prolog code generates the error Out of local stack . Prolog code:...
ERROR: Out of local stack in my Prolog code ERROR: Out of local stack in my Prolog code transitive-closure prolog ERROR Out Prolog indirect_likes Which ERROR: Out of local stack in my Prolog code I cannot figure out why the following query from the given Prolog code generates the error Out of local stack . Prolog code:...
[ 0.0201416015625, 0.0252685546875, 0.0006561279296875, 0.050048828125, -0.002471923828125, -0.006927490234375, -0.022216796875, 0.007232666015625, -0.0024566650390625, -0.054443359375, 0.00567626953125, 0.00075531005859375, 0.002838134765625, 0.00799560546875, 0.044189453125, 0.01623535...
[ 151206, 24638, 13538, 111, 4000, 177261, 23, 759, 1250, 4867, 18151, 62621, 5844, 170224, 502, 116361, 5062, 53418, 26366, 15400, 25632, 41, 1294, 139392, 18499, 50339, 42079, 35142, 16487, 100, 129344, 177, 979, 168487, 50155, 15549, 4568, 7...
[ 0.1409912109375, 0.125732421875, 0.2347412109375, 0.2230224609375, 0.198486328125, 0.251708984375, 0.0369873046875, 0.03692626953125, 0.1534423828125, 0.219970703125, 0.177490234375, 0.141845703125, 0.1151123046875, 0.2025146484375, 0.114990234375, 0.1859130859375, 0.238525390625, ...
embed
43775536_c0
43775536
prolog
0
Title: Enumerate inorder in Prolog Problem title: Enumerate inorder in Prolog Tags: prolog, failure-slice, dcg, binary-search-tree Problem: Enumerate inorder in Prolog I'm trying to "reverse" an inorder traversal by turning the inorder list back into BSTs. BSTs has the predicate form node(Value,Left,Right) or leaf , so...
Enumerate inorder in Prolog Enumerate inorder in Prolog prolog failure-slice dcg binary-search-tree Enumerate Prolog Value Left Right enumerate_bst Elems Bst Enum Elems_L Elems_R Tmp Enumerate inorder in Prolog I'm trying to "reverse" an inorder traversal by turning the inorder list back into BSTs. BSTs has the predica...
[ 0.01361083984375, 0.00469970703125, 0.01171875, 0.00225830078125, 0.01165771484375, 0.036376953125, -0.017333984375, -0.01068115234375, 0.0033416748046875, -0.047119140625, -0.007476806640625, -0.0031890869140625, 0.00506591796875, -0.00799560546875, 0.003814697265625, -0.0094604492187...
[ 357, 15537, 17957, 23, 80596, 1250, 4867, 502, 137578, 13348, 2394, 86250, 62600, 190060, 2480, 90911, 189085, 67, 271, 540, 195, 316, 2676, 31577, 107, 37676, 37317, 289, 174548, 5303, 4420, 3934, 335, 8545, 7, 1653, 2063, 3173, 110, 856...
[ 0.0537109375, 0.2181396484375, 0.1181640625, 0.148193359375, 0.2476806640625, 0.1678466796875, 0.24755859375, 0.1234130859375, 0.1651611328125, 0.0792236328125, 0.0665283203125, 0.0894775390625, 0.12841796875, 0.12841796875, 0.0804443359375, 0.06024169921875, 0.2042236328125, 0.045...
embed
60808563_c1
60808563
prolog
1
4. The accounting major drinks Coke. member(dorm(accounting,_,_,_,coke),Dorms), % 5. The engineering major drinks coffee. member(dorm(engineering,_,_,_,coffee),Dorms), % 6. The computer science student and history student are neighbors. adjacent((dorm(computerscience,_,_,_,_)),(dorm(history,_,_,_,_)),Dorms), % 7. The s...
4. The accounting major drinks Coke. member(dorm(accounting,_,_,_,coke),Dorms), % 5. The engineering major drinks coffee. member(dorm(engineering,_,_,_,coffee),Dorms), % 6. The computer science student and history student are neighbors. adjacent((dorm(computerscience,_,_,_,_)),(dorm(history,_,_,_,_)),Dorms), % 7. The s...
[ -0.0146484375, 0.006805419921875, 0.0064697265625, 0.01287841796875, 0.0036468505859375, 0.0286865234375, -0.026123046875, 0.020263671875, 0.00043487548828125, -0.022705078125, -0.01116943359375, -0.0179443359375, 0.01275634765625, -0.001983642578125, -0.02197265625, 0.002960205078125,...
[ 1398, 581, 15426, 214, 13036, 23417, 7, 1311, 350, 5, 32786, 132, 1846, 39, 213499, 4, 587, 247, 397, 748, 4432, 1745, 1892, 177907, 79497, 128897, 4209, 16670, 13, 2289, 13909, 41664, 9836, 136, 32692, 621, 208244, 123594, 16797, 164511,...
[ 0.2222900390625, 0.059478759765625, 0.199462890625, 0.1258544921875, 0.216552734375, 0.209716796875, 0.0823974609375, 0.170166015625, 0.17333984375, 0.04925537109375, 0.1947021484375, 0.0111083984375, 0.161865234375, 0.16455078125, 0.1568603515625, 0.009735107421875, 0.1092529296875,...
embed
62245909_c0
62245909
prolog
0
Title: Prolog: Scheduling Start times with an additional constraint Problem title: Prolog: Scheduling Start times with an additional constraint Tags: clp, prolog Problem: Prolog: Scheduling Start times with an additional constraint In an assignment for uni , I've been asked to create a schedule for hypothetical backup ...
Prolog: Scheduling Start times with an additional constraint Prolog: Scheduling Start times with an additional constraint clp prolog Prolog Scheduling Start srv_d1 srv_d2 srv_d3 srv_w1 srv_w2 Prolog: Scheduling Start times with an additional constraint In an assignment for uni , I've been asked to create a schedule for...
[ 0.00537109375, 0.025146484375, 0.004638671875, 0.006622314453125, -0.026611328125, -0.001129150390625, -0.0286865234375, -0.002960205078125, 0.0015869140625, -0.026611328125, -0.01416015625, -0.0087890625, 0.0279541015625, 0.0023956298828125, 0.0159912109375, -0.00604248046875, 0.006...
[ 1250, 4867, 34702, 693, 13794, 20028, 678, 78301, 158, 2816, 2069, 33139, 254, 502, 33760, 95486, 19844, 37170, 28282, 80889, 170933, 70760, 126502, 33636, 1653, 2063, 12147, 10750, 10723, 10644, 142424, 40041, 1467, 9351, 50960, 1733, 831, 4...
[ 0.15087890625, 0.2359619140625, 0.14990234375, 0.141845703125, 0.188720703125, 0.141357421875, 0.048614501953125, 0.136474609375, 0.0693359375, 0.154296875, 0.036895751953125, 0.008056640625, 0.081298828125, 0.1143798828125, 0.1297607421875, 0.093017578125, 0.0845947265625, 0.01113...
embed
35256065_c1
35256065
prolog
1
nl, read(No), write('Films that are available for your age '),nl, write(' - Space Chimps'). age(15):-write('Films that are available for your age: '),nl, write(' - How to Lose Friends and Alienate People'),nl, write(' - Death Race'). age(18):-write('Films that are available for your age: '),nl, write(' - The Chaser'). ...
nl, read(No), write('Films that are available for your age '),nl, write(' - Space Chimps'). age(15):-write('Films that are available for your age: '),nl, write(' - How to Lose Friends and Alienate People'),nl, write(' - Death Race'). age(18):-write('Films that are available for your age: '),nl, write(' - The Chaser'). ...
[ 0.0228271484375, -0.000537872314453125, 0.0076904296875, -0.00262451171875, 0.0006561279296875, 0.006805419921875, 0.0177001953125, 0.016357421875, -0.004425048828125, 0.006134033203125, -0.0108642578125, -0.04345703125, -0.01361083984375, -0.0081787109375, -0.00225830078125, -0.012817...
[ 13169, 12301, 132, 5021, 33022, 102278, 7, 450, 19882, 100, 935, 32070, 20, 43045, 5585, 2676, 62155, 434, 18781, 11249, 47, 3731, 13, 102517, 136, 2132, 33, 2182, 41021, 96719, 94698, 117768, 581, 4841, 2189, 1745, 8551, 1346, 25, 81826,...
[ 0.1605224609375, 0.2239990234375, 0.008331298828125, 0.1915283203125, 0.1295166015625, 0.244140625, 0.1292724609375, 0.0958251953125, 0.2362060546875, 0.17236328125, 0.1358642578125, 0.2357177734375, 0.044677734375, 0.19189453125, 0.1605224609375, 0.2467041015625, 0.230712890625, 0...
embed
64546877_c0
64546877
prolog
0
Title: Somehow I built SWI-Prolog without unbounded integer support. I need to use a predicate that requires this support Problem title: Somehow I built SWI-Prolog without unbounded integer support. I need to use a predicate that requires this support Tags: prolog, swi-prolog Problem: Somehow I built SWI-Prolog without...
Somehow I built SWI-Prolog without unbounded integer support. I need to use a predicate that requires this support Somehow I built SWI-Prolog without unbounded integer support. I need to use a predicate that requires this support prolog swi-prolog Somehow SWI-Prolog github.com swipl-devel.git DCMAKE_INSTALL_PREFIX Ninj...
[ -0.0208740234375, 0.0240478515625, 0.0147705078125, 0.00147247314453125, -0.027099609375, 0.01373291015625, 0.0211181640625, -0.0225830078125, -0.0078125, -0.022216796875, 0.006866455078125, -0.02587890625, -0.0115966796875, -0.004486083984375, 0.01324462890625, 0.009033203125, 0.014...
[ 47251, 88303, 159, 38969, 10752, 4867, 15490, 51, 99091, 892, 1505, 8060, 3871, 4527, 1653, 2063, 67, 144570, 903, 502, 2452, 3454, 62270, 32102, 91, 2424, 112, 2601, 15769, 119960, 85717, 30487, 94632, 919, 127438, 3647, 5550, 345, 6953, ...
[ 0.01226806640625, 0.1094970703125, 0.040802001953125, 0.2357177734375, 0.15771484375, 0.2060546875, 0.1131591796875, 0.039886474609375, 0.1536865234375, 0.11376953125, 0.1168212890625, 0.195068359375, 0.047698974609375, 0.0928955078125, 0.1380615234375, 0.1524658203125, 0.04757690429...
embed
55729034_c0
55729034
prolog
0
Title: Is there a way to combine tabling with clause? Problem title: Is there a way to combine tabling with clause? Tags: prolog Problem: Is there a way to combine tabling with clause? In my program, I use a simple recursive clause/2 to track my proving. prove(X):- clause(X, B), B == true. prove((X1, X2)):- prove(X1), ...
Is there a way to combine tabling with clause? Is there a way to combine tabling with clause? prolog start_tabling segment_equal user:segment_equal ERROR private_procedure tbl_variant_table Is there a way to combine tabling with clause? In my program, I use a simple recursive clause/2 to track my proving. What's more, ...
[ 0.00836181640625, 0.013427734375, -0.003753662109375, 0.0223388671875, -0.032470703125, -0.00604248046875, -0.000423431396484375, -0.00201416015625, 0.00145721435546875, -0.044677734375, -0.006072998046875, 0.031494140625, -0.0059814453125, 0.01043701171875, 0.00848388671875, 0.0177001...
[ 3917, 70163, 308, 79298, 678, 70731, 13, 10, 502, 4867, 4034, 102, 33180, 71723, 38937, 25398, 674, 151206, 14375, 232578, 808, 9030, 162591, 22819, 1528, 4527, 8781, 195625, 5844, 12477, 28560, 6496, 86869, 121122, 41159, 30145, 14, 19805, ...
[ 0.10791015625, 0.2249755859375, 0.2137451171875, 0.26513671875, 0.128173828125, 0.235595703125, 0.1732177734375, 0.018157958984375, 0.1173095703125, 0.1634521484375, 0.1044921875, 0.2076416015625, 0.1866455078125, 0.152099609375, 0.1239013671875, 0.0791015625, 0.058013916015625, 0....
embed
23484565_c1
23484565
prolog
1
(unsafe(state(Y, G, Y, C))) then current(Y, G, Y, C). move_cabbage :: if state(X, G, W, X) and opp(X, Y) and (unsafe(state(Y, G, W, Y))) then current(Y, G, W, Y). % Move the object to the other side of the river opp(west_side, east_side). opp(east_side, west_side). % Is the new state unsafe fact :: unsafe(state(X,Y,Y,...
(unsafe(state(Y, G, Y, C))) then current(Y, G, Y, C). move_cabbage :: if state(X, G, W, X) and opp(X, Y) and (unsafe(state(Y, G, W, Y))) then current(Y, G, W, Y). % Move the object to the other side of the river opp(west_side, east_side). opp(east_side, west_side). % Is the new state unsafe fact :: unsafe(state(X,Y,Y,...
[ 0.018310546875, 0.000553131103515625, 0.005218505859375, 0.0299072265625, -0.00135040283203125, 0.0150146484375, -0.00531005859375, 0.003936767578125, 0.01531982421875, -0.0147705078125, -0.002838134765625, 0.0191650390625, -0.0140380859375, 0.0014801025390625, -0.021728515625, -0.0034...
[ 309, 115840, 61340, 1723, 527, 990, 313, 7068, 43581, 25813, 408, 45391, 429, 1984, 2174, 11341, 1542, 601, 1193, 136, 2343, 1745, 135828, 36746, 3789, 5609, 70, 96113, 25617, 8752, 4438, 65272, 3525, 51, 15824, 441, 1456, 70523, 12353, 3...
[ 0.1578369140625, 0.281494140625, 0.17919921875, 0.11474609375, 0.0972900390625, 0.11962890625, 0.0699462890625, 0.0350341796875, 0.2369384765625, 0.1822509765625, 0.1201171875, 0.2314453125, 0.1451416015625, 0.029327392578125, 0.06695556640625, 0.185791015625, 0.08544921875, 0.1193...
embed
70733050_c1
70733050
prolog
1
", [Result]). query(QueryTerm, Result) :- % This is what I cannot figure out how to implement... xform_wildcards_to_free_vars(QueryTerm, QueryWithVars), term_variables(QueryWithVars, FreeVars), findall(FreeVars, QueryWithVars, Result). % This is a contrived fact that transforms only one specific % type of query, but ev...
", [Result]). query(QueryTerm, Result) :- % This is what I cannot figure out how to implement... xform_wildcards_to_free_vars(QueryTerm, QueryWithVars), term_variables(QueryWithVars, FreeVars), findall(FreeVars, QueryWithVars, Result). % This is a contrived fact that transforms only one specific % type of query, but ev...
[ 0.015869140625, 0.0203857421875, -0.007293701171875, 0.011474609375, 0.00084686279296875, -0.0137939453125, -0.000335693359375, 0.010986328125, 0.0079345703125, -0.03515625, 0.027587890625, -0.00811767578125, -0.0196533203125, 0.01251220703125, -0.0169677734375, 0.00885009765625, 0.0...
[ 44, 4332, 7, 7136, 194, 41, 1294, 41732, 35484, 39, 126684, 1745, 53418, 26366, 1810, 3642, 29479, 1022, 5037, 41123, 71, 38931, 188, 32087, 1961, 58836, 53, 194583, 81827, 13579, 21690, 19736, 5153, 7413, 5584, 81437, 3996, 15824, 27198, ...
[ 0.002166748046875, 0.0631103515625, 0.0926513671875, 0.123291015625, 0.0048828125, 0.1533203125, 0.1656494140625, 0.1070556640625, 0.1883544921875, 0.049652099609375, 0.2264404296875, 0.1312255859375, 0.06964111328125, 0.09222412109375, 0.018890380859375, 0.0161285400390625, 0.206909...
embed
43378090_c0
43378090
prolog
0
Title: Prolog: quicksort using last element as pivot (infinite loop) Problem title: Prolog: quicksort using last element as pivot (infinite loop) Tags: prolog, quicksort Problem: Prolog: quicksort using last element as pivot (infinite loop) I'm trying to implement Quicksort in Prolog using the last element as pivot but...
Prolog: quicksort using last element as pivot (infinite loop) Prolog: quicksort using last element as pivot (infinite loop) prolog quicksort last Greater Prolog Smaller Greater_S G_S Prolog: quicksort using last element as pivot (infinite loop) I'm trying to implement Quicksort in Prolog using the last element as pivot...
[ -0.00628662109375, 0.01397705078125, 0.01324462890625, -0.0242919921875, -0.0234375, 0.00531005859375, -0.009521484375, -0.004425048828125, 0.01483154296875, -0.006561279296875, 0.040771484375, 0.024658203125, -0.00128173828125, -0.01141357421875, 0.0228271484375, 0.020751953125, 0.0...
[ 1250, 4867, 63773, 62351, 17368, 4568, 12830, 237, 80953, 18, 48310, 67, 40956, 502, 32774, 56, 105508, 294, 527, 454, 31577, 29479, 89038, 1653, 2063, 3934, 54241, 183278, 1290, 83324, 2831, 17497, 2060, 3564, 105950, 5303, 159, 5608, 1648...
[ 0.1510009765625, 0.2327880859375, 0.16552734375, 0.26025390625, 0.06829833984375, 0.205322265625, 0.19775390625, 0.037353515625, 0.1982421875, 0.119384765625, 0.1162109375, 0.035125732421875, 0.1544189453125, 0.103515625, 0.04473876953125, 0.037872314453125, 0.06634521484375, 0.075...
embed
21926642_c0
21926642
prolog
0
Title: Unifying a number to a list in Prolog Problem title: Unifying a number to a list in Prolog Tags: prolog Problem: Unifying a number to a list in Prolog Alright, so I'm working on a homework assignment, this is supposed to be a four function calculator taking in a list of strings [three, times, two] for example, a...
Unifying a number to a list in Prolog Unifying a number to a list in Prolog prolog Unifying Prolog divided_by Total str2num Whatever Ttl Prod Sum Quo Dif X-Y Unifying a number to a list in Prolog Alright, so I'm working on a homework assignment, this is supposed to be a four function calculator taking in a list of stri...
[ -0.0045166015625, 0.007568359375, 0.01531982421875, -0.0047607421875, -0.0050048828125, 0.007720947265625, 0.00579833984375, 0.00482177734375, 0.0245361328125, -0.02197265625, -0.01275634765625, -0.00982666015625, 0.007354736328125, -0.005706787109375, -0.0019378662109375, 0.0042724609...
[ 992, 151138, 14012, 47, 5303, 1250, 4867, 502, 101637, 1272, 33867, 7704, 304, 2606, 30441, 141, 36335, 43851, 803, 420, 1723, 20697, 18244, 95486, 134598, 22759, 32354, 154993, 23, 79315, 107, 20028, 6626, 140992, 4734, 16916, 101935, 214075...
[ 0.18017578125, 0.116455078125, 0.2005615234375, 0.1282958984375, 0.203369140625, 0.175048828125, 0.2427978515625, 0.118408203125, 0.10125732421875, 0.003814697265625, 0.1287841796875, 0.097900390625, 0.0865478515625, 0.166748046875, 0.009765625, 0.0185699462890625, 0.0770263671875, ...
embed
68512904_c1
68512904
prolog
1
contain some divine flavor % Some boy eats some apple % Some government conscripts some pacifist people % All government that conscripts pacifist people are evil noun_phrase(Num, np(DET, N)) --> determiner(Num, DET), noun(Num, N). noun_phrase(Num, np(ADJ, N)) --> adjective(ADJ), noun(Num, N). noun_phrase(Num, np(DET, ...
contain some divine flavor % Some boy eats some apple % Some government conscripts some pacifist people % All government that conscripts pacifist people are evil noun_phrase(Num, np(DET, N)) --> determiner(Num, DET), noun(Num, N). noun_phrase(Num, np(ADJ, N)) --> adjective(ADJ), noun(Num, N). noun_phrase(Num, np(DET, ...
[ -0.027099609375, 0.0054931640625, 0.01092529296875, 0.00025177001953125, 0.0155029296875, 0.00982666015625, 0.0216064453125, -0.0252685546875, 0.0125732421875, -0.027587890625, 0.01080322265625, -0.00830078125, -0.02978515625, -0.00138092041015625, -0.00457763671875, 0.003997802734375,...
[ 70541, 3060, 82370, 13, 196634, 1745, 31384, 25299, 28, 9821, 108787, 27759, 158, 32032, 67780, 1029, 271, 3395, 3164, 450, 7, 621, 5115, 110, 309, 179665, 184, 839, 316, 25037, 107579, 541, 129908, 83324, 42, 105437, 12351, 1375, 170, 10...
[ 0.28662109375, 0.134033203125, 0.20849609375, 0.1324462890625, 0.2822265625, 0.1229248046875, 0.0528564453125, 0.1380615234375, 0.141357421875, 0.058441162109375, 0.18408203125, 0.224365234375, 0.09393310546875, 0.1964111328125, 0.13916015625, 0.1375732421875, 0.0986328125, 0.09594...
embed
10674007_c0
10674007
prolog
0
Title: Reading variable in prolog multible times Problem title: Reading variable in prolog multible times Tags: prolog Problem: Reading variable in prolog multible times I want to write a simple game with prolog (Connect four). I want to read input from user many times, the input is a column number. when I read 'Col' f...
Reading variable in prolog multible times Reading variable in prolog multible times prolog Reading Color Col Raw Winner Game Your write_ln Next Red Reading variable in prolog multible times I want to write a simple game with prolog (Connect four). I want to read input from user many times, the input is a column number....
[ -0.01470947265625, 0.007659912109375, 0.007232666015625, 0.0179443359375, 0.007781982421875, -0.001861572265625, -0.007659912109375, -0.0022430419921875, -0.005218505859375, -0.042724609375, 0.002410888671875, 0.025146484375, -0.01165771484375, 0.0036773681640625, 0.0267333984375, -0.0...
[ 104951, 77336, 23, 502, 4867, 6024, 2661, 20028, 51193, 11554, 109997, 209447, 13547, 33022, 4997, 6096, 3444, 8781, 6712, 235603, 22759, 12301, 107730, 1295, 38937, 5941, 3365, 316, 14012, 78457, 17932, 1733, 30957, 12921, 142424, 150631, 9832...
[ 0.218505859375, 0.25830078125, 0.0268707275390625, 0.153076171875, 0.225341796875, 0.131103515625, 0.166748046875, 0.1951904296875, 0.1568603515625, 0.1715087890625, 0.1651611328125, 0.159423828125, 0.080810546875, 0.09326171875, 0.0841064453125, 0.136474609375, 0.048431396484375, ...
embed
71915419_c0
71915419
prolog
0
Title: Finding common elemnts between two lists occuring at the same positions in Prolog Problem title: Finding common elemnts between two lists occuring at the same positions in Prolog Tags: list, prolog Problem: Finding common elemnts between two lists occuring at the same positions in Prolog I am using Prolog and I ...
Finding common elemnts between two lists occuring at the same positions in Prolog Finding common elemnts between two lists occuring at the same positions in Prolog list prolog Finding Prolog correct_positions Finding common elemnts between two lists occuring at the same positions in Prolog I am using Prolog and I am tr...
[ 0.00732421875, 0.00921630859375, -0.00045013427734375, 0.015380859375, 0.0020904541015625, 0.031982421875, -0.00153350830078125, 0.01202392578125, 0.0106201171875, -0.025634765625, 0.0189208984375, 0.015869140625, 0.01092529296875, 0.007415771484375, 0.002899169921875, 0.0130615234375,...
[ 26040, 39210, 88, 195, 16037, 17721, 6626, 5303, 74918, 5701, 19069, 1250, 4867, 502, 26785, 40322, 17368, 7413, 29479, 1653, 2063, 10750, 30646, 70541, 80854, 14037, 15044, 67, 154663, 418, 32036, 304, 1052, 214493, 627, 120820, 31330, 127, ...
[ 0.137451171875, 0.2122802734375, 0.08056640625, 0.136962890625, 0.12548828125, 0.1766357421875, 0.1287841796875, 0.197265625, 0.1527099609375, 0.142333984375, 0.1741943359375, 0.1712646484375, 0.239501953125, 0.095703125, 0.1900634765625, 0.1883544921875, 0.021881103515625, 0.00625...
embed
44143790_c0
44143790
prolog
0
Title: Prolog Database Duplicates Problem title: Prolog Database Duplicates Tags: prolog, database, relational, algebra, sql Problem: Prolog Database Duplicates I'm new to Prolog. My "database" consists of the following rules: teacher(1, 'Benjamin', 'Johnson'). teacher(2, 'Mike', 'Oliver'). teacher(3, 'James', 'Johnson...
Prolog Database Duplicates Prolog Database Duplicates prolog database relational algebra sql Prolog Database Duplicates Benjamin Johnson Mike Oliver James School1 Town1 School2 Town2 School3 Town3 Group1 Group2 Group3 Group4 Group5 Group6 TeacherID TeacherFirstname TeacherLastname SchoolID SchoolName City GroupID Group...
[ 0.01904296875, 0.015380859375, 0.00011682510375976562, 0.00823974609375, -0.014404296875, 0.004150390625, -0.0196533203125, -0.01226806640625, -0.0034637451171875, -0.0439453125, -0.0233154296875, 0.008544921875, 0.00836181640625, -0.00482177734375, -0.0140380859375, 0.0230712890625, ...
[ 1250, 4867, 187781, 786, 52721, 1636, 502, 63399, 41911, 289, 144, 429, 2844, 99247, 74715, 59520, 41576, 70189, 14631, 19188, 418, 52649, 304, 363, 10760, 910, 165136, 7146, 11627, 2729, 271, 163612, 6406, 3525, 10135, 37382, 58055, 25632, ...
[ 0.1973876953125, 0.3017578125, 0.2183837890625, 0.2056884765625, 0.29541015625, 0.0728759765625, 0.1148681640625, 0.1552734375, 0.166259765625, 0.084228515625, 0.056121826171875, 0.119384765625, 0.1552734375, 0.19384765625, 0.2017822265625, 0.2476806640625, 0.176025390625, 0.206909...
embed
42682405_c0
42682405
prolog
0
Title: Prolog existence error exception Problem title: Prolog existence error exception Tags: exception, debugging, prolog Problem: Prolog existence error exception Firstly, I'm not a prolog programmer. I'm doing an assignment for school where we build a small expert system. I've chosen to use prolog for the assignment...
Prolog existence error exception Prolog existence error exception exception debugging prolog Prolog existence_error There west_africa tan_with_black_streaks janka_hardness A:V Prolog existence error exception Firstly, I'm not a prolog programmer. I'm doing an assignment for school where we build a small expert system. ...
[ 0.0113525390625, 0.0147705078125, -0.00433349609375, 0.0162353515625, 0.00396728515625, 0.0224609375, -0.0019989013671875, 0.011474609375, 0.00555419921875, -0.05859375, 0.0152587890625, 0.0194091796875, 0.0029449462890625, -0.0084228515625, 0.04443359375, -0.01019287109375, 0.024902...
[ 1250, 4867, 116311, 18499, 131527, 8, 978, 502, 188800, 8622, 65272, 11, 72428, 2197, 76228, 151675, 5967, 24251, 79, 10217, 25612, 7432, 62, 12, 856, 959, 77848, 95486, 10696, 19336, 26808, 5426, 4527, 25632, 12877, 302, 708, 179236, 29822...
[ 0.1611328125, 0.26171875, 0.224609375, 0.21142578125, 0.2037353515625, 0.1451416015625, 0.1883544921875, 0.1328125, 0.22607421875, 0.1676025390625, 0.133056640625, 0.09783935546875, 0.1990966796875, 0.19580078125, 0.1754150390625, 0.1319580078125, 0.158447265625, 0.05255126953125, ...
embed
76649811_c0
76649811
prolog
0
Title: Prolog - writing a query to calculate total of four given numbers Problem title: Prolog - writing a query to calculate total of four given numbers Tags: prolog Problem: Prolog - writing a query to calculate total of four given numbers First off, let me say that I am quite a beginner in Prolog. I can create simpl...
Prolog - writing a query to calculate total of four given numbers Prolog - writing a query to calculate total of four given numbers prolog Prolog Prolog - writing a query to calculate total of four given numbers First off, let me say that I am quite a beginner in Prolog. I can create simple rules and facts (I know how ...
[ 0.0123291015625, 0.041259765625, -0.01324462890625, 0.001312255859375, -0.003692626953125, -0.0025787353515625, -0.0120849609375, 0.01483154296875, -0.002166748046875, -0.042724609375, -0.007537841796875, -0.0096435546875, -0.007537841796875, 0.0036468505859375, 0.004974365234375, 0.01...
[ 1250, 4867, 32562, 41, 1294, 74481, 67, 3622, 22759, 34475, 101935, 47, 111, 502, 9842, 1679, 23, 831, 28282, 8781, 91736, 15824, 3714, 195625, 61924, 1653, 13, 26531, 41911, 2967, 1112, 209, 427, 496, 3871, 15190, 1829, 6626, 20653, 3363...
[ 0.17919921875, 0.249755859375, 0.1551513671875, 0.16455078125, 0.16748046875, 0.214111328125, 0.0182037353515625, 0.18359375, 0.2247314453125, 0.1585693359375, 0.199462890625, 0.0142822265625, 0.0197601318359375, 0.1485595703125, 0.03656005859375, 0.048980712890625, 0.004425048828125...
embed
13547797_c1
13547797
prolog
1
is drunk in the green house', 'The Ukrainian drinks tea', 'The green house is immediately to the right of the ivory house', 'The Old Gold smoker owns snails', 'Kools are smoked in the yellow house', 'Milk is drunk in the middle house', 'The Norwegian lives in the first house', 'The man who smokes Chesterfield lives in...
is drunk in the green house', 'The Ukrainian drinks tea', 'The green house is immediately to the right of the ivory house', 'The Old Gold smoker owns snails', 'Kools are smoked in the yellow house', 'Milk is drunk in the middle house', 'The Norwegian lives in the first house', 'The man who smokes Chesterfield lives in...
[ -0.025390625, 0.0247802734375, 0.000591278076171875, 0.03466796875, 0.0279541015625, 0.00811767578125, -0.022216796875, 0.0052490234375, 0.0174560546875, -0.0189208984375, -0.013671875, 0.0103759765625, -0.00128936767578125, 0.003143310546875, -0.02392578125, 0.03857421875, -0.008666...
[ 83, 104, 79099, 23, 50997, 18276, 3957, 61764, 3378, 23417, 26156, 109312, 47, 7108, 3104, 53, 25074, 18217, 2614, 1728, 10002, 16854, 7870, 12110, 929, 7, 621, 205811, 92369, 92, 86991, 103993, 60742, 5117, 332, 5024, 1515, 28394, 11737, ...
[ 0.09613037109375, 0.053192138671875, 0.2137451171875, 0.094970703125, 0.1651611328125, 0.1737060546875, 0.016021728515625, 0.13818359375, 0.0875244140625, 0.15478515625, 0.1572265625, 0.1141357421875, 0.048004150390625, 0.111328125, 0.1185302734375, 0.017730712890625, 0.1000366210937...
embed
66058449_c0
66058449
prolog
0
Title: APE: Converting DRS to Struct Problem title: APE: Converting DRS to Struct Tags: prolog, attempto, drs Problem: APE: Converting DRS to Struct I'm trying to convert DRS to different structure. Here is unfinished work in progress (still simple DRS): conds2lst(Conds,Lst) :- maplist( \X^L^(Z-_ = X, Z =.. L), Conds, ...
APE: Converting DRS to Struct APE: Converting DRS to Struct prolog attempto drs APE Converting DRS Struct conds2lst Conds Lst Z-_ Adj Noun Obj Verb Subj _Obj IndObj ape2drs Peter APE: Converting DRS to Struct I'm trying to convert DRS to different structure. Here is unfinished work in progress (still simple DRS): of co...
[ 0.0098876953125, -0.0010223388671875, -0.00830078125, 0.006439208984375, 0.00970458984375, 0.021728515625, 0.00714111328125, 0.0194091796875, 0.00347900390625, -0.017333984375, 0.004150390625, 0.026123046875, -0.01318359375, -0.01470947265625, -0.0038299560546875, 0.004119873046875, ...
[ 120321, 12, 1657, 814, 1916, 391, 15396, 47, 63667, 15390, 502, 4867, 81887, 31, 3568, 7, 158, 6468, 304, 271, 567, 170, 309, 3545, 1446, 275, 8273, 46471, 68634, 7569, 7948, 31577, 96760, 12921, 45646, 48310, 4488, 42658, 8781, 43581, ...
[ 0.20751953125, 0.012359619140625, 0.082275390625, 0.162109375, 0.060638427734375, 0.063720703125, 0.2646484375, 0.0999755859375, 0.200927734375, 0.1346435546875, 0.1112060546875, 0.163818359375, 0.1678466796875, 0.06884765625, 0.1014404296875, 0.05877685546875, 0.0814208984375, 0.0...
embed
28575390_c0
28575390
prolog
0
Title: Prolog return date and event associated with it Problem title: Prolog return date and event associated with it Tags: prolog Problem: Prolog return date and event associated with it So hello guys, i have been working on this question for hours, but i can solve it, if you guys can give me hints that would be great...
Prolog return date and event associated with it Prolog return date and event associated with it prolog Prolog Year Valentin Family Answer Day Event Prolog return date and event associated with it So hello guys, i have been working on this question for hours, but i can solve it, if you guys can give me hints that would ...
[ 0.00244140625, -0.00634765625, 0.00616455078125, 0.0101318359375, -0.0072021484375, 0.0028533935546875, -0.01239013671875, 0.013916015625, -0.00372314453125, -0.05224609375, -0.0091552734375, -0.01239013671875, -0.0027923583984375, 0.0107421875, -0.0031585693359375, 0.007415771484375, ...
[ 1250, 4867, 30646, 5622, 136, 19732, 137272, 678, 442, 502, 42552, 60524, 59745, 130373, 10013, 36943, 21974, 86869, 5122, 2967, 29806, 190, 124519, 34475, 147306, 11809, 5117, 14012, 5155, 17932, 31150, 50960, 21775, 12638, 765, 13312, 30957, ...
[ 0.173828125, 0.2459716796875, 0.2315673828125, 0.136474609375, 0.0147857666015625, 0.171630859375, 0.158203125, 0.043975830078125, 0.0270538330078125, 0.1307373046875, 0.1295166015625, 0.238037109375, 0.09375, 0.188232421875, 0.1318359375, 0.16455078125, 0.006439208984375, 0.042175...
embed
72566616_c0
72566616
prolog
0
Title: Accumulate list recursively, gives multiple results because of bungled backtracks Problem title: Accumulate list recursively, gives multiple results because of bungled backtracks Tags: prolog Problem: Accumulate list recursively, gives multiple results because of bungled backtracks rank(1). rank(2). rank(3). ran...
Accumulate list recursively, gives multiple results because of bungled backtracks Accumulate list recursively, gives multiple results because of bungled backtracks prolog Accumulate fold_rank Rank stackoverflow.com _Rank Rest Files RemoveFiles _Files Role File FRest Role-File Accumulate list recursively, gives multiple...
[ 0.00482177734375, 0.01080322265625, 0.0054931640625, -0.001800537109375, -0.043212890625, 0.0038909912109375, -0.008544921875, 0.0128173828125, 0.021728515625, 0.002166748046875, 0.029541015625, 0.004058837890625, 0.0084228515625, 0.0228271484375, -0.00372314453125, -0.008544921875, ...
[ 29899, 6407, 19309, 5303, 195625, 5844, 76199, 48716, 50339, 6637, 7271, 32502, 4420, 125728, 502, 4867, 42822, 36467, 134405, 177261, 5465, 118664, 126525, 49756, 42724, 181139, 174350, 2777, 525, 31577, 366, 63847, 563, 11572, 79315, 3173, 86...
[ 0.08331298828125, 0.172607421875, 0.147216796875, 0.2137451171875, 0.1990966796875, 0.09326171875, 0.048797607421875, 0.1917724609375, 0.1734619140625, 0.04400634765625, 0.1131591796875, 0.1787109375, 0.1390380859375, 0.25, 0.100830078125, 0.106201171875, 0.1270751953125, 0.1430664...
embed
6392725_c0
6392725
prolog
0
Title: Using a prolog DCG to find & replace - code review Problem title: Using a prolog DCG to find & replace - code review Tags: dcg, prolog Problem: Using a prolog DCG to find & replace - code review I came up w/ the following code to replace all occurences of Find w/ Replace in Request & put the answer in Re...
Using a prolog DCG to find & replace - code review Using a prolog DCG to find & replace - code review dcg prolog Using DCG Find Replace Request Result ResultRest Found Intermediate Put Make Any Using a prolog DCG to find & replace - code review I came up w/ the following code to replace all occurences of Find w...
[ 0.00799560546875, 0.0067138671875, 0.01416015625, 0.00012493133544921875, 0.00738525390625, 0.0220947265625, -0.00604248046875, -0.0157470703125, 0.01123046875, -0.00982666015625, -0.0123291015625, 0.0162353515625, -0.0003795623779296875, -0.015869140625, 0.01287841796875, 0.0103759765...
[ 345, 502, 4867, 391, 56367, 7413, 619, 25133, 74, 91995, 18151, 8347, 47, 104, 177, 26040, 853, 23935, 75616, 126684, 525, 215624, 5337, 12333, 19577, 26176, 28541, 1257, 25632, 756, 74918, 148, 64, 3884, 35166, 17368, 5303, 62816, 1653, ...
[ 0.0516357421875, 0.170654296875, 0.2076416015625, 0.11865234375, 0.2176513671875, 0.197509765625, 0.1009521484375, 0.02593994140625, 0.0015869140625, 0.205078125, 0.1611328125, 0.0853271484375, 0.009521484375, 0.028594970703125, 0.0887451171875, 0.235107421875, 0.0728759765625, 0.2...
embed
11915425_c0
11915425
prolog
0
Title: How do parenthesis work? Problem title: How do parenthesis work? Tags: prolog Problem: How do parenthesis work? I wrote an algorithm and tried to implement it in Prolog, but what I found out is that the parenthesis do not work as expected: what is written in is not all done before exiting the parenthesis. Here i...
How do parenthesis work? How do parenthesis work? prolog L1 How Last Than A.1 Add Begin A.2 Start make_list NewL Why _G849 How do parenthesis work? I wrote an algorithm and tried to implement it in Prolog, but what I found out is that the parenthesis do not work as expected: what is written in is not all done before ex...
[ -0.0106201171875, 0.00750732421875, 0.00836181640625, 0.01043701171875, 0.00885009765625, 0.01019287109375, -0.024169921875, 0.00170135498046875, 0.02978515625, 0.00506591796875, 0.002655029296875, -0.0009765625, -0.004852294921875, 0.00506591796875, 0.01806640625, 0.0030059814453125, ...
[ 11249, 54, 49129, 160291, 7, 4488, 502, 4867, 339, 418, 21672, 72820, 62, 29117, 121427, 304, 13794, 3249, 6562, 2356, 866, 44084, 724, 178764, 234873, 29479, 1250, 959, 237, 84751, 59121, 23, 756, 16940, 8108, 82230, 18151, 3642, 15400, ...
[ 0.1317138671875, 0.093505859375, 0.2098388671875, 0.239501953125, 0.1597900390625, 0.17236328125, 0.1380615234375, 0.211181640625, 0.05078125, 0.04937744140625, 0.1871337890625, 0.1124267578125, 0.05224609375, 0.07000732421875, 0.092529296875, 0.061279296875, 0.057830810546875, 0.0...
embed
70326916_c0
70326916
prolog
0
Title: A program that displays the number of all descendants of this person's family tree Problem title: A program that displays the number of all descendants of this person's family tree Tags: prolog Problem: A program that displays the number of all descendants of this person's family tree Sample database: ...
A program that displays the number of all descendants of this person's family tree A program that displays the number of all descendants of this person's family tree prolog num_of_descendant Nb1 III descendant_path Lower Upper Down1 descendants_count TopLevel Count aggregate_all Desc A program that displays t...
[ 0.0191650390625, 0.0130615234375, -0.00445556640625, 0.004730224609375, 0.00653076171875, 0.0289306640625, -0.01153564453125, -0.0034027099609375, 0.009521484375, -0.053466796875, -0.0146484375, -0.04248046875, 0.005615234375, 0.017333984375, 0.0166015625, 0.004730224609375, 0.030761...
[ 62, 1528, 450, 44116, 14012, 756, 60887, 10840, 3445, 3768, 14449, 53201, 502, 4867, 13269, 4390, 112, 31146, 58349, 275, 418, 4830, 1236, 128405, 61187, 26655, 49472, 71013, 4792, 5267, 2601, 108210, 197564, 5584, 68320, 33209, 63399, 1375, ...
[ 0.045440673828125, 0.234619140625, 0.010162353515625, 0.1507568359375, 0.1097412109375, 0.09332275390625, 0.275390625, 0.130126953125, 0.06121826171875, 0.0755615234375, 0.08905029296875, 0.208251953125, 0.1236572265625, 0.13671875, 0.1622314453125, 0.13916015625, 0.051971435546875, ...
embed
55248466_c0
55248466
prolog
0
Title: Trying to add siblings to every node in a binary tree with one child so that all nodes have 2 or zero children. In other words no nodes have 1 child Problem title: Trying to add siblings to every node in a binary tree with one child so that all nodes have 2 or zero children. In other words no nodes have 1 child ...
Trying to add siblings to every node in a binary tree with one child so that all nodes have 2 or zero children. In other words no nodes have 1 child Trying to add siblings to every node in a binary tree with one child so that all nodes have 2 or zero children. In other words no nodes have 1 child prolog Trying Root Rig...
[ 0.00848388671875, 0.003936767578125, -0.0174560546875, -0.013427734375, -0.0096435546875, 0.010498046875, -0.0274658203125, 0.00469970703125, 0.01470947265625, -0.00897216796875, 0.011474609375, -0.033447265625, 0.0013427734375, 0.0223388671875, 0.0277099609375, -0.0018310546875, 0.0...
[ 40858, 15190, 78, 79298, 11907, 110, 112, 2394, 6635, 53201, 1632, 29041, 756, 988, 116, 45234, 20020, 106, 678, 765, 502, 4867, 150948, 90911, 636, 2480, 1528, 134598, 4734, 18811, 11814, 808, 13574, 5016, 17324, 35046, 17168, 14773, 31089...
[ 0.0771484375, 0.123291015625, 0.1002197265625, 0.180908203125, 0.0731201171875, 0.146484375, 0.09228515625, 0.148681640625, 0.11083984375, 0.1964111328125, 0.1009521484375, 0.1688232421875, 0.036956787109375, 0.107421875, 0.0782470703125, 0.1710205078125, 0.15869140625, 0.096008300...
embed
21209862_c0
21209862
prolog
0
Title: Create Prolog Vocabulary Problem title: Create Prolog Vocabulary Tags: circuit, prolog Problem: Create Prolog Vocabulary I am quite new to prolog, and I have some basic questions... I don't know if "vocabulary" is the right world in English, but I need to create one to describe an electronic circuit. My problem ...
Create Prolog Vocabulary Create Prolog Vocabulary circuit prolog Create Prolog Vocabulary Gate Type XOR Create Prolog Vocabulary I am quite new to prolog, and I have some basic questions... I don't know if "vocabulary" is the right world in English, but I need to create one to describe an electronic circuit. My problem...
[ 0.032958984375, -0.00156402587890625, -0.00023174285888671875, 0.028564453125, -0.01153564453125, -0.007598876953125, 0.00106048583984375, 0.0015716552734375, -0.012939453125, -0.0296630859375, 0.0022735595703125, -0.0244140625, -0.006927490234375, -0.005279541015625, 0.01483154296875, ...
[ 151313, 1250, 4867, 196420, 32262, 1294, 61404, 502, 132936, 60457, 1193, 24638, 32233, 3525, 765, 62822, 17582, 3714, 965, 408, 7108, 8999, 14941, 28282, 1632, 98363, 65133, 2967, 3642, 32354, 4527, 44, 22422, 63805, 26946, 17368, 159, 38969...
[ 0.1612548828125, 0.16943359375, 0.26318359375, 0.1824951171875, 0.204833984375, 0.163818359375, 0.18017578125, 0.1500244140625, 0.18505859375, 0.166259765625, 0.06915283203125, 0.2078857421875, 0.0128173828125, 0.053192138671875, 0.011871337890625, 0.041107177734375, 0.05401611328125...
embed
36820803_c0
36820803
prolog
0
Title: check other possibilities PROLOG Problem title: check other possibilities PROLOG Tags: prolog Problem: check other possibilities PROLOG I want to make a program that tells me the steps I need to take, things to keep in mind are: from node 1 to other there is a colour (red, brown, yellow) must be in this order, f...
check other possibilities PROLOG check other possibilities PROLOG prolog PROLOG maze_steps first_color Visited next_color check other possibilities PROLOG I want to make a program that tells me the steps I need to take, things to keep in mind are: from node 1 to other there is a colour (red, brown, yellow) must be in t...
[ 0.0034027099609375, -0.0023040771484375, -0.003814697265625, 0.02783203125, 0.0013580322265625, 0.00323486328125, -0.006072998046875, 0.004852294921875, 0.0111083984375, -0.0301513671875, -0.0032196044921875, 0.00762939453125, 0.001220703125, 0.0047607421875, 0.013916015625, 0.01647949...
[ 12765, 3789, 97370, 2449, 10514, 47510, 502, 4867, 291, 731, 95528, 5117, 46133, 98684, 11737, 3444, 3249, 1528, 14192, 163, 98441, 3871, 5646, 8966, 13695, 7086, 1295, 110, 112, 106, 134855, 2822, 119455, 205811, 8110, 903, 12989, 100, 119...
[ 0.2164306640625, 0.1710205078125, 0.23193359375, 0.076416015625, 0.1953125, 0.2578125, 0.1588134765625, 0.226806640625, 0.08978271484375, 0.1719970703125, 0.1939697265625, 0.086669921875, 0.1953125, 0.140625, 0.0926513671875, 0.0755615234375, 0.039031982421875, 0.15771484375, 0.0...
embed
21427425_c0
21427425
prolog
0
Title: Translating the insert fact from Prolog to core.logic Problem title: Translating the insert fact from Prolog to core.logic Tags: clojure-core.logic, prolog, clojure Problem: Translating the insert fact from Prolog to core.logic I'm toying around with core.logic and trying to translate some Prolog code and run in...
Translating the insert fact from Prolog to core.logic Translating the insert fact from Prolog to core.logic clojure-core.logic prolog clojure Prolog Translating core.logic Inserting clojure-core.logic Translating the insert fact from Prolog to core.logic I'm toying around with core.logic and trying to translate some Pr...
[ -0.01025390625, -0.009033203125, 0.0162353515625, 0.0101318359375, -0.0145263671875, 0.0050048828125, -0.0111083984375, -0.03759765625, 0.00848388671875, -0.0252685546875, 0.00927734375, 0.00177001953125, -0.0277099609375, -0.0164794921875, 0.007537841796875, 0.007537841796875, -0.00...
[ 11062, 143, 183540, 15824, 1250, 4867, 47, 56458, 137043, 20450, 461, 107, 30854, 502, 2189, 3900, 18151, 195625, 2242, 11431, 111, 6626, 10750, 121122, 14858, 158, 991, 171859, 5303, 2967, 4568, 4122, 236, 109921, 1221, 8306, 30646, 43240, ...
[ 0.11181640625, 0.1441650390625, 0.235107421875, 0.1859130859375, 0.1556396484375, 0.2109375, 0.029815673828125, 0.140380859375, 0.1500244140625, 0.09088134765625, 0.09912109375, 0.100341796875, 0.080078125, 0.044189453125, 0.1490478515625, 0.12109375, 0.12890625, 0.044647216796875,...
embed
8555285_c0
8555285
prolog
0
Title: Prolog - adding to a list recursively Problem title: Prolog - adding to a list recursively Tags: rule, prolog, list Problem: Prolog - adding to a list recursively I'm trying to write a rule that goes through a database of facts and adds up the numbers from each fact together and saves it into a list: to be speci...
Prolog - adding to a list recursively Prolog - adding to a list recursively rule prolog list Prolog Station1 Station2 Time Station3 Prolog - adding to a list recursively I'm trying to write a rule that goes through a database of facts and adds up the numbers from each fact together and saves it into a list: to be speci...
[ 0.017822265625, 0.0108642578125, 0.0172119140625, 0.0029144287109375, -0.003326416015625, -0.0135498046875, -0.01239013671875, 0.01556396484375, 0.022705078125, -0.06640625, 0.00555419921875, -0.0159912109375, -0.01708984375, 0.0025177001953125, 0, -0.000705718994140625, 0.0164794921...
[ 1250, 4867, 154107, 47, 5303, 195625, 5844, 79986, 502, 38488, 418, 304, 19055, 363, 538, 31577, 33022, 8305, 63399, 15824, 15190, 101935, 12638, 25842, 30098, 29458, 35509, 35166, 2396, 758, 30646, 20706, 4989, 120696, 1221, 5646, 17721, 662...
[ 0.1622314453125, 0.2462158203125, 0.17578125, 0.07470703125, 0.194580078125, 0.2021484375, 0.1259765625, 0.173095703125, 0.1204833984375, 0.1590576171875, 0.0074462890625, 0.037841796875, 0.1102294921875, 0.0789794921875, 0.01055908203125, 0.05804443359375, 0.062286376953125, 0.032...
embed
55839817_c0
55839817
prolog
0
Title: Format minimal path Problem title: Format minimal path Tags: prolog, water-jug-problem Problem: Format minimal path So I've been working on something to help me understand Prolog better. I took the traditional water jug problem but added a bit of difficulty. Thus, my code is working pretty good. The only thing l...
Format minimal path Format minimal path prolog water-jug-problem Format Format minimal path So I've been working on something to help me understand Prolog better. I took the traditional water jug problem but added a bit of difficulty. Thus, my code is working pretty good. The only thing left to do would be to do some n...
[ -0.0004749298095703125, -0.005859375, 0.00482177734375, 0.0150146484375, -0.01470947265625, 0.004364013671875, -0.0026397705078125, 0.000362396240234375, -0.00142669677734375, 0.027099609375, 0.02490234375, 0.000423431396484375, -0.0206298828125, 0.00177764892578125, 0.0030670166015625, ...
[ 60972, 20187, 60875, 502, 4867, 7401, 461, 177, 38953, 20697, 28219, 1250, 89160, 103863, 2967, 34844, 18151, 4127, 25737, 26267, 9384, 1916, 140992, 45831, 14037, 26292, 214, 27781, 3917, 29786, 2704, 5303, 24087, 3674, 1884, 903, 425, 275, ...
[ 0.2607421875, 0.268310546875, 0.26025390625, 0.1104736328125, 0.222412109375, 0.129638671875, 0.1502685546875, 0.08343505859375, 0.1546630859375, 0.05828857421875, 0.0203704833984375, 0.1322021484375, 0.03204345703125, 0.207763671875, 0.1549072265625, 0.037353515625, 0.1539306640625,...
embed
59639196_c0
59639196
prolog
0
Title: Why is this rule not consuming the first character [Prolog CFG]? Problem title: Why is this rule not consuming the first character [Prolog CFG]? Tags: swi-prolog, grammar, parsing, prolog Problem: Why is this rule not consuming the first character [Prolog CFG]? I am trying to write a rule for wrapping elements b...
Why is this rule not consuming the first character [Prolog CFG]? Why is this rule not consuming the first character [Prolog CFG]? swi-prolog grammar parsing prolog Why Prolog CFG First char_code Last string_chars Text Why is this rule not consuming the first character [Prolog CFG]? I am trying to write a rule for wrapp...
[ 0.0159912109375, 0.02587890625, -0.01214599609375, 0.0264892578125, -0.005523681640625, 0.01513671875, -0.005859375, 0.01422119140625, -0.0026397705078125, -0.0213623046875, 0.01416015625, 0.0101318359375, -0.01123046875, -0.01092529296875, 0.0203857421875, 0.012451171875, 0.01159667...
[ 44084, 83, 903, 79986, 959, 18588, 214, 5117, 62816, 10752, 4867, 123254, 2452, 3454, 122092, 366, 502, 1250, 313, 23972, 21441, 40899, 21672, 79315, 9254, 24129, 31577, 33022, 137565, 10366, 80854, 22, 33558, 195625, 5844, 12830, 7464, 8035,...
[ 0.12841796875, 0.03277587890625, 0.07720947265625, 0.2034912109375, 0.1328125, 0.180419921875, 0.040191650390625, 0.1324462890625, 0.20166015625, 0.134033203125, 0.224365234375, 0.175537109375, 0.10107421875, 0.0809326171875, 0.016326904296875, 0.022918701171875, 0.068359375, 0.155...
embed
72530622_c0
72530622
prolog
0
Title: Labeling for Constraint Logic Programming in prolog Problem title: Labeling for Constraint Logic Programming in prolog Tags: labeling, clpfd, prolog, constraint-programming Problem: Labeling for Constraint Logic Programming in prolog I am currently writing an (exciting!) code in prolog that aims at returning an ...
Labeling for Constraint Logic Programming in prolog Labeling for Constraint Logic Programming in prolog labeling clpfd prolog constraint-programming Labeling Constraint Logic Programming Labeling for Constraint Logic Programming in prolog I am currently writing an (exciting!) code in prolog that aims at returning an op...
[ 0.01190185546875, 0.01275634765625, 0.0011749267578125, 0.0113525390625, -0.00122833251953125, -0.005584716796875, -0.01104736328125, 0.0015411376953125, -0.005889892578125, -0.026123046875, -0.0013885498046875, -0.006134033203125, 0.00022125244140625, -0.01165771484375, 0.022705078125, ...
[ 129214, 100, 1657, 2816, 4288, 50592, 27958, 502, 4867, 67967, 39557, 71, 158, 28966, 82424, 32562, 318, 18151, 131264, 30646, 24087, 456, 89700, 41311, 1774, 13204, 24233, 60042, 117, 120067, 38750, 139392, 5303, 7722, 53201, 114149, 18153, ...
[ 0.25341796875, 0.1083984375, 0.079345703125, 0.16650390625, 0.08270263671875, 0.1912841796875, 0.1654052734375, 0.146240234375, 0.2161865234375, 0.2548828125, 0.0552978515625, 0.0931396484375, 0.003631591796875, 0.1383056640625, 0.01019287109375, 0.0863037109375, 0.04815673828125, ...
embed
52724184_c0
52724184
prolog
0
Title: Predicate gives list of unbound variables instead of all possible lists Problem title: Predicate gives list of unbound variables instead of all possible lists Tags: prolog, permutation, list Problem: Predicate gives list of unbound variables instead of all possible lists Let's say I have a list L1 = [1,2,3], I w...
Predicate gives list of unbound variables instead of all possible lists Predicate gives list of unbound variables instead of all possible lists prolog permutation list Predicate _942 _948 _954 Predicate gives list of unbound variables instead of all possible lists Let's say I have a list L1 = [1,2,3], I want to write a...
[ 0.0002536773681640625, 0.0184326171875, 0.007110595703125, 0.0019073486328125, -0.01495361328125, 0.0155029296875, -0.0166015625, 0.000408172607421875, 0.006256103515625, -0.032470703125, 0.0166015625, 0.002655029296875, 0.0303955078125, 0.019287109375, -0.01904296875, 0.021728515625, ...
[ 7145, 2063, 67, 76199, 5303, 51, 99091, 77336, 64457, 756, 7722, 502, 4867, 117, 561, 22062, 14889, 304, 1126, 9285, 8821, 617, 765, 339, 418, 68252, 155761, 3444, 33022, 1653, 831, 7413, 14311, 21094, 3714, 866, 10461, 66161, 10002, 8197...
[ 0.2236328125, 0.25341796875, 0.1424560546875, 0.11279296875, 0.2161865234375, 0.1143798828125, 0.2169189453125, 0.245361328125, 0.135498046875, 0.130615234375, 0.1636962890625, 0.1505126953125, 0.187255859375, 0.148681640625, 0.1754150390625, 0.0472412109375, 0.17431640625, 0.13928...
embed
60883594_c0
60883594
prolog
0
Title: Recursive loop exit statement needed Problem title: Recursive loop exit statement needed Tags: prolog, search Problem: Recursive loop exit statement needed this is a simple prolog example of recursion. I cannot figure out where, and more or less how, to declare the exit statement. The test flight(sofia, dublin) ...
Recursive loop exit statement needed Recursive loop exit statement needed prolog search Recursive new_york City1 City2 City3 Call _878 Exit Fail Redo Recursive loop exit statement needed this is a simple prolog example of recursion. I cannot figure out where, and more or less how, to declare the exit statement. The tes...
[ 0.020751953125, 0.002197265625, 0.022216796875, 0.030029296875, 0.0035247802734375, 0.01544189453125, -0.0135498046875, 0.009033203125, 0.00982666015625, -0.033203125, 0.00970458984375, -0.006622314453125, -0.0299072265625, 0.0162353515625, 0.0294189453125, -0.01025390625, 0.01391601...
[ 853, 48650, 5844, 40956, 82230, 63805, 44841, 502, 4867, 33938, 3525, 13437, 92, 6406, 418, 304, 363, 26265, 200439, 5443, 217, 190355, 6096, 31, 8781, 27781, 195625, 1830, 53418, 26366, 7440, 159978, 70, 3034, 113014, 54304, 399, 84449, 73...
[ 0.0670166015625, 0.2105712890625, 0.141845703125, 0.2171630859375, 0.2296142578125, 0.229736328125, 0.2081298828125, 0.1297607421875, 0.188720703125, 0.181884765625, 0.04998779296875, 0.09002685546875, 0.045867919921875, 0.08905029296875, 0.045867919921875, 0.07965087890625, 0.104919...
embed
10689032_c0
10689032
prolog
0
Title: Prolog family tree Problem title: Prolog family tree Tags: prolog Problem: Prolog family tree I'm trying to write a family tree program in Prolog for my homework. This is a part of the code. /** a sample fact **/ parents(someone, someoneelse, child). /** are M and F parents of the children in the given list? **/...
Prolog family tree Prolog family tree prolog Prolog First Rest Call _G586 Exit _G541 _G514 Fail Redo _G508 _G509 Prolog family tree I'm trying to write a family tree program in Prolog for my homework. This is a part of the code. When I use a query that matches the fact, above code works. But when I try this: it doesn't...
[ 0.0299072265625, -0.004119873046875, 0.01165771484375, -0.006988525390625, -0.0091552734375, 0.0086669921875, 0.0057373046875, 0.00116729736328125, 0.01263427734375, -0.03173828125, 0.00830078125, -0.00885009765625, -0.0213623046875, 0.00433349609375, 0.0250244140625, -0.00680541992187...
[ 1250, 4867, 14449, 53201, 502, 23972, 49756, 26265, 189010, 5443, 217, 12338, 418, 758, 2592, 190355, 6096, 31, 2525, 1019, 1126, 31577, 33022, 1528, 18244, 18151, 41, 14858, 15824, 36917, 43240, 9790, 22027, 18, 4488, 30957, 54241, 40956, ...
[ 0.1649169921875, 0.266845703125, 0.0755615234375, 0.212890625, 0.1121826171875, 0.05908203125, 0.14404296875, 0.162841796875, 0.179931640625, 0.0853271484375, 0.08203125, 0.089111328125, 0.011993408203125, 0.0139923095703125, 0.087890625, 0.181884765625, 0.1378173828125, 0.19226074...
embed
77512708_c0
77512708
prolog
0
Title: Blocks-World Problem in Prolog keeps oscillating between the same two states Problem title: Blocks-World Problem in Prolog keeps oscillating between the same two states Tags: artificial-intelligence, prolog, planning, depth-first-search Problem: Blocks-World Problem in Prolog keeps oscillating between the same t...
Blocks-World Problem in Prolog keeps oscillating between the same two states Blocks-World Problem in Prolog keeps oscillating between the same two states artificial-intelligence prolog planning depth-first-search a the Y Blocks-World Problem Prolog Define BLOCKS Extract Given Additional move_onto_table move_onto_block ...
[ -0.004669189453125, 0.017333984375, 0.014892578125, 0.006744384765625, -0.00775146484375, 0.0084228515625, -0.0015106201171875, -0.015625, 0.015380859375, -0.0081787109375, 0.01348876953125, 0.0167236328125, 0.00390625, -0.01263427734375, 0.00180816650390625, 0.008544921875, 0.002365...
[ 80231, 7, 9, 70646, 15649, 23, 1250, 4867, 13695, 362, 121226, 1916, 17721, 5701, 6626, 117249, 66733, 130687, 502, 58136, 168867, 13448, 271, 86250, 990, 262, 64552, 335, 124448, 20113, 31501, 25813, 40863, 22819, 81409, 22836, 108421, 80908...
[ 0.250244140625, 0.1427001953125, 0.007049560546875, 0.19921875, 0.2066650390625, 0.0435791015625, 0.1654052734375, 0.2418212890625, 0.113525390625, 0.10693359375, 0.225830078125, 0.065673828125, 0.135009765625, 0.098388671875, 0.0877685546875, 0.16650390625, 0.07373046875, 0.083496...
embed
67888820_c0
67888820
prolog
0
Title: Prolog program to find odd values from a tree that repeat twice in another tree Problem title: Prolog program to find odd values from a tree that repeat twice in another tree Tags: binary-tree, tree, prolog, list Problem: Prolog program to find odd values from a tree that repeat twice in another tree This is a m...
Prolog program to find odd values from a tree that repeat twice in another tree Prolog program to find odd values from a tree that repeat twice in another tree binary-tree tree prolog list a Prolog List Counts Res Oldres Finds Root Left Right Lres Rres Prolog program to find odd values from a tree that repeat twice in ...
[ 0.022705078125, 0.0002498626708984375, 0.00494384765625, -0.01025390625, 0.033203125, 0.02294921875, -0.026611328125, -0.00787353515625, 0.02685546875, -0.03173828125, 0.00506591796875, 0.002593994140625, 0.01092529296875, -0.0052490234375, 0.034423828125, 0.004852294921875, 0.034912...
[ 1250, 4867, 1528, 7413, 70270, 142424, 53201, 119140, 186351, 15700, 1295, 23, 2394, 6635, 62600, 502, 5303, 32036, 108210, 9624, 25074, 2109, 26040, 150948, 2480, 90911, 32166, 42276, 16030, 62952, 35187, 7986, 18781, 618, 73, 418, 17727, 51...
[ 0.1787109375, 0.244384765625, 0.1741943359375, 0.1370849609375, 0.23583984375, 0.190673828125, 0.2135009765625, 0.2462158203125, 0.2314453125, 0.07568359375, 0.03271484375, 0.031402587890625, 0.14013671875, 0.040863037109375, 0.1304931640625, 0.147216796875, 0.0994873046875, 0.1073...
embed
61056405_c0
61056405
prolog
0
Title: Proving H intersects K is a subgroup in Prolog (H and K are subgroups) Problem title: Proving H intersects K is a subgroup in Prolog (H and K are subgroups) Tags: equivalence-classes, finite-group-theory, prolog Problem: Proving H intersects K is a subgroup in Prolog (H and K are subgroups) I am developing a gro...
Proving H intersects K is a subgroup in Prolog (H and K are subgroups) Proving H intersects K is a subgroup in Prolog (H and K are subgroups) equivalence-classes finite-group-theory prolog Proving Prolog Proving H intersects K is a subgroup in Prolog (H and K are subgroups) I am developing a group theory prover. Right ...
[ 0.0123291015625, 0.0001983642578125, 0.011474609375, 0.007537841796875, -0.0078125, 0.004364013671875, -0.0240478515625, -0.005889892578125, -0.00128936767578125, 0.0011749267578125, -0.014404296875, 0.03125, -0.0020599365234375, 0.00714111328125, 0.0002918243408203125, 0.011962890625,...
[ 1250, 572, 1940, 39797, 341, 1614, 51588, 4867, 841, 136, 224743, 67413, 94418, 502, 21115, 154453, 814, 98869, 64549, 41911, 69112, 1096, 706, 177, 5759, 10617, 44289, 230612, 62621, 183234, 25632, 18151, 23534, 7, 24762, 137578, 44691, 1403...
[ 0.112548828125, 0.2017822265625, 0.1312255859375, 0.171875, 0.178955078125, 0.1849365234375, 0.183837890625, 0.1956787109375, 0.1771240234375, 0.10052490234375, 0.121337890625, 0.045806884765625, 0.038116455078125, 0.05865478515625, 0.0562744140625, 0.05670166015625, 0.0631103515625,...
embed
27934186_c0
27934186
prolog
0
Title: Prolog printing storage address instead of actual variables Problem title: Prolog printing storage address instead of actual variables Tags: prolog Problem: Prolog printing storage address instead of actual variables I am writing a auto draw program for the Champion League knockout round using Prolog. The code a...
Prolog printing storage address instead of actual variables Prolog printing storage address instead of actual variables prolog the Prolog ChampionLeagueAutoDraw_KnockOutRound Zach set_prolog_flag prompt_alternatives_on toplevel_print_options max_depth Dynamic bool_taken BayernMunich Germany AtleticoMadird Spain RealMad...
[ 0.0133056640625, 0.00153350830078125, 0.0018463134765625, -0.00148773193359375, -0.0084228515625, 0.0020904541015625, -0.0191650390625, 0.012451171875, 0.0025634765625, 0.0296630859375, 0.00445556640625, 0.01043701171875, -0.00140380859375, -0.004119873046875, 0.0159912109375, -0.01287...
[ 1250, 4867, 2448, 1916, 132096, 29823, 64457, 8561, 77336, 502, 205002, 233353, 38115, 81456, 157, 2594, 79858, 12724, 102142, 5423, 3454, 190872, 105876, 119927, 2663, 67919, 35662, 109585, 18389, 168867, 73327, 142484, 1865, 52945, 10685, 93, ...
[ 0.1920166015625, 0.28173828125, 0.186279296875, 0.05914306640625, 0.2225341796875, 0.1859130859375, 0.1136474609375, 0.162109375, 0.24072265625, 0.1484375, 0.137939453125, 0.1368408203125, 0.1680908203125, 0.19384765625, 0.051666259765625, 0.006011962890625, 0.128173828125, 0.05627...
embed
35952275_c0
35952275
prolog
0
Title: Prolog weird Error When recursively iterating through a list Problem title: Prolog weird Error When recursively iterating through a list Tags: prolog Problem: Prolog weird Error When recursively iterating through a list I need to make a predicate that checks if the total cost of ingredients to make X equal Y. He...
Prolog weird Error When recursively iterating through a list Prolog weird Error When recursively iterating through a list prolog Prolog Error When carne_asada al_pastor sour_cream carnitas_taco birria_taco al_pastor_taco guacamole_taco al_pastor_burrito carne_asada_burrito adobado_burrito carnitas_sopa lengua_sopa comb...
[ 0.002838134765625, 0.0101318359375, 0.00080108642578125, 0.00152587890625, 0.0048828125, 0.00909423828125, -0.015625, 0.0225830078125, 0.0079345703125, -0.0269775390625, -0.00107574462890625, 0.0025634765625, -0.00653076171875, -0.0169677734375, 0.0263671875, -0.0030059814453125, -0....
[ 1250, 4867, 179459, 212059, 14847, 195625, 5844, 17, 67, 98767, 8305, 5303, 502, 20366, 162, 1090, 144, 3166, 1290, 221, 474, 114382, 2258, 93, 1073, 102, 587, 263, 1651, 42348, 9779, 16836, 5992, 40880, 12706, 1138, 31401, 170492, 375, 8...
[ 0.1806640625, 0.259765625, 0.2291259765625, 0.20751953125, 0.06976318359375, 0.202880859375, 0.1285400390625, 0.05810546875, 0.180908203125, 0.13330078125, 0.152099609375, 0.2044677734375, 0.1539306640625, 0.14599609375, 0.065673828125, 0.13134765625, 0.1168212890625, 0.09301757812...
embed