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
74295966_c0
74295966
prolog
0
Title: Prolog solution for entry gate Problem title: Prolog solution for entry gate Tags: prolog Problem: Prolog solution for entry gate I am looking for a way to solve a program in Prolog such that there will be two gates. Based on the input the system will see if the user is nearer to the entry or exit gate. Then it ...
Prolog solution for entry gate Prolog solution for entry gate prolog entry Prolog Enter What Gate You Exit Opens Wrong Prolog solution for entry gate I am looking for a way to solve a program in Prolog such that there will be two gates. Based on the input the system will see if the user is nearer to the entry or exit g...
[ 0.030517578125, -0.01318359375, 0.01068115234375, -0.004547119140625, 0.0048828125, -0.00102996826171875, -0.01385498046875, 0.005523681640625, -0.0025787353515625, -0.03466796875, -0.0079345703125, 0.000408172607421875, -0.03076171875, 0.0184326171875, 0.01336669921875, 0.003997802734...
[ 1250, 4867, 29806, 100, 42805, 70836, 502, 60816, 4865, 132936, 2583, 5443, 217, 13527, 35133, 16487, 86869, 1528, 6626, 107730, 5426, 1957, 2174, 38937, 43573, 56, 47, 707, 82230, 105876, 52231, 83, 70, 78506, 493, 40383, 26785, 190875, 44...
[ 0.187255859375, 0.250732421875, 0.143310546875, 0.03814697265625, 0.21142578125, 0.205078125, 0.1519775390625, 0.16162109375, 0.053253173828125, 0.2030029296875, 0.0433349609375, 0.156005859375, 0.1461181640625, 0.18896484375, 0.1678466796875, 0.00897216796875, 0.1077880859375, 0.0...
embed
43622353_c0
43622353
prolog
0
Title: Gprolog Knight's Tour using Warnsdorff's Rule Problem title: Gprolog Knight's Tour using Warnsdorff's Rule Tags: knights-tour, prolog Problem: Gprolog Knight's Tour using Warnsdorff's Rule I'm trying to implement Warnsdorff's Rule in Gprolog to generate tours on an arbitrary chessboard. I fou...
Gprolog Knight's Tour using Warnsdorff's Rule Gprolog Knight's Tour using Warnsdorff's Rule knights-tour prolog Warnsdorff Gprolog Knight Tour Rule Row Col Past NewX_ NewY_ Count NewX NewY Gprolog Knight's Tour using Warnsdorff's Rule I'm trying to implement Warnsdorff's Rule in Gprolog to generate ...
[ -0.001129150390625, 0.00592041015625, 0.0015106201171875, -0.0022125244140625, -0.0240478515625, 0.007781982421875, -0.016845703125, -0.0086669921875, 0.0103759765625, -0.0198974609375, 0.004486083984375, 0.0147705078125, -0.0228271484375, 0.00787353515625, -0.01287841796875, -0.003112...
[ 527, 3454, 4867, 114996, 3768, 11330, 17368, 5550, 19, 133097, 420, 139118, 54350, 28889, 502, 96190, 11554, 3805, 2356, 1542, 1723, 108210, 29479, 139392, 9742, 61799, 290, 7, 24351, 4127, 29806, 335, 3900, 19309, 29954, 472, 93766, 208124, ...
[ 0.08251953125, 0.182861328125, 0.2139892578125, 0.2193603515625, 0.072265625, 0.2447509765625, 0.0419921875, 0.1553955078125, 0.0260467529296875, 0.18359375, 0.1495361328125, 0.1593017578125, 0.1656494140625, 0.1871337890625, 0.127197265625, 0.1053466796875, 0.05340576171875, 0.082...
embed
65645979_c1
65645979
prolog
1
patient whose patient_risk is patient_risk and whose condition is patient_condition and whose lifestyle is life_style and whose anaemia is anaemia_state and invoke ruleset testing and restart. %resets collected data %ACTION--------------------------- %consider rulesets instead for admission types. rule clinical_trial_...
patient whose patient_risk is patient_risk and whose condition is patient_condition and whose lifestyle is life_style and whose anaemia is anaemia_state and invoke ruleset testing and restart. %resets collected data %ACTION--------------------------- %consider rulesets instead for admission types. rule clinical_trial_...
[ -0.00531005859375, 0.01519775390625, 0.01116943359375, 0.00885009765625, -0.007354736328125, -0.00732421875, -0.0025787353515625, 0.01031494140625, 0.00860595703125, 0.003448486328125, 0.0096435546875, -0.0103759765625, -0.0047607421875, 0.01251220703125, -0.00213623046875, 0.008850097...
[ 37896, 124901, 57786, 83, 136, 35431, 126940, 101906, 6897, 40946, 3877, 32868, 61340, 23253, 91736, 126, 134234, 456, 17137, 5, 2109, 7831, 43799, 2053, 15012, 212065, 64457, 606, 21150, 52895, 79986, 56465, 18, 51626, 10869, 685, 2174, 1119...
[ 0.204345703125, 0.0694580078125, 0.27001953125, 0.0243072509765625, 0.006622314453125, 0.1856689453125, 0.2091064453125, 0.1395263671875, 0.029541015625, 0.1563720703125, 0.1248779296875, 0.19677734375, 0.0838623046875, 0.1148681640625, 0.14453125, 0.159912109375, 0.1697998046875, ...
embed
24306166_c0
24306166
prolog
0
Title: Prolog - rule to determine date and status of object. Problem title: Prolog - rule to determine date and status of object. Tags: conditional-statements, prolog, compare, rule Problem: Prolog - rule to determine date and status of object. Firstly, here is my code so far: number_book(111, brave_new_world). number_...
Prolog - rule to determine date and status of object. Prolog - rule to determine date and status of object. conditional-statements prolog compare rule Prolog number_book brave_new_world lord_of_the_flies fight_club wind_in_the_willows the_hobbit author_book huxley_aldus golding_william palahniuk_chuck grahame_kenneth t...
[ 0.0286865234375, -0.00897216796875, -0.0093994140625, 0.007476806640625, 0.0029296875, 0.007293701171875, -0.01409912109375, 0.014892578125, 0.011474609375, -0.0091552734375, 0.0057373046875, -0.01422119140625, -0.0079345703125, -0.0198974609375, 0.0181884765625, -0.0002651214599609375...
[ 1250, 4867, 20, 79986, 47, 83324, 5622, 136, 10778, 111, 36746, 35431, 289, 61340, 502, 69101, 14012, 14137, 1620, 272, 54936, 32554, 7822, 4390, 36361, 78431, 41152, 32382, 73, 2347, 2452, 41566, 70, 22155, 18, 42179, 4571, 425, 4293, 68...
[ 0.2137451171875, 0.3076171875, 0.011993408203125, 0.212158203125, 0.03631591796875, 0.1907958984375, 0.2037353515625, 0.1014404296875, 0.188720703125, 0.0287017822265625, 0.222412109375, 0.161376953125, 0.0833740234375, 0.1337890625, 0.1624755859375, 0.1822509765625, 0.1591796875, ...
embed
61581545_c1
61581545
prolog
1
write(A), %%% asking user write('?'),nl, write(MenuList), read(X), %%% get the value check_val(X,A,V,_), %%% checks the value entered is in the menu. asserta(known(yes,A,X)), %%% if yes remembers it. X==V. check_val(X,_,_,MenuList):-member(X,MenuList). check_val(X, A, V, MenuList) : write(X), write(' is not a legal val...
write(A), %%% asking user write('?'),nl, write(MenuList), read(X), %%% get the value check_val(X,A,V,_), %%% checks the value entered is in the menu. asserta(known(yes,A,X)), %%% if yes remembers it. X==V. check_val(X,_,_,MenuList):-member(X,MenuList). check_val(X, A, V, MenuList) : write(X), write(' is not a legal val...
[ 0.0032501220703125, -0.0084228515625, -0.0006256103515625, 0.022216796875, -0.01422119140625, 0.029052734375, -0.018310546875, 0.00122833251953125, 0.005035400390625, -0.01141357421875, 0.0286865234375, 0.006439208984375, 0.00860595703125, -0.007720947265625, 0.025146484375, -0.0209960...
[ 33022, 284, 3949, 113292, 38937, 32, 13169, 29638, 34, 154663, 12301, 1542, 2046, 34292, 12765, 1405, 856, 30957, 8026, 110965, 69723, 63736, 72272, 37629, 1193, 69112, 27417, 62, 310, 49434, 83, 959, 10, 8437, 9790, 13438, 1042, 51529, 181...
[ 0.1873779296875, 0.0877685546875, 0.0166778564453125, 0.124755859375, 0.1417236328125, 0.07281494140625, 0.13671875, 0.0928955078125, 0.0202789306640625, 0.139404296875, 0.115234375, 0.06951904296875, 0.071044921875, 0.208740234375, 0.16357421875, 0.1761474609375, 0.1197509765625, ...
embed
15423258_c0
15423258
prolog
0
Title: Prolog Recursion on List Problem title: Prolog Recursion on List Tags: list, prolog, recursion Problem: Prolog Recursion on List I am trying to understand how this prolog program works, and, as a beginner, I'm having some difficulty. The program is as follows: initialCan([w, b, w, w, w]). scholten([X], X). schol...
Prolog Recursion on List Prolog Recursion on List list prolog recursion Prolog Recursion List Answer Call _17 _84 Exit Prolog Recursion on List I am trying to understand how this prolog program works, and, as a beginner, I'm having some difficulty. The program is as follows: Here is the trace from running it through th...
[ -0.00186920166015625, 0.00823974609375, 0.0159912109375, 0.021484375, -0.0157470703125, 0.00421142578125, -0.0084228515625, -0.0101318359375, 0.0150146484375, -0.005828857421875, 0.01513671875, -0.00112152099609375, -0.02587890625, -0.001617431640625, 0.0079345703125, -0.00921630859375...
[ 1250, 4867, 165428, 42, 6889, 98, 32036, 5303, 502, 195625, 1830, 130373, 26265, 2489, 13903, 5443, 217, 31577, 28219, 3642, 903, 1528, 43240, 1679, 34844, 28960, 144851, 51042, 8305, 5117, 29806, 13580, 63134, 100094, 70, 5844, 11782, 7, 4...
[ 0.1751708984375, 0.25048828125, 0.1724853515625, 0.161376953125, 0.1204833984375, 0.16943359375, 0.22021484375, 0.17626953125, 0.1497802734375, 0.2244873046875, 0.019439697265625, 0.1614990234375, 0.15380859375, 0.102783203125, 0.164306640625, 0.1317138671875, 0.05987548828125, 0.0...
embed
4766650_c0
4766650
prolog
0
Title: RegEx Parser written in Prolog Problem title: RegEx Parser written in Prolog Tags: dcg, prolog, regex Problem: RegEx Parser written in Prolog I've been banging my head against the wall on this homework problem for a few hours now. We have to parse a regular expression with Prolog. For the most part, the predicat...
RegEx Parser written in Prolog RegEx Parser written in Prolog dcg prolog regex RegEx Parser Prolog re_match Letter Rx1 Rx2 List List1 List2 RegEx Parser written in Prolog I've been banging my head against the wall on this homework problem for a few hours now. We have to parse a regular expression with Prolog. For the m...
[ 0.0027008056640625, 0.0118408203125, 0.006500244140625, 0.021240234375, -0.00921630859375, 0.01531982421875, -0.0174560546875, 0.0196533203125, 0.0164794921875, -0.00714111328125, -0.0064697265625, 0.004974365234375, -0.0091552734375, 0.002349853515625, 0.01458740234375, 0.013916015625...
[ 11678, 19279, 2392, 2189, 59121, 1250, 4867, 238, 177, 502, 6835, 3355, 456, 98753, 105451, 425, 418, 304, 32036, 11339, 26548, 58982, 18244, 2967, 366, 184, 20324, 125195, 1653, 2063, 1636, 4488, 79315, 375, 16091, 11675, 1810, 177261, 326...
[ 0.1533203125, 0.2001953125, 0.144775390625, 0.13330078125, 0.053497314453125, 0.148193359375, 0.218994140625, 0.01318359375, 0.09210205078125, 0.099609375, 0.103271484375, 0.1558837890625, 0.09503173828125, 0.2073974609375, 0.1151123046875, 0.057159423828125, 0.021575927734375, 0.0...
embed
64726887_c0
64726887
prolog
0
Title: Prolog stack limit exceeded Problem title: Prolog stack limit exceeded Tags: prolog Problem: Prolog stack limit exceeded Need help!! I was designing a knowledge base to identify (mulberry or strawberry) based on the 3 parameters(Temp, Humid, Smoist; each has 3 category, high, medium, low), but I am out of idea w...
Prolog stack limit exceeded Prolog stack limit exceeded prolog Prolog Training M_temp M_humid M_smoist S_temp S_humid S_smoist Temp Humid Smoist Mulberry Strawberry Test ERROR Stack Choice Probable user:mulberry _5210 _5212 _5232 _5234 Prolog stack limit exceeded Need help!! I was designing a knowledge base to identify...
[ 0.033935546875, 0.01361083984375, -0.006317138671875, -0.01495361328125, 0.015869140625, 0.01239013671875, -0.00555419921875, 0.01153564453125, 0.0194091796875, -0.01177978515625, 0.01611328125, -0.0152587890625, 0.01129150390625, -0.004547119140625, 0.02490234375, -0.005279541015625, ...
[ 1250, 4867, 177261, 17475, 204839, 502, 44284, 276, 34224, 22462, 26634, 1419, 37446, 19210, 57549, 21442, 53623, 7832, 434, 8647, 151206, 24638, 6512, 2594, 181948, 275, 38937, 15458, 12744, 963, 98989, 10289, 297, 4358, 4331, 51359, 3647, 1...
[ 0.181640625, 0.250244140625, 0.249755859375, 0.2352294921875, 0.1962890625, 0.129150390625, 0.17041015625, 0.004669189453125, 0.15087890625, 0.107421875, 0.096435546875, 0.146240234375, 0.1268310546875, 0.146240234375, 0.1468505859375, 0.122314453125, 0.2261962890625, 0.11950683593...
embed
16220467_c0
16220467
prolog
0
Title: In Prolog (SWI), how to build a knowledge base of user supplied pairs and assert to be equal Problem title: In Prolog (SWI), how to build a knowledge base of user supplied pairs and assert to be equal Tags: prolog Problem: In Prolog (SWI), how to build a knowledge base of user supplied pairs and assert to be equ...
In Prolog (SWI), how to build a knowledge base of user supplied pairs and assert to be equal In Prolog (SWI), how to build a knowledge base of user supplied pairs and assert to be equal prolog Prolog SWI Subject Object term_to_atom In Prolog (SWI), how to build a knowledge base of user supplied pairs and assert to be e...
[ 0.01422119140625, 0.0211181640625, -0.00958251953125, 0.026611328125, -0.003814697265625, 0.00872802734375, -0.005950927734375, 0.01007080078125, -0.00823974609375, -0.030517578125, 0.0184326171875, 0.01318359375, 0.00994873046875, -0.009765625, 0.00030517578125, 0.0020904541015625, ...
[ 1250, 4867, 294, 38969, 3642, 45367, 51359, 3647, 38937, 120384, 80836, 237, 33657, 47, 186, 105950, 502, 94341, 134549, 13579, 188, 11, 5928, 360, 4552, 3525, 31577, 30698, 1528, 1884, 22691, 79315, 50986, 111, 87344, 75101, 13315, 66159, ...
[ 0.1732177734375, 0.250244140625, 0.033416748046875, 0.1986083984375, 0.054229736328125, 0.180419921875, 0.1722412109375, 0.2093505859375, 0.180419921875, 0.1734619140625, 0.25439453125, 0.082275390625, 0.2030029296875, 0.06353759765625, 0.10498046875, 0.250732421875, 0.10711669921875...
embed
71100126_c1
71100126
prolog
1
if true). rule(croaks(frotz) if true). rule(sings(tweety) if true). rule(chips(tweety) if true). rule(has_wings(tweety) if true). rule(croaks(krogr) if true). rule(chips(kroger) if true). rule(canary(X) if and(sings(X),chips(X),has_wings(X))). rule(frog(X) if and(croaks(X),eats_flies(X))). rule(green(X) if frog(X)). r...
if true). rule(croaks(frotz) if true). rule(sings(tweety) if true). rule(chips(tweety) if true). rule(has_wings(tweety) if true). rule(croaks(krogr) if true). rule(chips(kroger) if true). rule(canary(X) if and(sings(X),chips(X),has_wings(X))). rule(frog(X) if and(croaks(X),eats_flies(X))). rule(green(X) if frog(X)). r...
[ 0.02099609375, 0.0164794921875, -0.00074005126953125, 0.024658203125, -0.01068115234375, 0.006744384765625, 0.00136566162109375, -0.0145263671875, 0.000640869140625, -0.0089111328125, -0.00823974609375, -0.0179443359375, 0.00127410888671875, 0.00982666015625, -0.0050048828125, -0.00671...
[ 2174, 29568, 194, 79986, 132, 15322, 24251, 45701, 9136, 7, 5180, 223378, 53, 95975, 10557, 14775, 16417, 3964, 1505, 4398, 6635, 1542, 136, 5, 211209, 13, 9821, 36361, 99433, 6, 1033, 41566, 831, 157, 135457, 16498, 299, 38232, 7844, 172...
[ 0.0986328125, 0.1905517578125, 0.044952392578125, 0.202392578125, 0.0276947021484375, 0.1287841796875, 0.10223388671875, 0.0947265625, 0.1480712890625, 0.1070556640625, 0.1336669921875, 0.105224609375, 0.111572265625, 0.1143798828125, 0.08917236328125, 0.1663818359375, 0.083374023437...
embed
11234469_c0
11234469
prolog
0
Title: How do I show the results of pattern-matching goals in SWI-Prolog from a shell invocation? Problem title: How do I show the results of pattern-matching goals in SWI-Prolog from a shell invocation? Tags: swi-prolog, prolog, shell Problem: How do I show the results of pattern-matching goals in SWI-Prolog from a sh...
How do I show the results of pattern-matching goals in SWI-Prolog from a shell invocation? How do I show the results of pattern-matching goals in SWI-Prolog from a shell invocation? swi-prolog prolog shell a How SWI-Prolog kb.pl How do I show the results of pattern-matching goals in SWI-Prolog from a shell invocation? ...
[ 0.0087890625, 0.031982421875, 0.006317138671875, 0.0123291015625, -0.0224609375, 0.00433349609375, 0.00396728515625, 0.004150390625, 0.007720947265625, -0.00799560546875, 0.002899169921875, 0.013916015625, -0.01519775390625, 0.002960205078125, 0.00823974609375, -0.001983642578125, 0....
[ 11249, 7639, 50339, 103510, 98753, 214, 109458, 159, 38969, 9, 10752, 4867, 1295, 128019, 23, 202010, 91, 2452, 3454, 502, 51882, 2424, 111, 62163, 140992, 23253, 8781, 51359, 3647, 5303, 759, 28412, 47, 6138, 1003, 9790, 438, 3714, 14037, ...
[ 0.043975830078125, 0.1783447265625, 0.194091796875, 0.2315673828125, 0.2177734375, 0.124755859375, 0.2000732421875, 0.06756591796875, 0.2491455078125, 0.036376953125, 0.1585693359375, 0.2080078125, 0.0870361328125, 0.21337890625, 0.0711669921875, 0.188232421875, 0.037322998046875, ...
embed
76970731_c0
76970731
prolog
0
Title: Flatten list in Prolog Problem title: Flatten list in Prolog Tags: prolog Problem: Flatten list in Prolog I am fairly new to Prolog and attempting an exercise to flatten a list. My attempt is below, I've seen other correct implementations, but I can't figure out what is wrong with mine in particular. my_flatten(...
Flatten list in Prolog Flatten list in Prolog prolog Flatten Prolog my_flatten List Flattened my_flatten_acc When Acc First Flatten list in Prolog I am fairly new to Prolog and attempting an exercise to flatten a list. My attempt is below, I've seen other correct implementations, but I can't figure out what is wrong wi...
[ 0.0089111328125, 0.0234375, 0.0096435546875, 0.01129150390625, -0.00579833984375, 0.01953125, 0.00146484375, 0.00823974609375, 0.0029144287109375, 0.00927734375, 0.02685546875, 0.004241943359375, -0.00982666015625, 0.01287841796875, -0.0081787109375, 0.0162353515625, 0.01507568359375...
[ 106516, 510, 5303, 1250, 4867, 23, 502, 759, 150632, 32036, 297, 10060, 14847, 29899, 23972, 81887, 81979, 49878, 35064, 26785, 208124, 26366, 44691, 5665, 35782, 351, 33548, 107730, 154663, 6528, 15400, 8368, 190647, 1239, 24658 ]
[ 0.2064208984375, 0.21337890625, 0.2193603515625, 0.1370849609375, 0.2010498046875, 0.0165557861328125, 0.0819091796875, 0.0653076171875, 0.15185546875, 0.19873046875, 0.032989501953125, 0.07305908203125, 0.0152740478515625, 0.10028076171875, 0.0704345703125, 0.09783935546875, 0.08789...
embed
15101123_c0
15101123
prolog
0
Title: Seeing if there is a possible train route through Prolog Problem title: Seeing if there is a possible train route through Prolog Tags: prolog, recursion Problem: Seeing if there is a possible train route through Prolog A problem I'm working on with Prolog is to see if a train can travel from one destination to t...
Seeing if there is a possible train route through Prolog Seeing if there is a possible train route through Prolog prolog recursion Seeing Prolog Through Seeing if there is a possible train route through Prolog A problem I'm working on with Prolog is to see if a train can travel from one destination to the next. There a...
[ 0.01397705078125, 0.0272216796875, 0.005279541015625, 0.0147705078125, 0.019287109375, 0.005096435546875, -0.0047607421875, -0.00994873046875, -0.003509521484375, -0.05322265625, -0.01055908203125, 0.004638671875, -0.010009765625, 0.001708984375, 0.01556396484375, 0.002105712890625, ...
[ 6872, 214, 2174, 2685, 7722, 25550, 36439, 8305, 1250, 4867, 83, 502, 195625, 194397, 2967, 20697, 678, 47, 1957, 831, 26983, 1295, 1632, 78869, 11737, 6626, 91736, 1286, 81814, 1735, 22600, 3731, 31754, 6921, 34271, 59826, 76199, 18151, 82...
[ 0.179443359375, 0.045654296875, 0.0830078125, 0.008758544921875, 0.1951904296875, 0.25146484375, 0.206787109375, 0.1561279296875, 0.19140625, 0.26806640625, 0.01007080078125, 0.150146484375, 0.195556640625, 0.140625, 0.14697265625, 0.057647705078125, 0.008514404296875, 0.119140625,...
embed
41468676_c0
41468676
prolog
0
Title: How can I replace a list in Prolog? Problem title: How can I replace a list in Prolog? Tags: prolog Problem: How can I replace a list in Prolog? I think it's very easy but I have no idea how to do that. I tried by attribuition, doing a list receive another list but don't work. % H is the head of a coordenate and...
How can I replace a list in Prolog? How can I replace a list in Prolog? prolog How Prolog L10 NewTray Q-1 How can I replace a list in Prolog? I think it's very easy but I have no idea how to do that. I tried by attribuition, doing a list receive another list but don't work. I need that L1 be the N in this clause, I don...
[ -0.0211181640625, 0.01470947265625, -0.00148773193359375, 0.013671875, -0.0096435546875, -0.025634765625, -0.0194091796875, 0.01422119140625, 0.009521484375, -0.00811767578125, 0.00799560546875, 0.016845703125, -0.002899169921875, -0.020263671875, 0.01806640625, 0.004486083984375, 0....
[ 11249, 831, 87, 91995, 10, 5303, 23, 1250, 4867, 502, 339, 963, 2356, 28542, 53, 2396, 5759, 4552, 23468, 6528, 3642, 198473, 1363, 53299, 15700, 4488, 3871, 418, 186, 541, 70731, 28282, 2811, 40383, 7413, 93232, 87388, 80854, 15190, 3687...
[ 0.06915283203125, 0.07305908203125, 0.011749267578125, 0.254150390625, 0.0517578125, 0.25634765625, 0.09466552734375, 0.185546875, 0.254638671875, 0.0823974609375, 0.0904541015625, 0.1070556640625, 0.0689697265625, 0.1475830078125, 0.068603515625, 0.05645751953125, 0.064697265625, ...
embed
40363004_c1
40363004
prolog
1
:- nonvar(Term), !, Term =.. [F|Args], append(Left, [R|Right], Args), append(Left, [R1|Right], CtxArgs), Ctx =.. [F|CtxArgs], (SubTerm = R, Hole = R1 ; term_ctx_subterm(R, Ctx1-Hole, SubTerm), R1 = Ctx1 ), Ctx =.. [F|CtxArgs]. term_ctx_subterm(Term, Ctx-Hole, SubTerm) :- nonvar(Ctx), !, Term = Ctx, Hole = SubTerm. tes...
:- nonvar(Term), !, Term =.. [F|Args], append(Left, [R|Right], Args), append(Left, [R1|Right], CtxArgs), Ctx =.. [F|CtxArgs], (SubTerm = R, Hole = R1 ; term_ctx_subterm(R, Ctx1-Hole, SubTerm), R1 = Ctx1 ), Ctx =.. [F|CtxArgs]. term_ctx_subterm(Term, Ctx-Hole, SubTerm) :- nonvar(Ctx), !, Term = Ctx, Hole = SubTerm. tes...
[ 0.017822265625, 0.0013275146484375, 0.0172119140625, 0.00518798828125, -0.0096435546875, -0.0089111328125, -0.020751953125, 0.01171875, 0.0146484375, -0.00225830078125, 0.00933837890625, 0.0155029296875, -0.006256103515625, 0.006988525390625, 0.006683349609375, -0.00048828125, 0.0039...
[ 15772, 351, 1961, 35484, 39, 711, 2994, 2203, 919, 7614, 9405, 114689, 71, 2480, 1052, 22553, 1172, 418, 313, 18, 425, 96472, 627, 14355, 13579, 15390, 22144, 32166, 20268, 113251, 8273, 454, 9, 441, 13, 3034, 501, 876, 275, 104, 98320,...
[ 0.157470703125, 0.1947021484375, 0.286376953125, 0.2354736328125, 0.2080078125, 0.144775390625, 0.2376708984375, 0.196044921875, 0.1199951171875, 0.09625244140625, 0.1612548828125, 0.141357421875, 0.05706787109375, 0.0908203125, 0.09814453125, 0.1024169921875, 0.10296630859375, 0.0...
embed
54500548_c0
54500548
prolog
0
Title: How can find all states of operator equals of one number in list of number Problem title: How can find all states of operator equals of one number in list of number Tags: prolog Problem: How can find all states of operator equals of one number in list of number We have list of number and list of operator we must...
How can find all states of operator equals of one number in list of number How can find all states of operator equals of one number in list of number prolog How Numbers Operators member_ get_calcul Temp Out Top Temp1 all_operations Len N-1 LenOps LOps Ops atomic_list_concat How can find all states of operator equals of...
[ 0.00089263916015625, -0.0142822265625, 0.01177978515625, 0.01373291015625, -0.00311279296875, -0.016357421875, 0.00150299072265625, -0.0025634765625, 0.0047607421875, -0.0120849609375, 0.0224609375, -0.01177978515625, 0.0234375, 0.034423828125, -0.0081787109375, -0.0201416015625, -0....
[ 11249, 831, 7413, 756, 117249, 111, 39933, 105950, 7, 1632, 14012, 23, 5303, 502, 4867, 103332, 150922, 32786, 2046, 6827, 8972, 37446, 13538, 4792, 21473, 18226, 5759, 39029, 6423, 2331, 34627, 6562, 4460, 11341, 131519, 160404, 12830, 61924...
[ 0.019683837890625, 0.045867919921875, 0.128662109375, 0.145751953125, 0.2049560546875, 0.0933837890625, 0.263671875, 0.196044921875, 0.0965576171875, 0.1083984375, 0.1602783203125, 0.016448974609375, 0.1307373046875, 0.1160888671875, 0.175537109375, 0.1400146484375, 0.2493896484375, ...
embed
42748320_c0
42748320
prolog
0
Title: crossword puzzle with prolog Problem title: crossword puzzle with prolog Tags: crossword, prolog Problem: crossword puzzle with prolog Currently I am doing a Prolog tutorial . There is an exercise to solve a crossword puzzle with 5 words. My Problem is that Prolog stops unification for my solution at a very earl...
crossword puzzle with prolog crossword puzzle with prolog crossword prolog Prolog _10 _11 _12 _720 _722 _724 _726 _728 _730 _732 _734 _738 _740 _742 _744 _746 _748 _750 _752 _756 _758 _760 _762 _764 _766 _768 _770 _774 _776 _780 _784 _788 _792 _794 _798 _802 _806 _810 _812 _816 _820 crossword puzzle with prolog Current...
[ 0.019775390625, -0.00518798828125, 0.0078125, 0.01007080078125, -0.00811767578125, 0.005645751953125, -0.0233154296875, 0.01043701171875, -0.00005841255187988281, -0.03271484375, 0.01422119140625, 0.00049591064453125, 0.01318359375, 0.0174560546875, 0.002532958984375, 0.0272216796875, ...
[ 41421, 47416, 104192, 678, 502, 4867, 1250, 963, 1662, 1530, 114988, 191539, 2357, 4046, 3882, 13574, 189982, 206007, 117525, 184376, 195953, 9271, 9285, 58087, 6873, 199009, 178058, 178683, 176779, 168405, 2485, 1019, 1549, 57143, 81979, 86869, ...
[ 0.135498046875, 0.1595458984375, 0.1884765625, 0.1112060546875, 0.1890869140625, 0.264892578125, 0.201416015625, 0.12890625, 0.0732421875, 0.0697021484375, 0.1224365234375, 0.131591796875, 0.1083984375, 0.1268310546875, 0.112548828125, 0.0235595703125, 0.11669921875, 0.1083984375, ...
embed
75384641_c1
75384641
prolog
1
1)]] . (it shows the right coordinates, but (0,0) twice, because is not assterted as visited and all in one path). Thanks in advance to everyone. % to calculate the max max([X],X):-!. max([X|T],X):- max(T,N),X>=N,!. max([X|T],N):- max(T,N). :- dynamic visitato/2. ostacolo(2,0). trofeo(1,1). % with this I am finding th...
1)]] . (it shows the right coordinates, but (0,0) twice, because is not assterted as visited and all in one path). Thanks in advance to everyone. % to calculate the max max([X],X):-!. max([X|T],X):- max(T,N),X>=N,!. max([X|T],N):- max(T,N). :- dynamic visitato/2. ostacolo(2,0). trofeo(1,1). % with this I am finding th...
[ 0.0054931640625, 0.0228271484375, 0.01336669921875, 0.01507568359375, 0.01611328125, 0.00250244140625, -0.00787353515625, -0.00286865234375, 0.0174560546875, -0.051025390625, 0.001983642578125, 0.01220703125, -0.0120849609375, -0.004791259765625, 0.012939453125, 0.006683349609375, 0....
[ 4879, 86245, 5, 45831, 7108, 176866, 90, 1284, 63527, 186351, 6637, 959, 1515, 3674, 237, 36997, 756, 23, 1632, 60875, 22362, 129745, 47, 30309, 1745, 74481, 67, 18389, 1542, 4, 9, 38, 58745, 618, 839, 84079, 9691, 188, 12477, 19855, 22...
[ 0.07037353515625, 0.05963134765625, 0.03656005859375, 0.09747314453125, 0.1337890625, 0.2230224609375, 0.0723876953125, 0.07293701171875, 0.1715087890625, 0.181396484375, 0.0268402099609375, 0.097900390625, 0.005584716796875, 0.03997802734375, 0.007720947265625, 0.1544189453125, 0.03...
embed
6810307_c0
6810307
prolog
0
Title: Finding distance between nodes of a graph in prolog Problem title: Finding distance between nodes of a graph in prolog Tags: prolog, graph-theory Problem: Finding distance between nodes of a graph in prolog I have a graph in Prolog represented by the edges & weights: connected(a,b,2). connected(b,e,1). connected...
Finding distance between nodes of a graph in prolog Finding distance between nodes of a graph in prolog prolog graph-theory Finding Length Length1 Finding distance between nodes of a graph in prolog I have a graph in Prolog represented by the edges & weights: I need to write a predicate which takes a list of nodes & di...
[ -0.0027313232421875, 0.01214599609375, 0.0087890625, 0.01092529296875, 0.00136566162109375, 0.0133056640625, -0.030029296875, 0.01239013671875, 0.0198974609375, -0.059814453125, 0.00830078125, -0.0262451171875, -0.00970458984375, -0.00323486328125, 0.001556396484375, 0.00885009765625, ...
[ 26040, 62488, 17721, 110, 988, 41382, 23, 502, 4867, 2347, 77554, 1250, 33636, 121303, 57888, 33022, 1653, 2063, 5303, 619, 4552, 4689, 62822, 6528, 116, 80854, 1957, 2174, 162711, 1286, 12830, 195625, 11737, 61924, 119591, 10336, 46741, 2324...
[ 0.1212158203125, 0.2509765625, 0.1805419921875, 0.1566162109375, 0.1453857421875, 0.20849609375, 0.029449462890625, 0.1298828125, 0.208740234375, 0.006561279296875, 0.10186767578125, 0.1285400390625, 0.084228515625, 0.1060791015625, 0.1292724609375, 0.0560302734375, 0.117919921875, ...
embed
27389010_c0
27389010
prolog
0
Title: Prolog: legal_time(between(S,E)) not showing solutions Problem title: Prolog: legal_time(between(S,E)) not showing solutions Tags: prolog Problem: Prolog: legal_time(between(S,E)) not showing solutions My legal_time predicate should be outputting when entered legal_time(X). X = between(11, 12) ; X = between(11, ...
Prolog: legal_time(between(S,E)) not showing solutions Prolog: legal_time(between(S,E)) not showing solutions prolog the Prolog legal_time is_member legal_duration start_time_list end_time_list S-E E-S Prolog: legal_time(between(S,E)) not showing solutions My legal_time predicate should be outputting when entered legal...
[ -0.0216064453125, 0.017578125, 0.0274658203125, 0.000629425048828125, -0.0164794921875, 0.0159912109375, -0.0274658203125, -0.01507568359375, 0.003814697265625, -0.018798828125, 0.01043701171875, 0.0164794921875, 0.0228271484375, 0.020751953125, 0.0021820068359375, 0.00124359130859375,...
[ 1250, 4867, 8437, 6032, 4626, 1177, 33, 294, 647, 959, 141377, 51347, 502, 27417, 3020, 4034, 6562, 3564, 159, 9, 241, 4, 1653, 2063, 67, 140992, 30957, 1542, 17378, 98320, 136, 569, 933, 18, 2633, 10644, 1636, 33022, 4966, 20697, 25647...
[ 0.156005859375, 0.2301025390625, 0.202392578125, 0.23095703125, 0.0633544921875, 0.1177978515625, 0.129150390625, 0.08197021484375, 0.10675048828125, 0.078857421875, 0.1129150390625, 0.202392578125, 0.097412109375, 0.1328125, 0.025909423828125, 0.0228729248046875, 0.092041015625, 0...
embed
51206614_c0
51206614
prolog
0
Title: Read a file and save to a list Problem title: Read a file and save to a list Tags: swi-prolog, prolog Problem: Read a file and save to a list I have a file of the form: 3 1 2 3 4 5 4 5 6 1 6 2 4 6 7 The first line identifies the lines that will follow. Those lines in turn are just a series of numbers. I need to ...
Read a file and save to a list Read a file and save to a list swi-prolog prolog Read Teams read_file File Lines Stream read_line_to_codes Line atom_codes Atom atom_number read_lines read_line Nm1 N-1 RestLines atomic_list_concat Atoms Read a file and save to a list I have a file of the form: The first line identifies t...
[ -0.001220703125, -0.0115966796875, 0.010498046875, 0.00823974609375, -0.003753662109375, 0.006622314453125, -0.00408935546875, 0.0159912109375, 0.00058746337890625, -0.0172119140625, -0.0019683837890625, 0.01055908203125, -0.0201416015625, -0.006195068359375, 0.0067138671875, 0.0088500...
[ 4764, 11435, 136, 30098, 47, 5303, 91, 2452, 3454, 4867, 502, 11399, 12301, 29822, 42724, 16777, 115061, 2256, 188, 40899, 34627, 69728, 2606, 59801, 39, 418, 541, 5759, 49756, 93232, 6562, 2271, 4460, 3173, 5117, 13315, 42485, 124519, 1221...
[ 0.1796875, 0.180908203125, 0.0273284912109375, 0.2060546875, 0.0848388671875, 0.210205078125, 0.032470703125, 0.2008056640625, 0.1324462890625, 0.2369384765625, 0.1483154296875, 0.111572265625, 0.1334228515625, 0.130615234375, 0.1209716796875, 0.1265869140625, 0.1475830078125, 0.12...
embed
40330077_c0
40330077
prolog
0
Title: prolog family tree issue Problem title: prolog family tree issue Tags: prolog Problem: prolog family tree issue When using the sibling rule from my knowledge base the question ?- issibling(jo,X). returns ali which is correct but also returns jo (meaning jo is the sister of jo). Any help would be appreciated. mot...
prolog family tree issue prolog family tree issue prolog prolog family tree issue When using the sibling rule from my knowledge base the question ?- issibling(jo,X). returns ali which is correct but also returns jo (meaning jo is the sister of jo). Any help would be appreciated.
[ 0.042236328125, -0.0181884765625, 0.0062255859375, -0.006927490234375, -0.0233154296875, 0.0086669921875, -0.0162353515625, 0.01422119140625, -0.01043701171875, -0.0208740234375, 0.02685546875, -0.03076171875, 0.006500244140625, -0.000171661376953125, 0.0208740234375, 0.00726318359375,...
[ 502, 4867, 14449, 53201, 31089, 17368, 78, 79298, 79986, 51359, 3647, 9655, 83, 172, 513, 1542, 30646, 923, 26785, 741, 37440, 592, 70, 114015, 111, 4358 ]
[ 0.10064697265625, 0.1688232421875, 0.026153564453125, 0.1636962890625, 0.1097412109375, 0.0557861328125, 0.11480712890625, 0.26123046875, 0.157958984375, 0.06158447265625, 0.0841064453125, 0.0518798828125, 0.11383056640625, 0.1373291015625, 0.2032470703125, 0.1517333984375, 0.1356201...
embed
18357171_c0
18357171
prolog
0
Title: How to use swi-prolog with android Problem title: How to use swi-prolog with android Tags: android, java, jpl, jvm, prolog Problem: How to use swi-prolog with android I have developed a prolog program with swi-prolog and I attached a interface for it using regular java with JPL.jar, That is running perfectly. No...
How to use swi-prolog with android How to use swi-prolog with android android java jpl jvm prolog UnsatisfiedLinkError java.lang.ExceptionInInitializerError java.lang.UnsatisfiedLinkError How DexOpt Ljpl Query Exception Ljava Prolog AndroidRuntime Shutting FATAL jpl.Query.open Query.java:286 jpl.Util.textToTerm Util.ja...
[ 0.0140380859375, 0.0220947265625, -0.00634765625, -0.00860595703125, -0.0245361328125, -0.0164794921875, 0.0030670166015625, 0.00872802734375, -0.00958251953125, -0.05517578125, 0.0068359375, -0.01373291015625, -0.019775390625, -0.00958251953125, 0.020263671875, -0.005279541015625, 0...
[ 11249, 47, 4527, 91, 2452, 9, 3454, 4867, 678, 54527, 79, 330, 1647, 2424, 334, 39, 502, 50958, 64287, 18468, 31611, 3066, 63928, 1890, 262, 425, 39029, 18, 170, 58836, 5443, 339, 24071, 1250, 3952, 163321, 13684, 19514, 15491, 30487, 4...
[ 0.07171630859375, 0.0275421142578125, 0.1561279296875, 0.09075927734375, 0.255615234375, 0.065185546875, 0.167236328125, 0.2376708984375, 0.1700439453125, 0.2320556640625, 0.09429931640625, 0.1417236328125, 0.0623779296875, 0.1705322265625, 0.0906982421875, 0.0782470703125, 0.1601562...
embed
34144445_c0
34144445
prolog
0
Title: Change list elements to a string with spaces in Prolog Problem title: Change list elements to a string with spaces in Prolog Tags: prolog, list, recursion, string, swi-prolog Problem: Change list elements to a string with spaces in Prolog In Prolog, if I am taking a list such as [hello,this,is,a,sentence] as a p...
Change list elements to a string with spaces in Prolog Change list elements to a string with spaces in Prolog prolog list recursion string swi-prolog Change Prolog Result Change list elements to a string with spaces in Prolog In Prolog, if I am taking a list such as [hello,this,is,a,sentence] as a parameter for a predi...
[ 0.006622314453125, -0.0004425048828125, 0.00970458984375, 0.0205078125, 0.00506591796875, 0.017333984375, -0.002532958984375, 0.0013427734375, 0.0159912109375, 0.000476837158203125, 0.0167236328125, -0.0152587890625, -0.031982421875, -0.0019683837890625, 0.005584716796875, 0.0127563476...
[ 87377, 5303, 80854, 47, 79315, 678, 32628, 7, 1250, 4867, 502, 195625, 2452, 3454, 126684, 35971, 13817, 100231, 164, 11, 12832, 6620, 237, 171859, 1653, 2063, 3642, 2046, 30646, 34292, 990, 6044, 33600, 31, 903, 83, 149357, 11675, 8305, ...
[ 0.184326171875, 0.2001953125, 0.1640625, 0.126708984375, 0.2274169921875, 0.113037109375, 0.25244140625, 0.0887451171875, 0.157470703125, 0.255615234375, 0.104248046875, 0.1395263671875, 0.122314453125, 0.12109375, 0.11376953125, 0.0374755859375, 0.1614990234375, 0.13427734375, 0...
embed
60883594_c1
60883594
prolog
1
) directFlight(paris, new_york) ? creep Call: (10) flight(new_york, dublin) ? creep Call: (11) directFlight(new_york, _878) ? creep Exit: (11) directFlight(new_york, seattle) ? creep Call: (11) flight(seattle, dublin) ? creep Call: (12) directFlight(seattle, _878) ? creep Fail: (12) directFlight(seattle, _878) ? creep ...
) directFlight(paris, new_york) ? creep Call: (10) flight(new_york, dublin) ? creep Call: (11) directFlight(new_york, _878) ? creep Exit: (11) directFlight(new_york, seattle) ? creep Call: (11) flight(seattle, dublin) ? creep Call: (12) directFlight(seattle, _878) ? creep Fail: (12) directFlight(seattle, _878) ? creep ...
[ -0.0014801025390625, 0.01385498046875, 0.0272216796875, 0.025634765625, 0.015869140625, 0.0113525390625, -0.00628662109375, -0.0035400390625, 0.006103515625, -0.0034332275390625, -0.01043701171875, -0.0111083984375, -0.0146484375, 0.0028228759765625, 0.016357421875, -0.0223388671875, ...
[ 1388, 8951, 919, 20016, 132, 24980, 7, 4, 3525, 13437, 92, 16, 705, 49512, 254, 26265, 12, 17857, 113014, 54936, 84449, 73, 21282, 101, 200439, 5443, 15520, 46401, 184, 11, 23676, 190355, 11438, 6096, 31, 54304, 399, 217, 134442, 4759, ...
[ 0.0638427734375, 0.2021484375, 0.1488037109375, 0.258544921875, 0.002471923828125, 0.1727294921875, 0.1199951171875, 0.012786865234375, 0.0643310546875, 0.1387939453125, 0.123779296875, 0.001617431640625, 0.03155517578125, 0.204345703125, 0.1842041015625, 0.2147216796875, 0.027145385...
embed
40821462_c1
40821462
prolog
1
ial2(X, A, A2), !. is_monomial(m(_C, TD, VPs)) :- integer(TD), TD >= 0, is_list(VPs). is_polynomial(poly(M)) :- is_list(M), foreach(member(Monomio, M), is_monomial(Monomio)). variables(Poly1, Result) :- is_polynomial(Poly1), variabili(Poly1, Result), !. variables(Poly1, Result) :- as_polynomial(Poly1, Result1), variabi...
ial2(X, A, A2), !. is_monomial(m(_C, TD, VPs)) :- integer(TD), TD >= 0, is_list(VPs). is_polynomial(poly(M)) :- is_list(M), foreach(member(Monomio, M), is_monomial(Monomio)). variables(Poly1, Result) :- is_polynomial(Poly1), variabili(Poly1, Result), !. variables(Poly1, Result) :- as_polynomial(Poly1, Result1), variabi...
[ -0.02587890625, 0.00154876708984375, 0.0167236328125, 0.0177001953125, 0.0303955078125, 0.031982421875, 0.0052490234375, -0.016357421875, 0.015380859375, -0.0279541015625, 0.033935546875, 0.00799560546875, -0.006011962890625, 0.0027313232421875, -0.011474609375, 0.006195068359375, -0...
[ 17, 289, 304, 1542, 4, 62, 10461, 711, 5, 83, 454, 64176, 266, 132, 39, 441, 117295, 6, 41195, 7, 16, 15772, 892, 1505, 100045, 977, 1369, 757, 6562, 194, 135545, 1687, 15403, 594, 247, 100, 41581, 27417, 46674, 306, 846, 276, 77336...
[ 0.169921875, 0.22314453125, 0.27734375, 0.1636962890625, 0.023590087890625, 0.151611328125, 0.17431640625, 0.1309814453125, 0.058441162109375, 0.2012939453125, 0.050628662109375, 0.1893310546875, 0.2020263671875, 0.048004150390625, 0.19384765625, 0.1273193359375, 0.19677734375, 0.0...
embed
56353714_c1
56353714
prolog
1
1, recuperaElemento(N,Y,Elemento, Matriz). elementoSuperior(_,_,-5,_). elementoInferior(X,Y,Elemento,Matriz) :- N is X+1, recuperaElemento(N,Y,Elemento,Matriz). elementoInferior(_,_,-5,_). elementoDireita(X,Y,Elemento,Matriz) :- N is Y+1, recuperaElemento(X,N,Elemento,Matriz). elementoDireita(_,_,-5,_). elementoEsquerd...
1, recuperaElemento(N,Y,Elemento, Matriz). elementoSuperior(_,_,-5,_). elementoInferior(X,Y,Elemento,Matriz) :- N is X+1, recuperaElemento(N,Y,Elemento,Matriz). elementoInferior(_,_,-5,_). elementoDireita(X,Y,Elemento,Matriz) :- N is Y+1, recuperaElemento(X,N,Elemento,Matriz). elementoDireita(_,_,-5,_). elementoEsquerd...
[ -0.0162353515625, 0.005889892578125, 0.005126953125, 0.02783203125, 0.0181884765625, -0.00604248046875, -0.0208740234375, 0.0159912109375, 0.02734375, -0.023681640625, -0.00384521484375, 0.00634765625, -0.006683349609375, -0.0185546875, -0.0196533203125, 0.0003261566162109375, 0.0349...
[ 106, 4, 53374, 647, 133, 2611, 839, 1723, 133019, 169, 194, 51534, 73903, 39674, 10342, 26926, 748, 1542, 79520, 14096, 15772, 541, 83, 1193, 21748, 14055, 50621, 990, 27227, 85, 5759, 12765, 6712, 3564, 20342, 4657, 16604, 519, 62571, 61...
[ 0.1103515625, 0.02020263671875, 0.26904296875, 0.00054931640625, 0.173828125, 0.1512451171875, 0.09033203125, 0.1044921875, 0.1800537109375, 0.0986328125, 0.047119140625, 0.215576171875, 0.08685302734375, 0.1427001953125, 0.1163330078125, 0.1583251953125, 0.083984375, 0.06964111328...
embed
66519451_c0
66519451
prolog
0
Title: Look for algorithm/research area that determines facts that would make a Prolog query true given a Prolog program Problem title: Look for algorithm/research area that determines facts that would make a Prolog query true given a Prolog program Tags: prolog, logic-programming, logic Problem: Look for algorithm/res...
Look for algorithm/research area that determines facts that would make a Prolog query true given a Prolog program Look for algorithm/research area that determines facts that would make a Prolog query true given a Prolog program prolog logic-programming logic Look Prolog Program Object Property Magic Facts Look for algo...
[ 0.0390625, 0.022216796875, 0.0159912109375, 0.024658203125, -0.00933837890625, 0.017333984375, -0.00836181640625, -0.00140380859375, 0.0027008056640625, -0.03173828125, 0.01422119140625, 0.00787353515625, -0.046875, 0.00506591796875, -0.00775146484375, 0.0052490234375, 0.007629394531...
[ 60818, 100, 234873, 86250, 16128, 83324, 15824, 2806, 3249, 1250, 4867, 41, 1294, 29568, 34475, 1528, 502, 62775, 28966, 7663, 134549, 206984, 61707, 132640, 16487, 25188, 18614, 25443, 5646, 136, 3444, 186, 81887, 7413, 3871, 16865, 16940, 9...
[ 0.1495361328125, 0.058258056640625, 0.24365234375, 0.115234375, 0.132080078125, 0.1513671875, 0.1790771484375, 0.031341552734375, 0.0728759765625, 0.191162109375, 0.28271484375, 0.16455078125, 0.1339111328125, 0.1998291015625, 0.04656982421875, 0.1810302734375, 0.1494140625, 0.1600...
embed
10139640_c0
10139640
prolog
0
Title: Prolog successor notation yields incomplete result and infinite loop Problem title: Prolog successor notation yields incomplete result and infinite loop Tags: non-termination, infinite-loop, successor-arithmetics, prolog, failure-slice Problem: Prolog successor notation yields incomplete result and infinite loop...
Prolog successor notation yields incomplete result and infinite loop Prolog successor notation yields incomplete result and infinite loop non-termination infinite-loop successor-arithmetics prolog failure-slice Prolog Prolog successor notation yields incomplete result and infinite loop I start to learn Prolog and first...
[ 0.0142822265625, 0.0172119140625, -0.0031890869140625, 0.0172119140625, -0.01165771484375, -0.006561279296875, 0.0029449462890625, 0.0033721923828125, 0.00103759765625, -0.02392578125, 0.016845703125, 0.00823974609375, -0.0125732421875, -0.0244140625, 0.02880859375, 0.034912109375, 0...
[ 1250, 4867, 39457, 42, 110, 22062, 11180, 19388, 82940, 46485, 16750, 54241, 40956, 351, 720, 28354, 8962, 502, 137578, 13348, 32562, 1460, 3922, 5134, 28016, 6859, 127664, 91736, 41, 90791, 31461, 305, 198343, 50339, 6626, 44402, 11205, 756,...
[ 0.1468505859375, 0.25390625, 0.1881103515625, 0.0660400390625, 0.131591796875, 0.037017822265625, 0.035400390625, 0.07379150390625, 0.08233642578125, 0.095458984375, 0.1322021484375, 0.07763671875, 0.15380859375, 0.017822265625, 0.039825439453125, 0.1522216796875, 0.014251708984375, ...
embed
64292085_c0
64292085
prolog
0
Title: Generate list in place of 'false' Problem title: Generate list in place of 'false' Tags: prolog Problem: Generate list in place of 'false' This post is about prolog programming in general, not specific to swi-prolog. floor_locations([ 0.0, 0.17, 0.33, 0.5, 0.67, 0.83, 1.0 ]). cabin_location_i...
Generate list in place of 'false' Generate list in place of 'false' prolog Generate floor_locations cabin_location_is_reached cabin_location floor_location list_floors_to_be_served floor_requests has_to_be_served floors_to_be_served_list Generate list in place of 'false' This post is about prolog pr...
[ 0.004302978515625, 0.0306396484375, 0.0076904296875, -0.01263427734375, 0.005828857421875, 0.01080322265625, 0.005126953125, 0.0002460479736328125, 0.000232696533203125, 0.0050048828125, -0.0145263671875, -0.00823974609375, -0.00994873046875, 0.000331878662109375, 0.011474609375, -0.02...
[ 155370, 67, 5303, 23, 3687, 3768, 8710, 184, 502, 4867, 74912, 87632, 377, 7568, 70443, 52347, 86687, 107, 75616, 1556, 6562, 56037, 2452, 3454, 9655, 84751, 16750, 5608, 43581, 83, 98320, 173633, 26785, 121742 ]
[ 0.2127685546875, 0.035003662109375, 0.247314453125, 0.005035400390625, 0.1763916015625, 0.0655517578125, 0.15869140625, 0.148193359375, 0.1544189453125, 0.2149658203125, 0.1651611328125, 0.156005859375, 0.0352783203125, 0.1455078125, 0.132080078125, 0.07830810546875, 0.1290283203125,...
embed
26719774_c0
26719774
prolog
0
Title: Replacing elements in list of lists PROLOG Problem title: Replacing elements in list of lists PROLOG Tags: prolog Problem: Replacing elements in list of lists PROLOG I've developed a predicate which replaces the value of the index Index of a list List with Value and creates a new updated list NewList . %replace(...
Replacing elements in list of lists PROLOG Replacing elements in list of lists PROLOG prolog Replacing PROLOG Index List Value NewList I-1 Head Tail Board2 Original Replacing elements in list of lists PROLOG I've developed a predicate which replaces the value of the index Index of a list List with Value and creates a n...
[ -0.01513671875, 0.0081787109375, 0.01025390625, -0.0030517578125, -0.026611328125, 0.000537872314453125, 0.00093841552734375, 0.0177001953125, 0.023681640625, 0.01904296875, 0.0106201171875, 0.01275634765625, -0.0005035400390625, -0.0133056640625, 0.020751953125, 0.0029754638671875, ...
[ 853, 133266, 214, 80854, 23, 5303, 111, 10514, 47510, 502, 4867, 31471, 32036, 190060, 2356, 154663, 87, 5759, 44816, 1218, 379, 62554, 304, 34525, 126809, 1653, 2063, 67, 91995, 34292, 63262, 678, 28282, 3525, 150011, 43240, 5885, 20324, 4...
[ 0.1080322265625, 0.195556640625, 0.01776123046875, 0.192626953125, 0.0789794921875, 0.23388671875, 0.0762939453125, 0.1783447265625, 0.2454833984375, 0.1343994140625, 0.193115234375, 0.21435546875, 0.206298828125, 0.2264404296875, 0.12841796875, 0.2294921875, 0.05743408203125, 0.08...
embed
12444583_c0
12444583
prolog
0
Title: escaping "\=" when using string_concatenate in SWIPL swi-prolog Problem title: escaping "\=" when using string_concatenate in SWIPL swi-prolog Tags: escaping, prolog, swi-prolog, string-concatenation Problem: escaping "\=" when using string_concatenate in SWIPL swi-prolog i would like to esca...
escaping "\=" when using string_concatenate in SWIPL swi-prolog escaping "\=" when using string_concatenate in SWIPL swi-prolog escaping prolog swi-prolog string-concatenation string_concatenate SWIPL string_concat Result Syntax Undefined escaping "\=" when using string_concatenate in SWIPL swi-prol...
[ 0.029541015625, 0.031494140625, -0.00131988525390625, 0.0174560546875, -0.01470947265625, -0.0101318359375, 0.015380859375, 0.0140380859375, -0.00933837890625, -0.0234375, -0.0025634765625, -0.0140380859375, -0.00518798828125, -0.001708984375, -0.0015106201171875, -0.0106201171875, 0...
[ 38940, 10366, 41872, 1369, 17368, 79315, 2271, 33478, 76, 159, 38969, 21130, 2452, 3454, 4867, 502, 4460, 33, 126684, 19010, 86531, 79912, 5983, 1884, 144281, 4420, 5544, 91, 2424, 152365, 6723, 5691, 106117, 68991, 84751, 16648, 189050, 304,...
[ 0.202880859375, 0.146484375, 0.092041015625, 0.155029296875, 0.107177734375, 0.229736328125, 0.07568359375, 0.1787109375, 0.12158203125, 0.0198974609375, 0.1512451171875, 0.1929931640625, 0.165771484375, 0.12060546875, 0.1644287109375, 0.09228515625, 0.2236328125, 0.0799560546875, ...
embed
8748867_c0
8748867
prolog
0
Title: What's wrong with my prolog program for solving the 3 jugs of water puzzle? Problem title: What's wrong with my prolog program for solving the 3 jugs of water puzzle? Tags: water-jug-problem, prolog, dcg Problem: What's wrong with my prolog program for solving the 3 jugs of water puzzle? Can anyone fin...
What's wrong with my prolog program for solving the 3 jugs of water puzzle? What's wrong with my prolog program for solving the 3 jugs of water puzzle? water-jug-problem prolog dcg What cur_state end_state State D1-n D2-n D3-n D11 D22 D33 Arxikh Telikh init1 Move1 Move2 Move3 NextState Bravo Eiste What's wron...
[ 0.00616455078125, 0.006591796875, 0.01123046875, 0.00494384765625, -0.01483154296875, 0.007171630859375, -0.033935546875, 0.006134033203125, -0.010009765625, -0.016357421875, 0.009765625, 0.00897216796875, -0.00151824951171875, 0.014892578125, -0.00494384765625, 0.0024261474609375, 0...
[ 4865, 3768, 7, 44691, 678, 759, 502, 4867, 1528, 3115, 138, 103863, 111, 7401, 104192, 461, 177, 38953, 238, 9709, 61340, 3564, 22836, 391, 20268, 18504, 27495, 1662, 4015, 9185, 1172, 425, 41336, 9344, 217, 135828, 418, 304, 363, 4997, ...
[ 0.052734375, 0.054107666015625, 0.058502197265625, 0.1915283203125, 0.07318115234375, 0.05987548828125, 0.15234375, 0.2265625, 0.182373046875, 0.101806640625, 0.1868896484375, 0.2467041015625, 0.114501953125, 0.1697998046875, 0.190673828125, 0.174560546875, 0.1318359375, 0.16748046...
embed
27878382_c1
27878382
prolog
1
,Tabs,int(X)):- write_tabs(Stream,Tabs), writeln(Stream,int(X)). writeln_term(Stream,Tabs,ident(X)):- write_tabs(Stream,Tabs), writeln(Stream,ident(X)). writeln_term(Stream,Tabs,Term):- functor(Term,_Functor,0), !, write_tabs(Stream,Tabs), writeln(Stream,Term). writeln_term(Stream,Tabs1,Term):- functor(Term,Functor,Ari...
,Tabs,int(X)):- write_tabs(Stream,Tabs), writeln(Stream,int(X)). writeln_term(Stream,Tabs,ident(X)):- write_tabs(Stream,Tabs), writeln(Stream,ident(X)). writeln_term(Stream,Tabs,Term):- functor(Term,_Functor,0), !, write_tabs(Stream,Tabs), writeln(Stream,Term). writeln_term(Stream,Tabs1,Term):- functor(Term,Functor,Ari...
[ 0.0216064453125, 0.0206298828125, -0.01556396484375, 0.0027618408203125, -0.003692626953125, 0.020263671875, 0.005157470703125, -0.0128173828125, 0.00604248046875, 0.008544921875, 0.0089111328125, 0.002105712890625, 0.00023746490478515625, 0.010986328125, 0.00872802734375, -0.003585815...
[ 161671, 7, 4288, 1542, 9, 33022, 9843, 115061, 141, 19, 32166, 52128, 35484, 7477, 18770, 97249, 77495, 711, 418, 7614, 2481, 22193, 304, 83, 997, 106, 61477, 79459, 839, 594, 541, 316, 17727, 52782, 6562, 37379, 190060, 81827, 568, 9384,...
[ 0.269287109375, 0.1170654296875, 0.180419921875, 0.161376953125, 0.008575439453125, 0.2056884765625, 0.29052734375, 0.262451171875, 0.0950927734375, 0.1434326171875, 0.2008056640625, 0.2232666015625, 0.1544189453125, 0.1285400390625, 0.1597900390625, 0.08056640625, 0.0965576171875, ...
embed
17376502_c0
17376502
prolog
0
Title: Move Element of a list in Prolog Problem title: Move Element of a list in Prolog Tags: prolog, list Problem: Move Element of a list in Prolog I would like to move elements in a list in prolog to a new location within the same list, similar to a cut & paste operation. For example, if i have the list [1,2,3,4,5] I...
Move Element of a list in Prolog Move Element of a list in Prolog prolog list Move Element Prolog List Newlist Implementation Resultado ParteB PrimeraParte ParteA Resultado2 Primera Lista ResultadoA ResultadoB Princi Pal D2-1 Move Element of a list in Prolog I would like to move elements in a list in prolog to a new lo...
[ 0.004608154296875, 0.00543212890625, -0.0050048828125, 0.018310546875, 0.00482177734375, 0.009765625, -0.029296875, 0.0257568359375, 0.0169677734375, 0.00439453125, 0.0003833770751953125, 0.033935546875, -0.020751953125, -0.0218505859375, 0.005706787109375, -0.0019683837890625, 0.009...
[ 135828, 48325, 111, 5303, 1250, 4867, 23, 502, 32036, 2356, 6562, 153941, 187054, 46836, 571, 46282, 58229, 284, 304, 50085, 231038, 12530, 391, 146971, 1884, 47, 25813, 80854, 3525, 31913, 28032, 5701, 21373, 59226, 619, 71099, 41018, 155761...
[ 0.217529296875, 0.246826171875, 0.087890625, 0.2310791015625, 0.173095703125, 0.2646484375, 0.018310546875, 0.1611328125, 0.182373046875, 0.046234130859375, 0.2144775390625, 0.140869140625, 0.146240234375, 0.0760498046875, 0.0777587890625, 0.0040283203125, 0.0584716796875, 0.024917...
embed
47144989_c0
47144989
prolog
0
Title: Using repeat to sort a collection of facts in prolog Problem title: Using repeat to sort a collection of facts in prolog Tags: sorting, prolog, repeat, set Problem: Using repeat to sort a collection of facts in prolog I have a set of facts set/2 where the first variable is the identifier for the set and the seco...
Using repeat to sort a collection of facts in prolog Using repeat to sort a collection of facts in prolog sorting prolog repeat set Using Output Input List OrderedList Using repeat to sort a collection of facts in prolog I have a set of facts set/2 where the first variable is the identifier for the set and the second i...
[ 0.020751953125, 0.011474609375, 0.016357421875, -0.012939453125, -0.00994873046875, -0.0002880096435546875, 0.000888824462890625, -0.01239013671875, 0.01251220703125, -0.00323486328125, 0.013671875, 0.03759765625, -0.01336669921875, -0.052490234375, -0.003265380859375, 0.00125885009765...
[ 345, 119140, 12096, 42486, 15824, 7, 502, 4867, 5423, 13538, 360, 32036, 81206, 297, 154663, 12477, 5117, 77336, 42485, 17932, 34292, 137272, 56, 64549, 1653, 2063, 67, 12989, 214, 223, 39933, 140992, 142424, 29458, 95, 73140, 48461, 16750, ...
[ 0.045989990234375, 0.3291015625, 0.2239990234375, 0.1566162109375, 0.1690673828125, 0.02435302734375, 0.119384765625, 0.203857421875, 0.160888671875, 0.0654296875, 0.0206146240234375, 0.146240234375, 0.136962890625, 0.0276336669921875, 0.1258544921875, 0.1859130859375, 0.0322265625, ...
embed
64593267_c0
64593267
prolog
0
Title: Edit Prolog program to output the result of a computation Problem title: Edit Prolog program to output the result of a computation Tags: prolog Problem: Edit Prolog program to output the result of a computation I've found something about this in other questions, but mine is a bit different. Given a string, I hav...
Edit Prolog program to output the result of a computation Edit Prolog program to output the result of a computation prolog Edit Prolog Edit Prolog program to output the result of a computation I've found something about this in other questions, but mine is a bit different. Given a string, I have to output another strin...
[ -0.00848388671875, 0.0135498046875, 0.003692626953125, 0.0191650390625, -0.0179443359375, 0.044921875, 0.01361083984375, 0.0069580078125, -0.001953125, -0.01226806640625, -0.0017242431640625, -0.01068115234375, -0.0157470703125, 0.004302978515625, 0.0033111572265625, 0.0179443359375, ...
[ 42079, 1250, 4867, 1528, 140992, 70, 16750, 111, 181135, 1363, 502, 47, 12921, 77878, 79315, 15700, 678, 110, 123594, 16797, 171763, 34475, 195625, 5844, 12765, 2174, 24233, 1556, 1636, 2811, 40383, 151552, 37842, 62775, 77336, 70541, 12830, ...
[ 0.1961669921875, 0.1629638671875, 0.24072265625, 0.1644287109375, 0.199462890625, 0.0215911865234375, 0.189208984375, 0.0265350341796875, 0.1688232421875, 0.049407958984375, 0.1292724609375, 0.001068115234375, 0.006988525390625, 0.033447265625, 0.166259765625, 0.046875, 0.03427124023...
embed
64861686_c0
64861686
prolog
0
Title: How to keep track of how many items in a list are greater than the head element in prolog Problem title: How to keep track of how many items in a list are greater than the head element in prolog Tags: recursion, prolog, list Problem: How to keep track of how many items in a list are greater than the head element...
How to keep track of how many items in a list are greater than the head element in prolog How to keep track of how many items in a list are greater than the head element in prolog recursion prolog list How Count Temp List Example How to keep track of how many items in a list are greater than the head element in prolog ...
[ 0.00262451171875, 0.0201416015625, 0.0036163330078125, -0.003814697265625, 0.00982666015625, 0.007537841796875, -0.007415771484375, -0.0224609375, 0.0235595703125, -0.0181884765625, -0.00167083740234375, -0.0118408203125, 0.00113677978515625, 0.023681640625, 0.025634765625, -0.02038574...
[ 11249, 13695, 28560, 111, 3642, 5941, 55769, 5303, 621, 117396, 3501, 10336, 12830, 502, 4867, 23, 195625, 1830, 108210, 37446, 32036, 89536, 16487, 34475, 158661, 41911, 80854, 110, 36272, 33172, 69236, 14012, 4343, 33245, 91582, 4488, 87632, ...
[ 0.05938720703125, 0.143310546875, 0.2315673828125, 0.051910400390625, 0.059906005859375, 0.1226806640625, 0.2138671875, 0.2127685546875, 0.0604248046875, 0.20703125, 0.10516357421875, 0.2001953125, 0.1392822265625, 0.1746826171875, 0.22802734375, 0.067626953125, 0.159423828125, 0.0...
embed
79163408_c1
79163408
prolog
1
5, 2, closed, _). cell(5, 3, closed, _). cell(5, 4, closed, _). I have a rule that should open empty neighboring cells if the cell the player clicked on was empty. For example, a player clicks on a cell, it turns out to be empty, then all neighboring cells that are empty should open recursively until they reach cells t...
5, 2, closed, _). cell(5, 3, closed, _). cell(5, 4, closed, _). I have a rule that should open empty neighboring cells if the cell the player clicked on was empty. For example, a player clicks on a cell, it turns out to be empty, then all neighboring cells that are empty should open recursively until they reach cells t...
[ -0.01434326171875, -0.0133056640625, 0.0234375, 0.038818359375, 0.01953125, 0.0242919921875, -0.0062255859375, 0.01043701171875, 0.01043701171875, 0.00115203857421875, -0.006744384765625, -0.0038604736328125, -0.00811767578125, 0.0027923583984375, 0.0257568359375, -0.0196533203125, 0...
[ 190, 116, 155738, 101, 38750, 104116, 138, 201, 87, 765, 10, 79986, 5608, 9803, 201505, 208244, 214, 7, 2174, 70, 58585, 18158, 297, 98, 509, 4, 186, 756, 195625, 24189, 58359, 14012, 4568, 36356, 5844, 7432, 712, 145, 16797, 1542, 990,...
[ 0.1263427734375, 0.07904052734375, 0.1729736328125, 0.00579833984375, 0.257568359375, 0.0926513671875, 0.052734375, 0.07635498046875, 0.045562744140625, 0.0311126708984375, 0.0064697265625, 0.1988525390625, 0.0142364501953125, 0.1884765625, 0.25244140625, 0.2291259765625, 0.073852539...
embed
41166685_c0
41166685
prolog
0
Title: Constrain two lists to begin with N consecutive elements in total using CLP(FD) Problem title: Constrain two lists to begin with N consecutive elements in total using CLP(FD) Tags: prolog, clpfd Problem: Constrain two lists to begin with N consecutive elements in total using CLP(FD) I am trying to constrain two ...
Constrain two lists to begin with N consecutive elements in total using CLP(FD) Constrain two lists to begin with N consecutive elements in total using CLP(FD) prolog clpfd CLP Constrain use_module SL1 SL2 Constrain two lists to begin with N consecutive elements in total using CLP(FD) I am trying to constrain two lists...
[ 0.00946044921875, 0.00701904296875, -0.01373291015625, 0.0157470703125, 0.0167236328125, -0.00104522705078125, 0.0023651123046875, 0.0081787109375, 0.010986328125, -0.03125, 0.00067138671875, 0.0128173828125, -0.005767822265625, 0.02783203125, 0.0169677734375, -0.00494384765625, 0.01...
[ 1657, 2816, 73, 6626, 5303, 7, 9842, 678, 541, 148390, 80854, 3622, 313, 37352, 98553, 13, 502, 4867, 33139, 39557, 71, 4527, 83279, 42135, 418, 304, 17368, 31577, 158, 241, 27781, 339, 13267, 305, 10617, 77758, 2389, 106, 138, 1653, 20...
[ 0.100341796875, 0.22314453125, 0.107177734375, 0.15380859375, 0.2266845703125, 0.0186920166015625, 0.1533203125, 0.01641845703125, 0.167724609375, 0.2271728515625, 0.223388671875, 0.128173828125, 0.041595458984375, 0.2353515625, 0.1824951171875, 0.004669189453125, 0.1141357421875, ...
embed
16589694_c0
16589694
prolog
0
Title: Program that "mean" a parse tree in Prolog, don't work Problem title: Program that "mean" a parse tree in Prolog, don't work Tags: dcg, prolog Problem: Program that "mean" a parse tree in Prolog, don't work I am studying DCG grammar and parse tree using the Ivan Bratko book: Program...
Program that "mean" a parse tree in Prolog, don't work Program that "mean" a parse tree in Prolog, don't work dcg prolog Program Prolog Step Move Dist Tree Program that "mean" a parse tree in Prolog, don't work I am studying DCG grammar and parse tree using the Ivan Bratko book: Programmin...
[ 0.02685546875, 0.0130615234375, -0.01483154296875, 0.01904296875, 0.006866455078125, 0.036376953125, -0.0079345703125, 0.0033721923828125, 0.0118408203125, -0.05712890625, -0.01373291015625, 0.00555419921875, 0.00148773193359375, -0.00567626953125, -0.001556396484375, 0.025390625, 0....
[ 7663, 282, 66, 366, 184, 53201, 1250, 4867, 2301, 3768, 18, 4488, 177, 502, 50478, 135828, 6206, 101344, 23, 391, 56367, 122092, 23698, 119794, 265, 12877, 27958, 33462, 231996, 157075, 27781, 147, 139392, 91084, 12477, 1653, 2063, 29459, 1...
[ 0.205322265625, 0.1243896484375, 0.179931640625, 0.157470703125, 0.145751953125, 0.252685546875, 0.1500244140625, 0.2396240234375, 0.00213623046875, 0.00982666015625, 0.04388427734375, 0.1453857421875, 0.06256103515625, 0.09027099609375, 0.1109619140625, 0.109130859375, 0.05563354492...
embed
64048419_c1
64048419
prolog
1
( jeanne , michel ). mother( genevieve, sylvie ). mother( genevieve, brigitte ). mother( genevieve, aubin ). mother( irène , alain ). mother( émilie , colette ). mother( colette , muriel ). mother( colette , olivier ). mother( colette , audrey ). mother( colette , stéphane ). mother( muriel , eve ). father( joseph , mi...
( jeanne , michel ). mother( genevieve, sylvie ). mother( genevieve, brigitte ). mother( genevieve, aubin ). mother( irène , alain ). mother( émilie , colette ). mother( colette , muriel ). mother( colette , olivier ). mother( colette , audrey ). mother( colette , stéphane ). mother( muriel , eve ). father( joseph , mi...
[ 0.01171875, 0.0155029296875, 0.003631591796875, 0.0177001953125, -0.0024566650390625, 0.01434326171875, -0.00115966796875, 0.0107421875, 0.0001373291015625, -0.0400390625, 0.0067138671875, -0.027587890625, -0.01263427734375, 0.015625, 0.00148773193359375, -0.006256103515625, 0.012817...
[ 15, 55, 26942, 6, 4, 4053, 583, 194, 42732, 132, 22293, 686, 3134, 104402, 15959, 49745, 43691, 531, 7568, 193, 78387, 10, 16442, 393, 28693, 13, 552, 36711, 146386, 1194, 22023, 7090, 53, 6138, 32185, 34414, 67373, 3541, 6352, 2631, 45...
[ 0.16552734375, 0.19970703125, 0.25439453125, 0.145751953125, 0.1800537109375, 0.1810302734375, 0.234375, 0.1312255859375, 0.272705078125, 0.0731201171875, 0.1051025390625, 0.1485595703125, 0.251708984375, 0.1168212890625, 0.252197265625, 0.0997314453125, 0.215087890625, 0.119262695...
embed
71596567_c0
71596567
prolog
0
Title: Prolog - Check if second list has all even numbers from the first list Problem title: Prolog - Check if second list has all even numbers from the first list Tags: list, prolog, recursion Problem: Prolog - Check if second list has all even numbers from the first list I am trying to write a rule in Prolog that wil...
Prolog - Check if second list has all even numbers from the first list Prolog - Check if second list has all even numbers from the first list list prolog recursion the Prolog Check Prolog - Check if second list has all even numbers from the first list I am trying to write a rule in Prolog that will first check if all t...
[ -0.0021209716796875, 0.0177001953125, -0.003936767578125, 0.0069580078125, -0.00015163421630859375, 0.043701171875, -0.00665283203125, 0.018798828125, 0.0076904296875, -0.0031585693359375, 0.0123291015625, -0.006591796875, -0.0015716552734375, 0.017333984375, 0.01397705078125, 0.017211...
[ 1250, 4867, 38679, 2174, 17932, 5303, 1556, 756, 3853, 101935, 1295, 5117, 502, 195625, 1830, 31577, 33022, 79986, 12765, 80854, 70541, 41, 10484, 1294, 43581, 18151, 442, 43240, 15044, 765, 4734, 107003, 70270, 88303, 73, 1614, 6562, 84434, ...
[ 0.1624755859375, 0.2288818359375, 0.2037353515625, 0.0816650390625, 0.1968994140625, 0.1888427734375, 0.0310821533203125, 0.0877685546875, 0.201416015625, 0.15087890625, 0.068115234375, 0.074951171875, 0.12255859375, 0.14013671875, 0.048309326171875, 0.01220703125, 0.03973388671875, ...
embed
71787241_c0
71787241
prolog
0
Title: Prolog: Why is member/2 not working properly here? Problem title: Prolog: Why is member/2 not working properly here? Tags: prolog Problem: Prolog: Why is member/2 not working properly here? I encountered an interesting problem: In my code, [R|Rs] is the rest of a list generated by removing Seq from SortedRanks ....
Prolog: Why is member/2 not working properly here? Prolog: Why is member/2 not working properly here? prolog Prolog Why Seq SortedRanks Length calculate_run remove_list Number Points Prolog: Why is member/2 not working properly here? I encountered an interesting problem: In my code, [R|Rs] is the rest of a list generat...
[ -0.01080322265625, 0.005645751953125, 0.012939453125, -0.00537109375, -0.01409912109375, -0.0034027099609375, -0.0059814453125, 0.0208740234375, 0.00958251953125, -0.0159912109375, 0.0198974609375, 0.0235595703125, 0.0142822265625, 0.0106201171875, -0.00122833251953125, -0.025756835937...
[ 1250, 4867, 44084, 32786, 12477, 959, 20697, 155965, 3688, 502, 503, 864, 53666, 297, 126525, 1224, 77554, 74481, 16428, 87388, 6562, 103332, 41097, 190647, 49041, 2967, 18151, 1052, 58745, 7, 10588, 5303, 139392, 116, 80854, 14012, 56566, 14...
[ 0.133544921875, 0.1982421875, 0.12353515625, 0.26025390625, 0.23486328125, 0.06475830078125, 0.1278076171875, 0.1131591796875, 0.0782470703125, 0.096923828125, 0.1090087890625, 0.216796875, 0.1429443359375, 0.0328369140625, 0.1409912109375, 0.0706787109375, 0.060302734375, 0.103027...
embed
35178159_c0
35178159
prolog
0
Title: LearnPrologNow compiler doesn't work as intended Problem title: LearnPrologNow compiler doesn't work as intended Tags: prolog Problem: LearnPrologNow compiler doesn't work as intended This will be my first question on Stack Overflow. I was reading through the learnPrologNow manual and then I began maki...
LearnPrologNow compiler doesn't work as intended LearnPrologNow compiler doesn't work as intended prolog LearnPrologNow greater_than ex32 Warning ex32.pl:1 Singleton LearnPrologNow compiler doesn't work as intended This will be my first question on Stack Overflow. I was reading through the learnPrologNow manu...
[ 0.024169921875, 0.0225830078125, 0.00872802734375, 0.0155029296875, -0.027587890625, 0.0250244140625, 0.00732421875, -0.0014801025390625, 0.0162353515625, -0.034912109375, -0.01397705078125, -0.015625, -0.0101318359375, 0.0181884765625, 0.0205078125, -0.00408935546875, 0.006042480468...
[ 134031, 10752, 4867, 137594, 9969, 34759, 22027, 3768, 18, 4488, 237, 179140, 502, 117396, 21732, 1119, 6460, 5550, 2424, 19721, 43609, 1507, 9655, 2594, 9578, 118664, 16454, 30698, 23009, 81979, 139539, 138, 35166, 959, 84751, 5351, 134598, ...
[ 0.1746826171875, 0.1829833984375, 0.2393798828125, 0.259521484375, 0.19140625, 0.2119140625, 0.0750732421875, 0.054931640625, 0.06341552734375, 0.164794921875, 0.139892578125, 0.2020263671875, 0.1534423828125, 0.110107421875, 0.0718994140625, 0.1097412109375, 0.232177734375, 0.0843...
embed
34279723_c0
34279723
prolog
0
Title: Different variables - prolog puzzle solver Problem title: Different variables - prolog puzzle solver Tags: prolog, clpfd Problem: Different variables - prolog puzzle solver I'm developing a solution based on prolog restrictions . Basically I got to rearrange 9 pieces with dots in it to make a dice. I have 9 piec...
Different variables - prolog puzzle solver Different variables - prolog puzzle solver prolog clpfd Different Vars V11 V12 V13 V17 V18 V19 V25 V29 V31 V37 V47 PiecesIndex all_different use_module V10 V14 V15 V16 V20 V21 V22 V23 V24 V26 V27 V28 V30 V32 V33 V34 V35 V36 V38 V39 V40 V41 V42 V43 V44 V45 V46 V48 V49 V50 V51 V...
[ -0.00408935546875, -0.0240478515625, -0.0113525390625, 0.0106201171875, -0.011962890625, 0.008544921875, -0.03759765625, 0.00112152099609375, 0.00069427490234375, -0.0159912109375, -0.0001354217529296875, 0.019775390625, 0.0250244140625, 0.0057373046875, -0.0027008056640625, 0.00433349...
[ 242520, 77336, 7, 502, 4867, 104192, 3115, 814, 33139, 39557, 71, 3323, 310, 1662, 1530, 2681, 2489, 1819, 2947, 2588, 4235, 5016, 10945, 13330, 10374, 5170, 39659, 756, 238778, 4527, 83279, 963, 2592, 1837, 2485, 1549, 2357, 4046, 3882, ...
[ 0.231689453125, 0.29248046875, 0.0272674560546875, 0.1527099609375, 0.2275390625, 0.1575927734375, 0.1058349609375, 0.1009521484375, 0.01971435546875, 0.0645751953125, 0.05401611328125, 0.2115478515625, 0.109130859375, 0.082763671875, 0.054901123046875, 0.057373046875, 0.045654296875...
embed
47485614_c1
47485614
prolog
1
11) write(b) ? creep b Exit: (11) write(b) ? creep Call: (11) write(->) ? creep -> Exit: (11) write(->) ? creep Call: (11) parent(_4916, b) ? creep Exit: (11) parent(c, b) ? creep Call: (11) toAncestor(c, d) ? creep Call: (12) write(c) ? creep c Exit: (12) write(c) ? creep Call: (12) write(->) ? creep -> Exit: (12) wri...
11) write(b) ? creep b Exit: (11) write(b) ? creep Call: (11) write(->) ? creep -> Exit: (11) write(->) ? creep Call: (11) parent(_4916, b) ? creep Exit: (11) parent(c, b) ? creep Call: (11) toAncestor(c, d) ? creep Call: (12) write(c) ? creep c Exit: (12) write(c) ? creep Call: (12) write(->) ? creep -> Exit: (12) wri...
[ -0.004150390625, 0.01092529296875, -0.010986328125, 0.0208740234375, 0.0052490234375, 0.00628662109375, -0.0028839111328125, 0.007110595703125, 0.01458740234375, 0.00118255615234375, 0.006103515625, 0.02490234375, -0.000843048095703125, 0.00946044921875, 0.0186767578125, -0.02331542968...
[ 534, 33022, 132, 275, 705, 49512, 254, 876, 5443, 217, 21282, 26265, 103607, 33079, 49129, 454, 12977, 2485, 12, 238, 47, 3956, 20820, 104, 23676, 501, 71, 28261, 17857, 11438, 29568, 14847, 87, 10644, 706, 39989, 188, 284, 11, 4, 442, ...
[ 0.206298828125, 0.2225341796875, 0.0333251953125, 0.193603515625, 0.06536865234375, 0.2200927734375, 0.1654052734375, 0.1976318359375, 0.1744384765625, 0.1407470703125, 0.19970703125, 0.191162109375, 0.105712890625, 0.0301666259765625, 0.147216796875, 0.03564453125, 0.15380859375, ...
embed
37255494_c0
37255494
prolog
0
Title: Prolog print board list of list Problem title: Prolog print board list of list Tags: prolog, printf, list Problem: Prolog print board list of list I've the next board: board :- ([[-,-,-,-,-,-,-],[-,-,-,-,-,-,-],[-,-,-,-,-,-,-],[-,-,-,-,-,-,-],[-,-,-,-,-,-,-],[-,-,-,-,-,-,-]]). where each column represents a subl...
Prolog print board list of list Prolog print board list of list prolog printf list Prolog Ith I-1 P1X P2X P3X P4X P5X P6X P7X Prolog print board list of list I've the next board: where each column represents a sublist. My codec is: Where But no found, prolog says no , and only paints ' A B C D E F G'. Because? which is...
[ -0.0079345703125, -0.0267333984375, 0.02734375, 0.0054931640625, -0.01068115234375, -0.00433349609375, 0.00518798828125, 0.0169677734375, 0.01092529296875, 0.003021240234375, 0.01336669921875, 0.01031494140625, 0.00555419921875, -0.00592041015625, -0.0147705078125, 0.0024566650390625, ...
[ 1250, 4867, 28412, 45443, 5303, 111, 502, 420, 927, 5759, 1542, 11737, 12638, 3365, 316, 33636, 1614, 6562, 18151, 238, 78662, 4966, 110, 14037, 17378, 4734, 112518, 62, 335, 313, 391, 241, 563, 527, 88949, 18499, 107730, 140992, 8561, 34...
[ 0.1881103515625, 0.252197265625, 0.1895751953125, 0.20458984375, 0.1732177734375, 0.041290283203125, 0.177734375, 0.07586669921875, 0.012908935546875, 0.001678466796875, 0.041046142578125, 0.0645751953125, 0.01824951171875, 0.0911865234375, 0.097900390625, 0.1531982421875, 0.15612792...
embed
13113574_c0
13113574
prolog
0
Title: Prolog statements/commands with animals (logic help) Problem title: Prolog statements/commands with animals (logic help) Tags: prolog, logic Problem: Prolog statements/commands with animals (logic help) I want to know how I would get something like this to work. It seems like a simple concept, but I'm very new t...
Prolog statements/commands with animals (logic help) Prolog statements/commands with animals (logic help) prolog logic Prolog Prolog statements/commands with animals (logic help) I want to know how I would get something like this to work. It seems like a simple concept, but I'm very new to Prolog and I can't seem to fi...
[ 0.029052734375, 0.0091552734375, -0.006317138671875, 0.01434326171875, 0.00116729736328125, 0.02001953125, -0.00168609619140625, -0.004669189453125, 0.0135498046875, -0.02783203125, -0.0107421875, -0.0172119140625, -0.0146484375, -0.005218505859375, 0.0162353515625, 0.023681640625, 0...
[ 1250, 4867, 63805, 277, 12018, 678, 85825, 137043, 4358, 502, 62775, 3444, 3714, 3642, 2806, 2046, 1884, 903, 4488, 8781, 23755, 3525, 26366, 26785, 6626, 23180, 98423, 26249, 95487, 15824, 101860, 141, 102577, 43613, 113138, 196423, 31, 2133...
[ 0.1715087890625, 0.2451171875, 0.219482421875, 0.097412109375, 0.193603515625, 0.12158203125, 0.224365234375, 0.115966796875, 0.0880126953125, 0.10284423828125, 0.154541015625, 0.007843017578125, 0.03436279296875, 0.0170745849609375, 0.0120849609375, 0.0175018310546875, 0.05511474609...
embed
63789972_c0
63789972
prolog
0
Title: A "display" that always displays in prolog Problem title: A "display" that always displays in prolog Tags: prolog Problem: A "display" that always displays in prolog I have a predicate check(Data,Res) that checks Dats according to some rules and returns Res (a function result on Data , assumi...
A "display" that always displays in prolog A "display" that always displays in prolog prolog Data Res Dats next_number System.out.println A "display" that always displays in prolog I have a predicate check(Data,Res) that checks Dats according to some rules and returns Res (a function result on Data ...
[ 0.031494140625, 0.005615234375, 0.007354736328125, 0.01019287109375, 0.00787353515625, 0.005035400390625, 0.00579833984375, -0.004638671875, 0.002593994140625, -0.0308837890625, 0.01068115234375, -0.0093994140625, -0.025390625, -0.014892578125, 0.024658203125, 0.0172119140625, 0.0339...
[ 3827, 20706, 11343, 44116, 502, 4867, 7, 11809, 9624, 7716, 11737, 2606, 12353, 6056, 35662, 141, 23, 1653, 2063, 12765, 137989, 4332, 91736, 30646, 32354, 16750, 66596, 35166, 40368, 55738, 139392, 839, 541, 62539, 5201, 1528, 9842, 12663, ...
[ 0.08599853515625, 0.197509765625, 0.15673828125, 0.248779296875, 0.1624755859375, 0.25, 0.0216064453125, 0.1248779296875, 0.129638671875, 0.08056640625, 0.07208251953125, 0.06427001953125, 0.0921630859375, 0.14404296875, 0.1220703125, 0.046295166015625, 0.061553955078125, 0.0838623...
embed
70326916_c1
70326916
prolog
1
'). descendant('Всеволод II', 'Олег'). descendant('Изяслав I', 'Ярослав I Мудрый'). descendant('Святополк', 'Изяслав I'). descendant('Всеволод I', 'Ярослав I Мудрый'). descendant('Владимир Мономах', 'Всеволод I'). descendant('Мстислав Великий', 'Владимир Мономах'). descendant('Изяслав II', 'Мстислав Великий'). descenda...
'). descendant('Всеволод II', 'Олег'). descendant('Изяслав I', 'Ярослав I Мудрый'). descendant('Святополк', 'Изяслав I'). descendant('Всеволод I', 'Ярослав I Мудрый'). descendant('Владимир Мономах', 'Всеволод I'). descendant('Мстислав Великий', 'Владимир Мономах'). descendant('Изяслав II', 'Мстислав Великий'). descenda...
[ -0.013671875, 0.0194091796875, -0.0016021728515625, 0.017333984375, 0.01416015625, 0.00311279296875, -0.004180908203125, 0.01104736328125, 0.007354736328125, -0.035400390625, 0.001617431640625, -0.0308837890625, -0.006011962890625, -0.01025390625, -0.01953125, 0.0032501220703125, 0.0...
[ 242, 194, 60887, 1236, 132, 25, 140534, 171875, 1995, 4, 2318, 16052, 51314, 245, 24809, 87, 5216, 130640, 652, 17845, 526, 140134, 50309, 1343, 85193, 698, 2354, 62721, 8688, 36984, 419, 1214, 2509, 75986, 312, 18288, 62017, 10088, 105, ...
[ 0.165771484375, 0.1715087890625, 0.3251953125, 0.266357421875, 0.0950927734375, 0.1092529296875, 0.171142578125, 0.282470703125, 0.26611328125, 0.09344482421875, 0.1400146484375, 0.2437744140625, 0.1094970703125, 0.14990234375, 0.26806640625, 0.17138671875, 0.10369873046875, 0.1741...
embed
56283630_c1
56283630
prolog
1
% tokenize MyToken into a list ( [string_of_token, weight_of_token] ) accessList(TempList,_,TempWeight), % accessList(TempWeight,TempWeight2,_), % accessing the tail of the list (weight_of_token) number_string(WeightOfToken,TempWeight2) % convert string to number ; WeightOfToken is 1. find_relevance([], SessionTitle, ...
% tokenize MyToken into a list ( [string_of_token, weight_of_token] ) accessList(TempList,_,TempWeight), % accessList(TempWeight,TempWeight2,_), % accessing the tail of the list (weight_of_token) number_string(WeightOfToken,TempWeight2) % convert string to number ; WeightOfToken is 1. find_relevance([], SessionTitle, ...
[ 0.01385498046875, 0.03369140625, 0.002685546875, 0.01806640625, 0.003692626953125, -0.008544921875, 0.004058837890625, 0.0010528564453125, -0.0030059814453125, -0.035888671875, 0.013427734375, 0.0208740234375, -0.0235595703125, -0.028564453125, 0.01129150390625, 0.00750732421875, 0.0...
[ 1745, 47, 1098, 20650, 2646, 7763, 3934, 10, 5303, 91693, 4390, 6448, 33, 57888, 17203, 154663, 159065, 12137, 22553, 304, 46741, 165598, 14012, 10461, 96760, 79315, 150533, 132887, 83, 615, 7413, 133, 157000, 148735, 16734, 17991, 77888, 841...
[ 0.1160888671875, 0.1500244140625, 0.2332763671875, 0.1055908203125, 0.16552734375, 0.1649169921875, 0.154296875, 0.038909912109375, 0.2215576171875, 0.188720703125, 0.172119140625, 0.1544189453125, 0.1236572265625, 0.2293701171875, 0.1199951171875, 0.1617431640625, 0.1304931640625, ...
embed
37043253_c0
37043253
prolog
0
Title: building FSA in prolog Problem title: building FSA in prolog Tags: finite-automata, prolog Problem: building FSA in prolog I am asked to represent a FSA in prolog. An fsa is a list of states. A state is a structure with the functor state and 3 arguments: a name, a list of transitions, and either yes or no to ind...
building FSA in prolog building FSA in prolog finite-automata prolog FSA State Hstate Tailstates Transitions Char To1 To2 building FSA in prolog I am asked to represent a FSA in prolog. An fsa is a list of states. A state is a structure with the functor state and 3 arguments: a name, a list of transitions, and either y...
[ 0.006622314453125, -0.0166015625, 0.005157470703125, 0.002349853515625, -0.0169677734375, 0.018310546875, -0.00811767578125, 0.00140380859375, -0.00433349609375, 0.01409912109375, 0.02734375, -0.007568359375, 0.00836181640625, 0.01141357421875, -0.00848388671875, 0.02197265625, 0.020...
[ 33976, 563, 6703, 23, 502, 4867, 94418, 52344, 22836, 572, 61340, 1218, 379, 162774, 21656, 717, 304, 33636, 893, 1238, 433, 83, 5303, 117249, 62, 11341, 45646, 678, 7477, 18770, 138, 10750, 9351, 149307, 72272, 110, 117414, 26946, 214, 9...
[ 0.1676025390625, 0.135498046875, 0.21923828125, 0.048736572265625, 0.162109375, 0.21875, 0.1065673828125, 0.140380859375, 0.1279296875, 0.0645751953125, 0.177490234375, 0.06866455078125, 0.05029296875, 0.0992431640625, 0.08221435546875, 0.1103515625, 0.044677734375, 0.158203125, ...
embed
27674833_c0
27674833
prolog
0
Title: SWI prolog- why am I getting wrong answers? Problem title: SWI prolog- why am I getting wrong answers? Tags: prolog Problem: SWI prolog- why am I getting wrong answers? I have a simple code in SWI Prolog. I have carefully written the following code. When I ask it simple questions such as "Can sweety a fish?" or ...
SWI prolog- why am I getting wrong answers? SWI prolog- why am I getting wrong answers? prolog SWI Lobby NOT Spiders Fidora Sweety SWI prolog- why am I getting wrong answers? I have a simple code in SWI Prolog. I have carefully written the following code. When I ask it simple questions such as "Can sweety a fish?" or "...
[ 0.00726318359375, 0.0228271484375, -0.006805419921875, 0.00531005859375, -0.0152587890625, 0.0167236328125, 0.0081787109375, 0.01165771484375, 0.004302978515625, -0.006622314453125, 0.0078125, -0.0260009765625, -0.00897216796875, -0.0081787109375, 0.0216064453125, 0.000400543212890625,...
[ 159, 38969, 502, 4867, 15400, 444, 87, 20949, 44691, 35166, 7, 2091, 60060, 86725, 103336, 3698, 11606, 87497, 53, 8781, 18151, 1250, 197918, 26458, 17582, 54694, 53673, 67155, 9572, 1846, 186857, 20662, 121742, 37842, 26818, 27211, 114686, 2...
[ 0.0478515625, 0.2027587890625, 0.1370849609375, 0.1845703125, 0.125, 0.0723876953125, 0.036468505859375, 0.0877685546875, 0.1961669921875, 0.19384765625, 0.061126708984375, 0.10888671875, 0.175537109375, 0.0714111328125, 0.150634765625, 0.09344482421875, 0.177978515625, 0.171752929...
embed
48815150_c0
48815150
prolog
0
Title: SWI: Constraint : list of maximum of N elements in domain D? Problem title: SWI: Constraint : list of maximum of N elements in domain D? Tags: list, prolog, clpfd, clp Problem: SWI: Constraint : list of maximum of N elements in domain D? I can assign a domain of possible values to a variable i.e. : ?- X in 1..3,...
SWI: Constraint : list of maximum of N elements in domain D? SWI: Constraint : list of maximum of N elements in domain D? list prolog clpfd clp SWI Constraint SWI: Constraint : list of maximum of N elements in domain D? I can assign a domain of possible values to a variable i.e. : Is there a way to add a constraint so ...
[ -0.00994873046875, 0.00830078125, 0.0137939453125, -0.005218505859375, -0.004638671875, 0.00921630859375, -0.01141357421875, 0.00592041015625, 0.0128173828125, -0.02099609375, -0.0146484375, -0.0279541015625, 0.005035400390625, -0.00494384765625, 0.00897216796875, 0.003936767578125, ...
[ 159, 38969, 12, 1657, 2816, 4288, 5303, 38132, 111, 541, 80854, 23, 77758, 391, 502, 4867, 33139, 39557, 71, 254, 87, 831, 95486, 7722, 142424, 77336, 3917, 15190, 158, 26946, 58735, 138, 37457, 758, 990, 1257, 47, 68186, 43317, 27781, ...
[ 0.04931640625, 0.25634765625, 0.0120849609375, 0.114501953125, 0.2183837890625, 0.175537109375, 0.1669921875, 0.210205078125, 0.0762939453125, 0.1539306640625, 0.2249755859375, 0.065673828125, 0.218505859375, 0.20361328125, 0.103515625, 0.1419677734375, 0.0341796875, 0.007873535156...
embed
23938093_c0
23938093
prolog
0
Title: Find a boolean circuit with prolog Problem title: Find a boolean circuit with prolog Tags: prolog, backtracking, gnu-prolog Problem: Find a boolean circuit with prolog The problem is the following : considering three inputs A,B,C, find a boolean circuit with AND,OR and NOT gates such that the output is not(A), n...
Find a boolean circuit with prolog Find a boolean circuit with prolog prolog backtracking gnu-prolog Find C-1 Find a boolean circuit with prolog The problem is the following : considering three inputs A,B,C, find a boolean circuit with AND,OR and NOT gates such that the output is not(A), not(B), not(C) using at most 2 ...
[ 0.025390625, 0.0072021484375, 0.00616455078125, 0.015625, -0.00994873046875, -0.0002994537353515625, -0.00933837890625, 0.00848388671875, 0.01092529296875, -0.03369140625, -0.0201416015625, 0.003570556640625, 0.007080078125, -0.00112152099609375, 0.0238037109375, -0.00408935546875, 0...
[ 26040, 337, 31, 34677, 61404, 678, 502, 4867, 4420, 125728, 104155, 3454, 313, 5759, 2967, 179635, 17262, 107730, 571, 441, 7413, 48762, 24638, 86725, 70836, 6044, 140992, 959, 284, 17368, 2684, 116, 1884, 6528, 9969, 6743, 1653, 2063, 1130...
[ 0.137939453125, 0.0743408203125, 0.16064453125, 0.234619140625, 0.22412109375, 0.0897216796875, 0.182373046875, 0.245849609375, 0.020599365234375, 0.1015625, 0.12060546875, 0.133544921875, 0.052978515625, 0.119140625, 0.0831298828125, 0.09332275390625, 0.130615234375, 0.16638183593...
embed
65947830_c0
65947830
prolog
0
Title: CHR: How do you call Prolog code inside a rule Problem title: CHR: How do you call Prolog code inside a rule Tags: chr, constraints, prolog Problem: CHR: How do you call Prolog code inside a rule CHR: How do you call Prolog code inside a rule ? I assume it is like DCG !!! but doesn't seem right :- use_module(lib...
CHR: How do you call Prolog code inside a rule CHR: How do you call Prolog code inside a rule chr constraints prolog CHR How Prolog use_module chr_constraint ERROR Unknown _35671298 _35671300 next___0__0 _35671332 grid.pl:12 Note Re-run Exception _35670676 _35670678 Execution Aborted CHR: How do you call Prolog code in...
[ -0.008544921875, -0.01019287109375, 0.0233154296875, 0.022705078125, 0.0159912109375, 0.026611328125, -0.0045166015625, -0.016845703125, -0.00029754638671875, -0.045166015625, 0.00164031982421875, 0.023681640625, -0.03466796875, -0.004547119140625, 0.020751953125, -0.0186767578125, -...
[ 29562, 11249, 11782, 1250, 4867, 18151, 46132, 79986, 17656, 158, 2816, 4288, 502, 4527, 83279, 2271, 151206, 24638, 69723, 129971, 15770, 122381, 162082, 178028, 11737, 123128, 120067, 2424, 20927, 18622, 853, 16428, 63928, 5843, 108620, 181137,...
[ 0.2122802734375, 0.040283203125, 0.1624755859375, 0.1795654296875, 0.2481689453125, 0.225830078125, 0.15771484375, 0.1883544921875, 0.10205078125, 0.0276336669921875, 0.13671875, 0.0382080078125, 0.1126708984375, 0.06591796875, 0.07012939453125, 0.025848388671875, 0.0919189453125, ...
embed
40294429_c0
40294429
prolog
0
Title: When Warren's Abstract Machine program instructions are executed? Problem title: When Warren's Abstract Machine program instructions are executed? Tags: prolog, warren-abstract-machine Problem: When Warren's Abstract Machine program instructions are executed? I'm reading Hassan Aït-Kaci's "Warren's Abs...
When Warren's Abstract Machine program instructions are executed? When Warren's Abstract Machine program instructions are executed? prolog warren-abstract-machine When Warren Abstract Machine When Warren's Abstract Machine program instructions are executed? I'm reading Hassan Aït-Kaci's "Warren's Abstract Mac...
[ 0.0123291015625, -0.0027618408203125, -0.0069580078125, 0.031982421875, -0.0038909912109375, 0.03662109375, 0.00189208984375, 0.00872802734375, -0.01519775390625, -0.014404296875, -0.006805419921875, 0.00077056884765625, -0.0198974609375, -0.0150146484375, -0.01263427734375, 0.01599121...
[ 14847, 171458, 3768, 233973, 68311, 1528, 167934, 621, 71924, 297, 502, 4867, 1631, 982, 2055, 2816, 15390, 103149, 16454, 48652, 55860, 8139, 318, 71947, 25, 183447, 238478, 117615, 116, 70, 98352, 339, 2389, 103391, 83, 8121, 7103, 41, 40...
[ 0.1485595703125, 0.231689453125, 0.058837890625, 0.26513671875, 0.20751953125, 0.2138671875, 0.2890625, 0.0197296142578125, 0.232421875, 0.0821533203125, 0.0985107421875, 0.144287109375, 0.0740966796875, 0.124755859375, 0.004608154296875, 0.16650390625, 0.03228759765625, 0.17077636...
embed
27029853_c0
27029853
prolog
0
Title: Prolog not recursing as intended Problem title: Prolog not recursing as intended Tags: recursion, prolog Problem: Prolog not recursing as intended I have a function which takes in a list of lists, and I want to pattern match each int in the inner list to a specific pattern. There are 9 lists in the list of lists...
Prolog not recursing as intended Prolog not recursing as intended recursion prolog Prolog print_tail print_tail_h Recursed Helper test_print_tail Prolog not recursing as intended I have a function which takes in a list of lists, and I want to pattern match each int in the inner list to a specific pattern. There are 9 l...
[ -0.000240325927734375, 0.0125732421875, 0.0086669921875, -0.005523681640625, -0.0074462890625, 0.01275634765625, -0.0262451171875, -0.0301513671875, 0.004119873046875, 0.01470947265625, 0.0169677734375, -0.0264892578125, 0.0086669921875, -0.0093994140625, 0.0208740234375, -0.0125732421...
[ 1250, 4867, 959, 195625, 214, 237, 179140, 1830, 502, 28412, 46741, 127, 48650, 39527, 56, 3034, 35662, 32354, 51776, 23, 5303, 3444, 103510, 14858, 12638, 18, 75414, 29458, 483, 85763, 62, 28032, 70541, 933, 4527, 37317, 7565, 138, 1733, ...
[ 0.1866455078125, 0.25927734375, 0.11181640625, 0.25244140625, 0.1092529296875, 0.1251220703125, 0.192626953125, 0.108642578125, 0.1558837890625, 0.15576171875, 0.2393798828125, 0.0994873046875, 0.2056884765625, 0.18798828125, 0.07940673828125, 0.1544189453125, 0.1424560546875, 0.15...
embed
9297366_c0
9297366
prolog
0
Title: Linux g++ Embedding Prolog Logic Engine Within C++ Problem title: Linux g++ Embedding Prolog Logic Engine Within C++ Tags: c%2B%2B, embed, prolog, swi-prolog Problem: Linux g++ Embedding Prolog Logic Engine Within C++ I have some logic in a C++ program that is not only insanely complex, it requires multiple solu...
Linux g++ Embedding Prolog Logic Engine Within C++ Linux g++ Embedding Prolog Logic Engine Within C++ c%2B%2B embed prolog swi-prolog PrologException Linux Embedding Prolog Logic Engine Within PrologEngine LoadLogic Load Must COMPILE std::vector std::string Evaluate predicate_in_string_form Result Returns Linux g++ Emb...
[ 0.027099609375, 0.02001953125, -0.00811767578125, -0.002410888671875, -0.005279541015625, 0.01806640625, 0.021484375, -0.00311279296875, 0.0037078857421875, -0.05126953125, 0.014892578125, -0.0137939453125, -0.026123046875, -0.01519775390625, 0.0035552978515625, 0.00860595703125, 0.0...
[ 29908, 706, 37223, 2775, 372, 59725, 1250, 4867, 50592, 90125, 17106, 73, 313, 501, 352, 13482, 502, 91, 2452, 3454, 91384, 2091, 113972, 74275, 61898, 52099, 6138, 272, 91693, 151228, 1653, 2063, 5037, 126684, 173340, 62775, 1528, 27140, 4...
[ 0.239501953125, 0.117919921875, 0.2783203125, 0.06976318359375, 0.2200927734375, 0.037445068359375, 0.1815185546875, 0.2149658203125, 0.1708984375, 0.189697265625, 0.1209716796875, 0.1219482421875, 0.062255859375, 0.042083740234375, 0.052215576171875, 0.17138671875, 0.123046875, 0....
embed
19613159_c0
19613159
prolog
0
Title: Prolog code for arbitrary data (so that it doesn't have to be hard-coded) Problem title: Prolog code for arbitrary data (so that it doesn't have to be hard-coded) Tags: input, prolog Problem: Prolog code for arbitrary data (so that it doesn't have to be hard-coded) Currently I am writing a Prolog progr...
Prolog code for arbitrary data (so that it doesn't have to be hard-coded) Prolog code for arbitrary data (so that it doesn't have to be hard-coded) input prolog Prolog Prolog code for arbitrary data (so that it doesn't have to be hard-coded) Currently I am writing a Prolog program dealing with various differe...
[ 0.0283203125, 0.0074462890625, 0.00543212890625, 0.0004482269287109375, 0.002105712890625, 0.003204345703125, 0.0155029296875, -0.004852294921875, 0.015869140625, -0.068359375, -0.017333984375, -0.044189453125, -0.0284423828125, -0.01373291015625, -0.00732421875, 0.018310546875, 0.00...
[ 1250, 4867, 18151, 100, 61799, 1294, 2053, 991, 3768, 7941, 40899, 22027, 18, 765, 107730, 502, 114063, 32562, 1528, 184017, 67842, 12921, 48322, 2046, 1295, 1632, 31913, 15700, 74481, 62488, 6097, 60875, 2060, 587, 759, 70731, 90, 3934, 63...
[ 0.2047119140625, 0.253662109375, 0.21044921875, 0.05999755859375, 0.1812744140625, 0.099609375, 0.1651611328125, 0.0281219482421875, 0.03167724609375, 0.149658203125, 0.184326171875, 0.017608642578125, 0.0362548828125, 0.0184478759765625, 0.1585693359375, 0.1561279296875, 0.010101318...
embed
10743564_c1
10743564
prolog
1
guess and % calls process on the guess. getGuess(AnsList, BlankList):- name(BlankName, BlankList), write(BlankName), nl, write('Enter your guess, followed by a period and return.'), nl, read(Guess), !, name(Guess, [GuessName]), processGuess(AnsList,BlankList,GuessName). % Process guess takes a list of codes representi...
guess and % calls process on the guess. getGuess(AnsList, BlankList):- name(BlankName, BlankList), write(BlankName), nl, write('Enter your guess, followed by a period and return.'), nl, read(Guess), !, name(Guess, [GuessName]), processGuess(AnsList,BlankList,GuessName). % Process guess takes a list of codes representi...
[ -0.0019683837890625, -0.010009765625, 0.0185546875, 0.0019989013671875, 0.01031494140625, 0.00885009765625, 0.00897216796875, -0.006927490234375, -0.0026702880859375, 0.0140380859375, -0.007476806640625, 0.01220703125, -0.013916015625, 0.0111083984375, 0.00122833251953125, 0.0255126953...
[ 57767, 136, 1745, 11782, 7, 9433, 98, 70, 5, 2046, 22769, 90, 7251, 154663, 4, 132862, 2077, 9351, 69266, 163612, 33022, 13169, 155581, 935, 14922, 30646, 12301, 711, 194, 123996, 51776, 5303, 18151, 33636, 35166, 43581, 3827, 20706, 113860...
[ 0.32861328125, 0.1368408203125, 0.24658203125, 0.207763671875, 0.1766357421875, 0.2237548828125, 0.041748046875, 0.0880126953125, 0.02783203125, 0.145751953125, 0.22900390625, 0.233154296875, 0.138916015625, 0.256591796875, 0.011505126953125, 0.1959228515625, 0.004241943359375, 0.0...
embed
20164639_c0
20164639
prolog
0
Title: Prolog print array fails Problem title: Prolog print array fails Tags: prolog Problem: Prolog print array fails I'm fairly new to Prolog, and I'm having the following issue: I represent a two-dimensional array as follows: [[ROW1], [ROW2],..] I wrote a predicate to print out the two dimensional array as follows: ...
Prolog print array fails Prolog print array fails prolog Prolog ROW1 ROW2 BEGIN POSITION FIRST REST VAL NPOS ROW STARTIDX VALUE NEXTIDX CONTAINER HEAD Prolog print array fails I'm fairly new to Prolog, and I'm having the following issue: I represent a two-dimensional array as follows: I wrote a predicate to print out t...
[ 0.005889892578125, 0.00750732421875, 0.0048828125, 0.00970458984375, -0.024169921875, -0.01287841796875, -0.0133056640625, 0.01031494140625, 0.00185394287109375, 0.010986328125, 0.0260009765625, 0.0157470703125, -0.0146484375, -0.0201416015625, 0.0072021484375, -0.005615234375, 0.005...
[ 1250, 4867, 28412, 10298, 53, 35782, 502, 19452, 1456, 418, 304, 108526, 54602, 21828, 55991, 91383, 188359, 1542, 90259, 188328, 31089, 33636, 6626, 157955, 54397, 1653, 2063, 1810, 5117, 15555, 98320, 1957, 2967, 32354, 12724, 434, 42272, 2...
[ 0.14794921875, 0.216064453125, 0.1710205078125, 0.1510009765625, 0.0565185546875, 0.1829833984375, 0.09600830078125, 0.06298828125, 0.002960205078125, 0.0147705078125, 0.008758544921875, 0.00927734375, 0.0894775390625, 0.01507568359375, 0.1082763671875, 0.08935546875, 0.0281066894531...
embed
17749708_c0
17749708
prolog
0
Title: optimised minimum value using findall/3 Problem title: optimised minimum value using findall/3 Tags: swi-prolog, clpfd, prolog, optimization Problem: optimised minimum value using findall/3 I am trying to optimise and find the minimum Cost of a function. The program below uses findall/3 to iterate over all possi...
optimised minimum value using findall/3 optimised minimum value using findall/3 swi-prolog clpfd prolog optimization findall/3 Cost min_list some_predicate List Option input..arguments find_data Value find_cost optimised minimum value using findall/3 I am trying to optimise and find the minimum Cost of a function. The ...
[ 0.01397705078125, -0.000682830810546875, 0.00811767578125, -0.000591278076171875, -0.004730224609375, 0.0002803802490234375, 0.0233154296875, -0.01055908203125, 0.01513671875, -0.03173828125, 0.005126953125, -0.006561279296875, 0.0137939453125, -0.0101318359375, 0.01300048828125, 0.012...
[ 15572, 52021, 15440, 34292, 17368, 7413, 5584, 18113, 91, 2452, 3454, 4867, 33139, 39557, 71, 502, 87235, 63099, 881, 6562, 19714, 2063, 32036, 86769, 107730, 155937, 10135, 190060, 587, 271, 31577, 3075, 32354, 1528, 35064, 4527, 8560, 7722,...
[ 0.177978515625, 0.0443115234375, 0.244140625, 0.193115234375, 0.048095703125, 0.1810302734375, 0.227294921875, 0.2432861328125, 0.001373291015625, 0.1593017578125, 0.10687255859375, 0.17333984375, 0.04791259765625, 0.0582275390625, 0.093017578125, 0.09588623046875, 0.1566162109375, ...
embed
73959533_c0
73959533
prolog
0
Title: SWI-Prolog: Shortest path between multiple doubly-linked interconnected nodes Problem title: SWI-Prolog: Shortest path between multiple doubly-linked interconnected nodes Tags: list, prolog, swi-prolog Problem: SWI-Prolog: Shortest path between multiple doubly-linked interconnected nodes I am trying to construct...
SWI-Prolog: Shortest path between multiple doubly-linked interconnected nodes SWI-Prolog: Shortest path between multiple doubly-linked interconnected nodes list prolog swi-prolog SWI-Prolog Shortest Path PathN Redo _10100 Call _18442 _18444 Exit _19962 _21478 Fail _24520 _24522 _26040 _27556 _228 _3680 _3682 _5200 _671...
[ 0.00086212158203125, 0.00933837890625, 0.0152587890625, 0.0185546875, -0.014892578125, 0.0026397705078125, -0.007781982421875, 0.000125885009765625, 0.01904296875, -0.050048828125, 0.0079345703125, -0.009765625, -0.01324462890625, 0.0028839111328125, 0.0035247802734375, 0.0052490234375...
[ 159, 38969, 10752, 4867, 82990, 525, 60875, 17721, 48716, 54, 34, 38526, 10187, 1940, 135457, 110, 988, 5303, 502, 2452, 3454, 108421, 839, 6096, 31, 963, 3559, 26265, 1819, 161041, 88471, 5443, 60072, 157376, 190355, 143886, 163406, 134712, ...
[ 0.04046630859375, 0.2080078125, 0.133056640625, 0.2109375, 0.2095947265625, 0.1439208984375, 0.190673828125, 0.1104736328125, 0.13671875, 0.061279296875, 0.1072998046875, 0.1103515625, 0.13427734375, 0.07861328125, 0.14599609375, 0.1544189453125, 0.09686279296875, 0.1490478515625, ...
embed
61330644_c0
61330644
prolog
0
Title: checking if there a list of lists can unify with another list of lists Problem title: checking if there a list of lists can unify with another list of lists Tags: list, prolog Problem: checking if there a list of lists can unify with another list of lists So i have two predicates the 1st is palavra_uni(Word,Var)...
checking if there a list of lists can unify with another list of lists checking if there a list of lists can unify with another list of lists list prolog palavras_uni P12 P13 P14 P11 P21 P31 P41 P51 P23 P33 P43 P53 espacos_uni palavra_uni checking if there a list of lists can unify with another list of lists So i have ...
[ 0.01092529296875, 0.004058837890625, -0.0038299560546875, -0.0050048828125, -0.0147705078125, 0.00787353515625, 0.005706787109375, 0.00159454345703125, 0.0091552734375, -0.01104736328125, 0.00927734375, 0.008544921875, 0.03662109375, -0.0093994140625, 0.00408935546875, 0.00361633300781...
[ 175199, 2174, 2685, 5303, 831, 51, 40383, 678, 15700, 502, 4867, 78549, 5980, 1530, 2681, 2592, 1662, 3117, 5016, 8894, 11703, 3742, 9185, 11548, 14226, 101404, 7840, 113119, 765, 6626, 1653, 2063, 1636, 454, 164805, 81827, 22543, 34153, 18...
[ 0.2078857421875, 0.09912109375, 0.09197998046875, 0.231689453125, 0.14990234375, 0.2200927734375, 0.19482421875, 0.1551513671875, 0.1246337890625, 0.14599609375, 0.1917724609375, 0.177978515625, 0.23095703125, 0.09881591796875, 0.0985107421875, 0.0533447265625, 0.0758056640625, 0.0...
embed
47895938_c0
47895938
prolog
0
Title: prolog- use of multi_cumulative with multiple resources Problem title: prolog- use of multi_cumulative with multiple resources Tags: clpfd, prolog Problem: prolog- use of multi_cumulative with multiple resources I need to create a schedule for tasks. I decided to use multi_cumulative(+Tasks,+Capacities) , which ...
prolog- use of multi_cumulative with multiple resources prolog- use of multi_cumulative with multiple resources clpfd prolog multi_cumulative Tasks Capacities End prolog- use of multi_cumulative with multiple resources I need to create a schedule for tasks. I decided to use multi_cumulative(+Tasks,+Capacities) , which ...
[ -0.005523681640625, 0.016845703125, 0.01214599609375, 0.02880859375, -0.0286865234375, -0.0027923583984375, 0.0028839111328125, -0.011962890625, 0.003265380859375, -0.0390625, 0.0155029296875, -0.0179443359375, 0.01611328125, 0.029296875, -0.00177764892578125, -0.01318359375, 0.02429...
[ 502, 4867, 4527, 6024, 10591, 202, 45023, 678, 48716, 65514, 33139, 39557, 71, 9598, 14304, 14393, 18878, 3871, 28282, 10, 80889, 100, 66211, 68872, 1328, 9874, 1042, 87926, 11389, 1452, 12477, 32354, 1295, 35773, 62822, 27781, 27140, 1528, ...
[ 0.1268310546875, 0.2108154296875, 0.11962890625, 0.179931640625, 0.1361083984375, 0.1495361328125, 0.192138671875, 0.0762939453125, 0.1932373046875, 0.2391357421875, 0.0352783203125, 0.0706787109375, 0.103515625, 0.1497802734375, 0.108154296875, 0.140869140625, 0.07000732421875, 0....
embed
44231106_c1
44231106
prolog
1
georginaAlien,georginaFeature], [karen,karenAlien,karenFeature] ], % 1. Dudley didn't walk out of the store with either Flubsub or Jarix, and his alien doesn't develop fins when placed in water. \+ member([dudley,flubsub,_],Owners), \+ member([dudley,jarix,_],Owners), \+ member([dudley,_,fins],Owners), %2. Jarix (which...
georginaAlien,georginaFeature], [karen,karenAlien,karenFeature] ], % 1. Dudley didn't walk out of the store with either Flubsub or Jarix, and his alien doesn't develop fins when placed in water. \+ member([dudley,flubsub,_],Owners), \+ member([dudley,jarix,_],Owners), \+ member([dudley,_,fins],Owners), %2. Jarix (which...
[ -0.01153564453125, 0.0157470703125, -0.000652313232421875, 0.0093994140625, -0.007110595703125, 0.00193023681640625, -0.01177978515625, 0.0079345703125, 0.0057373046875, 0.0263671875, -0.00174713134765625, -0.01458740234375, 0.01373291015625, 0.0302734375, -0.00032806396484375, -0.0101...
[ 700, 1478, 885, 55725, 33, 4, 429, 30154, 11, 6644, 1153, 1745, 615, 786, 71, 4293, 15935, 18, 35691, 1810, 4343, 678, 40101, 36157, 275, 22144, 707, 128377, 425, 136, 1919, 66961, 22027, 85493, 7675, 3229, 158012, 7401, 1328, 32786, 41...
[ 0.087646484375, 0.1807861328125, 0.1795654296875, 0.197998046875, 0.1597900390625, 0.0333251953125, 0.05810546875, 0.11865234375, 0.1085205078125, 0.084716796875, 0.1165771484375, 0.130126953125, 0.083740234375, 0.1580810546875, 0.135009765625, 0.2454833984375, 0.06561279296875, 0....
embed
46754796_c0
46754796
prolog
0
Title: Issue running query in prolog with list and predicate Problem title: Issue running query in prolog with list and predicate Tags: prolog, logic Problem: Issue running query in prolog with list and predicate Currently trying to create a library recommendation system in prolog for a college assignment and being qui...
Issue running query in prolog with list and predicate Issue running query in prolog with list and predicate prolog logic Issue after_dark haruki_murakami nt_bible monty_python Lib Title Author Genre Size Issue running query in prolog with list and predicate Currently trying to create a library recommendation system in ...
[ -0.002655029296875, 0.005218505859375, 0.01116943359375, 0.0137939453125, -0.0159912109375, 0.012939453125, -0.021240234375, 0.00051116943359375, 0.000118255615234375, -0.03955078125, 0.01123046875, -0.0263671875, 0.00872802734375, -0.02099609375, 0.0028839111328125, -0.01300048828125,...
[ 223317, 51042, 41, 1294, 23, 502, 4867, 678, 5303, 136, 1653, 2063, 62775, 7103, 1506, 92, 182, 38662, 54184, 5851, 660, 964, 2661, 23533, 53, 6493, 50828, 43278, 48962, 61804, 15937, 80378, 28282, 35773, 67330, 5426, 40466, 95486, 72856, ...
[ 0.1949462890625, 0.1590576171875, 0.175537109375, 0.05694580078125, 0.028076171875, 0.15771484375, 0.2239990234375, 0.091064453125, 0.1800537109375, 0.068603515625, 0.1563720703125, 0.2186279296875, 0.1666259765625, 0.131103515625, 0.099365234375, 0.057159423828125, 0.05889892578125,...
embed
34661955_c0
34661955
prolog
0
Title: Prolog binary search tree test - unwanted parents' parent node comparison Problem title: Prolog binary search tree test - unwanted parents' parent node comparison Tags: binary-tree, binary-search-tree, prolog Problem: Prolog binary search tree test - unwanted parents' parent node comparison I'm a Prolo...
Prolog binary search tree test - unwanted parents' parent node comparison Prolog binary search tree test - unwanted parents' parent node comparison binary-tree binary-search-tree prolog Prolog is_btree Prolog binary search tree test - unwanted parents' parent node comparison I'm a Prolog rookie, please keep t...
[ 0.015380859375, 0.007354736328125, 0.0026092529296875, -0.017822265625, -0.01904296875, 0.00567626953125, -0.015869140625, -0.0185546875, 0.006591796875, -0.01416015625, -0.0027008056640625, 0.0000286102294921875, 0.000514984130859375, 0.0021209716796875, 0.010498046875, -0.00442504882...
[ 1250, 4867, 2394, 6635, 33938, 53201, 3034, 51, 3206, 3674, 27863, 3768, 49129, 110, 112, 225490, 62600, 86250, 502, 83, 167802, 1653, 2063, 83324, 2174, 13579, 26366, 18151, 43240, 32233, 5885, 41382, 7108, 5609, 10922, 35431, 84396, 56, 3...
[ 0.1505126953125, 0.2135009765625, 0.1671142578125, 0.109619140625, 0.16650390625, 0.2376708984375, 0.182861328125, 0.07098388671875, 0.14453125, 0.06890869140625, 0.148681640625, 0.003082275390625, 0.154052734375, 0.13134765625, 0.1358642578125, 0.1666259765625, 0.2254638671875, 0....
embed
5852841_c0
5852841
prolog
0
Title: Splitting a sentence without any whitespace/seperators into a sentence with whitespace Problem title: Splitting a sentence without any whitespace/seperators into a sentence with whitespace Tags: tokenize, prolog Problem: Splitting a sentence without any whitespace/seperators into a sentence with whitespace I'm w...
Splitting a sentence without any whitespace/seperators into a sentence with whitespace Splitting a sentence without any whitespace/seperators into a sentence with whitespace tokenize prolog Splitting Splitting a sentence without any whitespace/seperators into a sentence with whitespace I'm working on an end-of-semester...
[ 0.0233154296875, 0.00494384765625, -0.0179443359375, 0.03271484375, -0.0179443359375, 0.00860595703125, 0.00860595703125, 0.02197265625, -0.0038299560546875, -0.00946044921875, 0.0133056640625, 0.006256103515625, -0.048828125, 0.00531005859375, 0.014404296875, 0.017822265625, 0.00842...
[ 46474, 1916, 149357, 15490, 2499, 35011, 65421, 41024, 22230, 3934, 678, 47, 1098, 20650, 502, 4867, 20697, 33787, 13452, 27958, 46876, 95486, 35064, 67229, 41925, 5915, 63134, 32562, 1250, 4358, 28219, 77947 ]
[ 0.1959228515625, 0.06494140625, 0.21044921875, 0.086181640625, 0.053253173828125, 0.144287109375, 0.19384765625, 0.1121826171875, 0.06463623046875, 0.1070556640625, 0.027984619140625, 0.05908203125, 0.1400146484375, 0.0810546875, 0.11962890625, 0.204345703125, 0.03326416015625, 0.0...
embed
6034593_c0
6034593
prolog
0
Title: Why does Yap's MYDDAS (MySQL coupling API) fail to work? Problem title: Why does Yap's MYDDAS (MySQL coupling API) fail to work? Tags: mysql, yap, prolog Problem: Why does Yap's MYDDAS (MySQL coupling API) fail to work? Using Yap Prolog 6.2.0, and MySQL 5.1.41, and trying to use db_open . http://www.dc...
Why does Yap's MYDDAS (MySQL coupling API) fail to work? Why does Yap's MYDDAS (MySQL coupling API) fail to work? mysql yap prolog Why Yap MYDDAS MySQL API db_open use_module call:db_open call:myddas:db_open _131406 call:myddas_errors error_checks exit:myddas_errors call:myddas:c_db_my_connect _131634 fail:my...
[ 0.0089111328125, 0.01007080078125, 0.005462646484375, -0.005218505859375, -0.0059814453125, 0.0074462890625, -0.023681640625, -0.0284423828125, -0.00592041015625, -0.0299072265625, 0.016357421875, -0.004058837890625, -0.0242919921875, -0.01129150390625, -0.0096435546875, -0.00717163085...
[ 44084, 14602, 47246, 3768, 54133, 397, 73686, 31852, 158897, 14974, 2069, 61687, 35782, 47, 4488, 759, 99247, 15850, 502, 4867, 157146, 40041, 59636, 4527, 83279, 11782, 48073, 39, 13974, 162, 115468, 150744, 188800, 18499, 78292, 82230, 1176, ...
[ 0.1163330078125, 0.0052490234375, 0.23974609375, 0.06170654296875, 0.1593017578125, 0.1639404296875, 0.212158203125, 0.0689697265625, 0.1932373046875, 0.1693115234375, 0.081298828125, 0.1800537109375, 0.2042236328125, 0.0345458984375, 0.1337890625, 0.04986572265625, 0.115234375, 0....
embed
41419143_c0
41419143
prolog
0
Title: Prolog - Calculating coordinates of Koch-curve Problem title: Prolog - Calculating coordinates of Koch-curve Tags: prolog, clpfd Problem: Prolog - Calculating coordinates of Koch-curve I'm learning about constraint programming and recursive programming in Prolog. I have to programm a koch-curve of Level N which ...
Prolog - Calculating coordinates of Koch-curve Prolog - Calculating coordinates of Koch-curve prolog clpfd Prolog Calculating Koch-curve Ls1 N-1 Ex-Sx Ey-Sy X2-Sx Y2-Ey Phi1 Y2-Sy Phi1-240 Prolog - Calculating coordinates of Koch-curve I'm learning about constraint programming and recursive programming in Prolog. I hav...
[ 0.00762939453125, 0.00616455078125, 0.0257568359375, -0.01416015625, 0.008544921875, 0.00787353515625, 0.0111083984375, 0.018310546875, 0.005401611328125, -0.01239013671875, -0.019775390625, -0.0147705078125, -0.009521484375, -0.00421142578125, 0.01953125, -0.007568359375, 0.02880859...
[ 1250, 4867, 212467, 26518, 176866, 90, 103857, 16820, 272, 502, 39557, 71, 339, 7, 418, 5759, 5443, 425, 29807, 65183, 18504, 990, 53, 49039, 2839, 111, 9, 52080, 158, 2816, 4288, 56037, 195625, 28966, 298, 206, 84136, 541, 5608, 4034, ...
[ 0.158447265625, 0.2236328125, 0.1806640625, 0.018524169921875, 0.2548828125, 0.0657958984375, 0.254638671875, 0.1728515625, 0.140380859375, 0.0892333984375, 0.022613525390625, 0.008148193359375, 0.0833740234375, 0.051788330078125, 0.0252685546875, 0.05987548828125, 0.0924072265625, ...
embed
48372448_c0
48372448
prolog
0
Title: Sudoku solver performance problems Problem title: Sudoku solver performance problems Tags: sudoku, performance, prolog, solver Problem: Sudoku solver performance problems I have a problem with my prolog solver for sudoku. It's working, but the performance is reeaaaaly bad. With small ones it's working just fine,...
Sudoku solver performance problems Sudoku solver performance problems sudoku performance prolog solver Sudoku solve_sudoku Rows Sol Max same_length List all_distinct Columns Boxes boxes_distinct Len nth1 Row R-1 C-1 Sudoku solver performance problems I have a problem with my prolog solver for sudoku. It's working, but ...
[ -0.001007080078125, 0.007293701171875, 0.0198974609375, -0.0185546875, -0.013427734375, -0.035888671875, -0.018310546875, -0.002349853515625, -0.00726318359375, -0.041259765625, 0.00182342529296875, 0.003570556640625, 0.00531005859375, -0.00323486328125, -0.0164794921875, 0.01483154296...
[ 15334, 38067, 3115, 814, 23718, 44402, 8932, 502, 4867, 86869, 11547, 319, 96190, 6678, 9920, 5701, 23986, 32036, 38893, 233987, 27271, 16530, 90, 18226, 927, 627, 5759, 2967, 20697, 1284, 83, 6494, 19336, 5885, 167785, 483, 425, 1126, 1286...
[ 0.151611328125, 0.2100830078125, 0.1405029296875, 0.171875, 0.2142333984375, 0.138427734375, 0.143310546875, 0.144775390625, 0.2208251953125, 0.1201171875, 0.1175537109375, 0.13037109375, 0.1376953125, 0.1072998046875, 0.1217041015625, 0.054656982421875, 0.03924560546875, 0.1033935...
embed
61118287_c0
61118287
prolog
0
Title: Using await and async to make load an parse Tau-Prolog before anything else Problem title: Using await and async to make load an parse Tau-Prolog before anything else Tags: tau-prolog, javascript, prolog Problem: Using await and async to make load an parse Tau-Prolog before anything else my task is to load and p...
Using await and async to make load an parse Tau-Prolog before anything else Using await and async to make load an parse Tau-Prolog before anything else tau-prolog javascript prolog Using Tau-Prolog pl.create init_prolog webProlog.pl session.consult session.query session.answer console.log Prolog Using await and async t...
[ 0.0272216796875, 0.017822265625, -0.01513671875, 0.00335693359375, -0.0081787109375, 0.00897216796875, 0.02734375, -0.013916015625, 0.000701904296875, -0.0693359375, 0.01153564453125, -0.0030517578125, -0.01348876953125, -0.0029449462890625, 0.017333984375, 0.00421142578125, 0.022705...
[ 345, 634, 217, 136, 10, 12654, 238, 3249, 72367, 366, 184, 21139, 9, 10752, 4867, 8108, 23937, 37076, 5705, 3454, 136951, 502, 6456, 7612, 23, 1467, 2424, 56002, 147834, 10133, 130250, 1250, 66211, 18151, 86976, 71924, 37842, 51515, 14051, ...
[ 0.022979736328125, 0.20703125, 0.211669921875, 0.087646484375, 0.0333251953125, 0.1943359375, 0.1002197265625, 0.052642822265625, 0.181396484375, 0.156494140625, 0.1092529296875, 0.287109375, 0.040008544921875, 0.1805419921875, 0.236572265625, 0.16845703125, 0.0927734375, 0.0795898...
embed
46779726_c0
46779726
prolog
0
Title: Prolog looking for the inorder location of an element in tree(without using lists) Problem title: Prolog looking for the inorder location of an element in tree(without using lists) Tags: prolog Problem: Prolog looking for the inorder location of an element in tree(without using lists) I am trying to go through a...
Prolog looking for the inorder location of an element in tree(without using lists) Prolog looking for the inorder location of an element in tree(without using lists) prolog lists Prolog inorder_finder inorder_place Count Place Wanted Prolog looking for the inorder location of an element in tree(without using lists) I a...
[ 0.0272216796875, 0.008056640625, -0.00238037109375, -0.0281982421875, 0.0027923583984375, 0.018310546875, -0.01214599609375, -0.0283203125, -0.0029144287109375, -0.04541015625, -0.02197265625, -0.031982421875, 0.006103515625, -0.0169677734375, 0.0108642578125, 0.000759124755859375, 0...
[ 1250, 4867, 16487, 100, 23, 80596, 31913, 12830, 53201, 6056, 5303, 502, 168719, 23935, 108210, 41076, 42335, 17368, 31577, 8305, 2394, 6635, 26983, 55300, 30388, 7413, 74918, 29458, 22799, 4527, 238, 2046, 382, 71, 106, 434, 68940, 18151, ...
[ 0.142822265625, 0.2266845703125, 0.0623779296875, 0.0823974609375, 0.135009765625, 0.2249755859375, 0.165283203125, 0.166259765625, 0.1929931640625, 0.047760009765625, 0.119140625, 0.09796142578125, 0.2005615234375, 0.1185302734375, 0.1500244140625, 0.1463623046875, 0.1148681640625, ...
embed
62538102_c0
62538102
prolog
0
Title: Access all posted clpfd constraints SWI vs Sicstus Prolog Problem title: Access all posted clpfd constraints SWI vs Sicstus Prolog Tags: prolog, clpfd Problem: Access all posted clpfd constraints SWI vs Sicstus Prolog I am trying to work out a problem. I am writing a program for use with Sicstus-Prolog and I nee...
Access all posted clpfd constraints SWI vs Sicstus Prolog Access all posted clpfd constraints SWI vs Sicstus Prolog prolog clpfd Access SWI Sicstus Prolog List all_different copy_term SWI-Prolog use_module bar_aux Var2 Actual _25130 _25346 _25274 _25202 Access all posted clpfd constraints SWI vs Sicstus Prolog I am try...
[ 0.0230712890625, 0.0035400390625, -0.00579833984375, 0.00213623046875, 0.00016117095947265625, -0.01141357421875, -0.005340576171875, 0.00194549560546875, -0.010009765625, -0.06689453125, 0.0106201171875, 0.00982666015625, -0.016357421875, -0.007293701171875, 0.00156402587890625, -0.00...
[ 40266, 756, 44183, 33139, 39557, 71, 158, 2816, 4288, 159, 38969, 20209, 63457, 18253, 1250, 4867, 502, 32036, 238778, 43658, 32166, 10752, 4527, 83279, 1909, 10442, 3323, 304, 100582, 43955, 2967, 32562, 1528, 3871, 123309, 26366, 31577, 204...
[ 0.181640625, 0.09619140625, 0.1778564453125, 0.0914306640625, 0.101806640625, 0.122314453125, 0.0885009765625, 0.17236328125, 0.140380859375, 0.0616455078125, 0.2257080078125, 0.093994140625, 0.1331787109375, 0.2257080078125, 0.12548828125, 0.200439453125, 0.096435546875, 0.0802001...
embed
53509973_c0
53509973
prolog
0
Title: Why doesn't prolog give a correct value for variable? Problem title: Why doesn't prolog give a correct value for variable? Tags: prolog Problem: Why doesn't prolog give a correct value for variable? I am writing a basic program in prolog but I don't get it to work. This is the code: My prolog code. bor...
Why doesn't prolog give a correct value for variable? Why doesn't prolog give a correct value for variable? prolog Why Lsum Set Lsum2 Country Why doesn't prolog give a correct value for variable? I am writing a basic program in prolog but I don't get it to work. This is the code: My prolog code. (Obs: the bor...
[ 0.0242919921875, 0.0177001953125, 0.0174560546875, 0.01153564453125, -0.0035552978515625, 0.004302978515625, -0.01397705078125, 0.01953125, 0.013427734375, -0.0277099609375, 0.01513671875, 0.0029754638671875, -0.0064697265625, -0.0103759765625, 0.013671875, -0.00506591796875, 0.00567...
[ 44084, 22027, 3768, 18, 502, 4867, 8337, 26785, 34292, 77336, 339, 11832, 19943, 304, 74831, 10, 100, 32562, 62822, 1528, 23, 2301, 2046, 4488, 18151, 2646, 132988, 121413, 11435, 98363, 2967, 134598, 54, 10554, 756, 47, 23295, 12765, 75723...
[ 0.10791015625, 0.05169677734375, 0.03497314453125, 0.0843505859375, 0.177734375, 0.25244140625, 0.09588623046875, 0.1815185546875, 0.1693115234375, 0.241455078125, 0.05908203125, 0.2333984375, 0.1162109375, 0.1290283203125, 0.187255859375, 0.011810302734375, 0.019012451171875, 0.07...
embed
6003055_c0
6003055
prolog
0
Title: New to Prolog - challenge with lists Problem title: New to Prolog - challenge with lists Tags: list, prolog Problem: New to Prolog - challenge with lists First I apologize for any mistakes I may make since English is not my first language. So I decided to learn Prolog all by myself and I came across this "challe...
New to Prolog - challenge with lists New to Prolog - challenge with lists list prolog Prolog New to Prolog - challenge with lists First I apologize for any mistakes I may make since English is not my first language. So I decided to learn Prolog all by myself and I came across this "challenge." I have this database abou...
[ 0.00775146484375, 0.015380859375, 0.01495361328125, 0.031005859375, -0.006622314453125, 0.0272216796875, -0.028564453125, -0.0164794921875, 0.0047607421875, -0.043212890625, -0.00186920166015625, -0.006561279296875, -0.00714111328125, 0.01904296875, 0.002227783203125, -0.01434326171875...
[ 2356, 47, 1250, 4867, 66801, 678, 5303, 7, 502, 23972, 1747, 12524, 121742, 14941, 83, 959, 759, 5117, 46876, 30698, 756, 35978, 36880, 903, 1436, 8405, 429, 765, 63399, 1672, 1910, 17367, 25632, 1653, 2063, 3445, 160054, 163612, 7639, 16...
[ 0.1287841796875, 0.123779296875, 0.1820068359375, 0.256103515625, 0.2161865234375, 0.162841796875, 0.2369384765625, 0.01171875, 0.122802734375, 0.0150299072265625, 0.040740966796875, 0.0799560546875, 0.1263427734375, 0.1298828125, 0.004058837890625, 0.06982421875, 0.034423828125, 0...
embed
10345134_c0
10345134
prolog
0
Title: Input handling to create a sudoku grid Problem title: Input handling to create a sudoku grid Tags: dcg, prolog Problem: Input handling to create a sudoku grid I have programmed many things in many programming languages, and Prolog is not one of those languages. I am supposed to write a program that will solve a ...
Input handling to create a sudoku grid Input handling to create a sudoku grid dcg prolog Input File get_char end_of_file Input handling to create a sudoku grid I have programmed many things in many programming languages, and Prolog is not one of those languages. I am supposed to write a program that will solve a sudoku...
[ 0.00531005859375, -0.005615234375, 0.0191650390625, 0.007171630859375, -0.021240234375, 0.01226806640625, -0.001220703125, -0.0189208984375, -0.006378173828125, -0.02734375, 0.00982666015625, -0.0036468505859375, -0.0101318359375, -0.004638671875, -0.017333984375, 0.022705078125, 0.0...
[ 360, 7077, 45064, 28282, 8932, 38067, 120067, 10, 177, 502, 4867, 42724, 2046, 9254, 3564, 4390, 29822, 26693, 5941, 56037, 46876, 1250, 959, 134598, 33022, 1528, 86869, 104192, 34475, 18811, 107730, 6528, 14934, 756, 120384, 101935, 5303, 65...
[ 0.0809326171875, 0.1341552734375, 0.2159423828125, 0.16064453125, 0.1202392578125, 0.203857421875, 0.2330322265625, 0.00677490234375, 0.07159423828125, 0.09393310546875, 0.1866455078125, 0.0992431640625, 0.03326416015625, 0.1400146484375, 0.1219482421875, 0.1265869140625, 0.128417968...
embed
56156610_c0
56156610
prolog
0
Title: Sum of different elements in dynamic list and make a descending list Problem title: Sum of different elements in dynamic list and make a descending list Tags: prolog Problem: Sum of different elements in dynamic list and make a descending list So I have this homework , and the basic idea is to simulate selling b...
Sum of different elements in dynamic list and make a descending list Sum of different elements in dynamic list and make a descending list prolog Sum Sale Eladas All Most Auth Title Sum of different elements in dynamic list and make a descending list So I have this homework , and the basic idea is to simulate selling bo...
[ 0.04052734375, -0.004638671875, 0.0213623046875, 0.0038299560546875, -0.0166015625, 0.0198974609375, -0.0157470703125, 0.0103759765625, 0.02001953125, -0.01190185546875, 0.00396728515625, -0.000957489013671875, -0.005828857421875, -0.0166015625, 0.0164794921875, -0.017333984375, -0.0...
[ 36335, 12921, 80854, 84079, 5303, 3249, 60887, 214, 23, 502, 4867, 33965, 540, 8397, 3164, 17006, 5655, 927, 48962, 5368, 18244, 62822, 6528, 40226, 143092, 42840, 12877, 17357, 1003, 5922, 16734, 17991, 115411, 52779, 607, 11435, 42179, 831,...
[ 0.231201171875, 0.1756591796875, 0.1859130859375, 0.2108154296875, 0.20458984375, 0.03515625, 0.1964111328125, 0.08740234375, 0.03662109375, 0.129638671875, 0.1685791015625, 0.17529296875, 0.1153564453125, 0.1748046875, 0.05877685546875, 0.1251220703125, 0.0887451171875, 0.09631347...
embed
40961304_c0
40961304
prolog
0
Title: Prolog counting sort Problem title: Prolog counting sort Tags: prolog, sorting, counting-sort Problem: Prolog counting sort So i created counting sort( https://en.wikipedia.org/wiki/Counting_sort ) program in Prolog using ECLiPSe 6.1. It sorts fine, but it can only write sorted list in console instead of returni...
Prolog counting sort Prolog counting sort prolog sorting counting-sort 0 ARG1 Prolog ARG2 ARG3 build_list sum_list Sum Rest ARG4 I-1 increment_nth_in_list Increment N-1 decrement_nth_in_list Decrement X-1 Sorting Sorted Starting Amounts_of MAX count_numbers Sortinghead Sortingtail Amount_of NewAmount fill_list Amount_o...
[ -0.000732421875, -0.0135498046875, 0.01220703125, -0.01202392578125, 0.00007343292236328125, 0.019775390625, -0.023193359375, -0.007659912109375, 0.01953125, -0.0007476806640625, -0.0042724609375, 0.0068359375, 0.0164794921875, 0.0024566650390625, 0.019775390625, -0.00909423828125, -...
[ 1250, 4867, 54529, 214, 12096, 502, 62351, 757, 48802, 418, 304, 363, 45367, 6562, 10554, 36335, 49756, 617, 5759, 158661, 927, 107, 8, 7612, 1193, 53666, 13794, 121147, 85378, 2606, 31251, 46741, 26292, 9874, 140423, 158240, 75935, 7168, 1...
[ 0.1766357421875, 0.24609375, 0.1658935546875, 0.0828857421875, 0.244873046875, 0.1365966796875, 0.2232666015625, 0.105712890625, 0.1197509765625, 0.042877197265625, 0.0218505859375, 0.0438232421875, 0.08642578125, 0.1307373046875, 0.09619140625, 0.096435546875, 0.0791015625, 0.0550...
embed
2583194_c0
2583194
prolog
0
Title: Prolog: Not executing code as expected Problem title: Prolog: Not executing code as expected Tags: prolog, artificial-intelligence Problem: Prolog: Not executing code as expected Basically I am attempting to have an AI agent navigate a world based on given percepts. My issue is handling how the agent moves. Basi...
Prolog: Not executing code as expected Prolog: Not executing code as expected prolog artificial-intelligence Prolog Not find_action Action Prolog: Not executing code as expected Basically I am attempting to have an AI agent navigate a world based on given percepts. My issue is handling how the agent moves. Basically, I...
[ -0.0018463134765625, 0.01336669921875, 0.01434326171875, 0.027099609375, -0.0216064453125, 0.00762939453125, -0.0155029296875, 0.005615234375, -0.005126953125, -0.0244140625, -0.0017547607421875, 0.0301513671875, -0.0208740234375, -0.0120849609375, 0.0140380859375, 0.01007080078125, ...
[ 1250, 4867, 11205, 71924, 214, 18151, 237, 84751, 12, 502, 66733, 130687, 7413, 454, 44713, 57945, 81887, 38730, 23882, 56136, 8999, 35509, 34475, 34564, 31089, 45064, 3642, 25813, 75935, 17357, 6044, 27875, 22631, 43581, 38750, 48225, 7808, ...
[ 0.19189453125, 0.2479248046875, 0.170654296875, 0.190185546875, 0.091064453125, 0.2183837890625, 0.1351318359375, 0.1549072265625, 0.0067138671875, 0.16455078125, 0.08636474609375, 0.0689697265625, 0.1768798828125, 0.04913330078125, 0.1961669921875, 0.1964111328125, 0.072265625, 0....
embed
20181039_c0
20181039
prolog
0
Title: Prolog: Optimizing a puzzle solver Problem title: Prolog: Optimizing a puzzle solver Tags: clpfd, optimization, prolog Problem: Prolog: Optimizing a puzzle solver I am currently solving a specific kenken problem, and I notice it takes about 5 seconds to solve. This is for a smaller puzzle. However, I also need t...
Prolog: Optimizing a puzzle solver Prolog: Optimizing a puzzle solver clpfd optimization prolog Prolog Optimizing First Second Result Larger Smaller groupof4 List allrowsof4 X10 X11 X12 X13 X14 X15 X16 allcolumnsof4 validnumbers4 validnumber4 Additional Arithmetic Dividend Difference Prolog: Optimizing a puzzle solver ...
[ 0.00543212890625, -0.003204345703125, 0.0164794921875, -0.000850677490234375, -0.024169921875, -0.018798828125, -0.02978515625, -0.01531982421875, 0.012939453125, -0.02587890625, -0.00457763671875, 0.0201416015625, 0.0133056640625, -0.01470947265625, 0.0166015625, 0.0096435546875, -0...
[ 1250, 4867, 43938, 84382, 104192, 3115, 814, 39557, 71, 87235, 502, 23972, 77648, 126684, 181268, 105508, 21115, 4390, 617, 32036, 756, 15555, 54304, 963, 1193, 1662, 1530, 2681, 2592, 1837, 2485, 8447, 316, 35604, 2606, 8962, 76278, 555, 8...
[ 0.158447265625, 0.24951171875, 0.169677734375, 0.10528564453125, 0.215087890625, 0.1448974609375, 0.1357421875, 0.035797119140625, 0.096435546875, 0.167236328125, 0.105712890625, 0.018463134765625, 0.1092529296875, 0.1571044921875, 0.02252197265625, 0.042510986328125, 0.073486328125,...
embed
47733877_c0
47733877
prolog
0
Title: Prolog: Sum one element of a list at a time Problem title: Prolog: Sum one element of a list at a time Tags: swi-prolog, iteration, list, prolog, sum Problem: Prolog: Sum one element of a list at a time I'm new to Prolog and have decided to try to solve a problem in which I have a sequence of symbols that each h...
Prolog: Sum one element of a list at a time Prolog: Sum one element of a list at a time swi-prolog iteration list prolog sum Prolog Sum Path File read_string Str Characters Prolog: Sum one element of a list at a time I'm new to Prolog and have decided to try to solve a problem in which I have a sequence of symbols that...
[ 0.00848388671875, 0.007781982421875, 0.0018157958984375, 0.01019287109375, -0.037353515625, 0.014404296875, -0.00135040283203125, 0.006744384765625, 0.015380859375, -0.048828125, -0.004669189453125, -0.00634765625, -0.01708984375, 0.007720947265625, 0.0115966796875, 0.006927490234375, ...
[ 1250, 4867, 36335, 1632, 12830, 5303, 99, 10, 1733, 91, 2452, 3454, 720, 502, 10554, 108421, 42724, 12301, 91693, 23351, 2263, 111, 3525, 9790, 86869, 2967, 944, 26582, 34292, 106, 707, 68940, 3871, 15190, 756, 25842, 125663, 63262, 36069, ...
[ 0.1903076171875, 0.27099609375, 0.2489013671875, 0.110107421875, 0.206298828125, 0.185546875, 0.0194549560546875, 0.05902099609375, 0.160400390625, 0.012359619140625, 0.1573486328125, 0.1341552734375, 0.191650390625, 0.125244140625, 0.241455078125, 0.15771484375, 0.127197265625, 0....
embed
12008557_c0
12008557
prolog
0
Title: swi-prolog user login and registration Problem title: swi-prolog user login and registration Tags: prolog Problem: swi-prolog user login and registration I have user input/ login as following: login:- write('username: '), read(User), nl, write('password: '), read(Pass). and i have a database with usernames and p...
swi-prolog user login and registration swi-prolog user login and registration prolog User Pass Row SELECT James check:-findall Bla swi-prolog user login and registration I have user input/ login as following: and i have a database with usernames and passwords. I use find predicate to get all rows as a list like shown i...
[ 0.00799560546875, 0.00799560546875, 0.013916015625, 0.0125732421875, -0.0155029296875, -0.00421142578125, 0.005950927734375, 0.0289306640625, 0.0023956298828125, -0.06787109375, 0.01287841796875, 0.00439453125, -0.00531005859375, -0.016357421875, -0.006591796875, -0.02099609375, 0.01...
[ 91, 2452, 3454, 4867, 38937, 73655, 136, 164498, 502, 53400, 28872, 96190, 6755, 144832, 14631, 12765, 111607, 5584, 22446, 107730, 64, 25632, 63399, 11627, 78506, 4527, 7413, 1653, 2063, 67, 2046, 756, 15555, 237, 5303, 127887, 18151, 3917, ...
[ 0.00616455078125, 0.189453125, 0.156005859375, 0.210205078125, 0.1605224609375, 0.1859130859375, 0.03790283203125, 0.2158203125, 0.1370849609375, 0.11181640625, 0.125732421875, 0.154296875, 0.031036376953125, 0.15966796875, 0.181640625, 0.1741943359375, 0.09173583984375, 0.12878417...
embed
12797708_c0
12797708
prolog
0
Title: EndView game on gnu Prolog Problem title: EndView game on gnu Prolog Tags: clpfd, prolog, gnu Problem: EndView game on gnu Prolog Problem in general : we have map 8*8 and we have to fill the empty squares with number from 1 to 6.But in each column and raw number should be met only 1 time.Two squares in each row ...
EndView game on gnu Prolog EndView game on gnu Prolog clpfd prolog gnu EndView Prolog gen_row must_be Tss lists_firsts_rests Ms1 Rest Oss Rows all_distinct EndView game on gnu Prolog Problem in general : we have map 8*8 and we have to fill the empty squares with number from 1 to 6.But in each column and raw number shou...
[ -0.00872802734375, 0.0003204345703125, 0.0205078125, -0.0059814453125, -0.0106201171875, -0.01806640625, -0.01226806640625, 0.0032196044921875, 0.00787353515625, -0.046142578125, -0.000499725341796875, 0.01031494140625, 0.02001953125, -0.0023193359375, 0.00160980224609375, -0.009094238...
[ 18878, 100474, 6712, 104155, 1250, 4867, 71, 502, 9226, 15555, 8110, 384, 7, 5303, 13448, 271, 56644, 70802, 418, 49756, 2027, 96190, 46295, 38893, 15649, 22288, 382, 1639, 1019, 26292, 201505, 108047, 14012, 106, 47, 2289, 12638, 3365, 316...
[ 0.1571044921875, 0.2978515625, 0.08001708984375, 0.1490478515625, 0.136962890625, 0.185302734375, 0.00775146484375, 0.086181640625, 0.1422119140625, 0.1580810546875, 0.04425048828125, 0.03564453125, 0.02069091796875, 0.1112060546875, 0.04107666015625, 0.0267181396484375, 0.1436767578...
embed
5167841_c0
5167841
prolog
0
Title: advice needed with prolog cut? Problem title: advice needed with prolog cut? Tags: prolog-cut, prolog, recursion Problem: advice needed with prolog cut? in this task i have a Prolog database filled with e.g. edge(1,0) edge(2,0) edge(1,3) an edge signifies that two points are joined. I am asked to write a functio...
advice needed with prolog cut? advice needed with prolog cut? prolog-cut prolog recursion smaller greater there Can reach1 Chhose K-1 advice needed with prolog cut? in this task i have a Prolog database filled with e.g. edge(1,0) edge(2,0) edge(1,3) an edge signifies that two points are joined. I am asked to write a fu...
[ 0.019775390625, 0.0245361328125, 0.0233154296875, -0.0004444122314453125, 0.00347900390625, -0.004608154296875, -0.0274658203125, -0.0172119140625, 0.019775390625, -0.046875, -0.00885009765625, -0.01422119140625, -0.02880859375, -0.00457763671875, 0.044921875, -0.01019287109375, 0.01...
[ 67660, 44841, 678, 502, 4867, 59226, 19774, 195625, 1830, 164917, 117396, 2685, 4171, 58359, 418, 3751, 497, 184, 341, 5759, 66211, 1250, 63399, 152382, 121303, 206808, 216969, 21320, 101717, 6626, 26847, 33284, 37170, 33022, 32354, 14, 170, ...
[ 0.230224609375, 0.1531982421875, 0.0953369140625, 0.17431640625, 0.2393798828125, 0.231201171875, 0.2174072265625, 0.206298828125, 0.115234375, 0.1370849609375, 0.06500244140625, 0.01708984375, 0.054351806640625, 0.2349853515625, 0.10455322265625, 0.09014892578125, 0.1519775390625, ...
embed
10812108_c0
10812108
prolog
0
Title: Find the shortest path between two nodes in a graph in Prolog Problem title: Find the shortest path between two nodes in a graph in Prolog Tags: shortest-path, prolog, graph-theory Problem: Find the shortest path between two nodes in a graph in Prolog I want to find the shortest path between two nodes in Prolog....
Find the shortest path between two nodes in a graph in Prolog Find the shortest path between two nodes in a graph in Prolog shortest-path prolog graph-theory Find Prolog Find the shortest path between two nodes in a graph in Prolog I want to find the shortest path between two nodes in Prolog. I figured how to find all ...
[ 0.0025634765625, 0.0234375, 0.017333984375, 0.02978515625, -0.009521484375, -0.00057220458984375, 0.00616455078125, 0.00494384765625, 0.0032958984375, -0.03515625, 0.009765625, 0.0034942626953125, -0.0284423828125, -0.0030975341796875, 0.022216796875, 0.0299072265625, 0.0049133300781...
[ 26040, 16610, 525, 60875, 17721, 6626, 110, 988, 41382, 1250, 4867, 23, 128405, 502, 7413, 756, 18151, 123867, 40956, 11675, 2046, 15490, 54241, 3564, 5155, 140909, 5303, 15440, 51347, 17408, 32786, 1653, 2063, 4488, 175199, 26548, 15824, 346...
[ 0.068359375, 0.217529296875, 0.16064453125, 0.2166748046875, 0.1661376953125, 0.116455078125, 0.137451171875, 0.09039306640625, 0.1668701171875, 0.141357421875, 0.21484375, 0.005035400390625, 0.15234375, 0.06915283203125, 0.07568359375, 0.09039306640625, 0.107177734375, 0.012786865...
embed
10925285_c0
10925285
prolog
0
Title: Faster implementation of verbal arithmetic in Prolog Problem title: Faster implementation of verbal arithmetic in Prolog Tags: logic, performance, prolog, clpfd, cryptarithmetic-puzzle Problem: Faster implementation of verbal arithmetic in Prolog I already made a working generalized verbal arithmetic solver in P...
Faster implementation of verbal arithmetic in Prolog Faster implementation of verbal arithmetic in Prolog logic performance prolog clpfd cryptarithmetic-puzzle Faster Prolog List Word1 Word2 Word3 SEND MORE MONEY Tail fd_all_different Num HDigit WordList Tail1 Tail2 Num1 Num2 Num3 Sum Faster implementation of verbal ar...
[ 0.00848388671875, -0.0098876953125, 0.0079345703125, 0.0247802734375, -0.006103515625, -0.003631591796875, -0.019287109375, 0.015625, -0.007232666015625, -0.02880859375, 0.0240478515625, 0.0009307861328125, 0.0167236328125, 0.00714111328125, 0.006622314453125, 0.00897216796875, -0.01...
[ 25290, 56, 208124, 78975, 187, 8962, 282, 9523, 1250, 4867, 62775, 23718, 502, 39557, 71, 6, 136791, 13894, 32036, 22543, 304, 363, 39015, 195879, 11507, 206688, 1218, 379, 5584, 238778, 52782, 154663, 36335, 23, 20697, 4537, 3115, 814, 579...
[ 0.1531982421875, 0.0875244140625, 0.1751708984375, 0.2376708984375, 0.0278778076171875, 0.1595458984375, 0.1043701171875, 0.0638427734375, 0.160400390625, 0.2646484375, 0.0538330078125, 0.0849609375, 0.079345703125, 0.0015869140625, 0.040924072265625, 0.006988525390625, 0.10778808593...
embed
33555080_c0
33555080
prolog
0
Title: Prolog recursion not working as intended Problem title: Prolog recursion not working as intended Tags: reverse, list, prolog, recursion Problem: Prolog recursion not working as intended I have to write a function that filters out palindromes from a given list (palindrome are words which are the same in reverse l...
Prolog recursion not working as intended Prolog recursion not working as intended reverse list prolog recursion Prolog atom_chars Call _G5269 _G5351 Exit lists:reverse _G5363 _G5386 Fail Redo Prolog recursion not working as intended I have to write a function that filters out palindromes from a given list (palindrome a...
[ -0.007049560546875, 0.00396728515625, 0.01068115234375, -0.0054931640625, -0.0034332275390625, 0.031982421875, 0.01416015625, -0.0024261474609375, -0.0125732421875, -0.0079345703125, 0.033203125, -0.0006866455078125, -0.01226806640625, -0.02783203125, 0.00628662109375, 0.00823974609375...
[ 1250, 4867, 195625, 1830, 959, 20697, 237, 179140, 39531, 184, 5303, 502, 34627, 9254, 26265, 12744, 14212, 163151, 5443, 217, 107, 37676, 185580, 363, 105742, 190355, 6096, 31, 33022, 32354, 46312, 1810, 17923, 39670, 3716, 5007, 73, 102851,...
[ 0.1695556640625, 0.2420654296875, 0.20947265625, 0.104248046875, 0.020782470703125, 0.1337890625, 0.1123046875, 0.166259765625, 0.1966552734375, 0.060943603515625, 0.1610107421875, 0.13232421875, 0.185791015625, 0.1317138671875, 0.08868408203125, 0.0517578125, 0.131591796875, 0.127...
embed
47913354_c1
47913354
prolog
1
|T],X,[H|L]):- add_tail(T,X,L). But it never returns anything, its always false. I assume that it's because the list is empty in the first place? Thank you. EDIT: Weight predicate gets the Knapsack and adds all the weights of all items and returns the total weight. When I run the program I type knapsackOptimizationWith...
|T],X,[H|L]):- add_tail(T,X,L). But it never returns anything, its always false. I assume that it's because the list is empty in the first place? Thank you. EDIT: Weight predicate gets the Knapsack and adds all the weights of all items and returns the total weight. When I run the program I type knapsackOptimizationWith...
[ 0.006072998046875, 0.04931640625, 0.003936767578125, 0.0179443359375, -0.01513671875, 0.012939453125, -0.030517578125, -0.0023040771484375, 0.00482177734375, 0.00341796875, 0.042724609375, -0.0062255859375, 0.00052642822265625, -0.008056640625, 0.00148773193359375, 0.000249862670898437...
[ 58745, 618, 1542, 841, 866, 15190, 46741, 4966, 8306, 30646, 7, 23937, 6863, 11343, 98320, 41591, 5303, 201505, 150533, 1653, 2063, 67, 62163, 341, 10957, 433, 2594, 756, 57888, 55769, 3622, 11675, 1528, 10644, 98099, 39029, 147771, 1363, 1...
[ 0.03070068359375, 0.089599609375, 0.1300048828125, 0.0623779296875, 0.12353515625, 0.20654296875, 0.2880859375, 0.038421630859375, 0.1456298828125, 0.1947021484375, 0.027587890625, 0.0906982421875, 0.058807373046875, 0.07159423828125, 0.2470703125, 0.0224151611328125, 0.1822509765625...
embed
71429450_c0
71429450
prolog
0
Title: Incrementing datetime by second Problem title: Incrementing datetime by second Tags: swi-prolog, prolog Problem: Incrementing datetime by second I'm trying to take a datestring, e.g. 2020-03-04 06:22:59.012315131 and increment it by one second so it becomes 2020-03-04 06:23:00 . The ms ending part doesn't matter...
Incrementing datetime by second Incrementing datetime by second swi-prolog prolog Incrementing use_module get_dt Datestring parse_time Stamp1 stamp_date_time DateTime1 UTC Mn1 Mn2 date_time_stamp Stamp2 DateTime2 Incrementing datetime by second I'm trying to take a datestring, e.g. 2020-03-04 06:22:59.012315131 and inc...
[ 0.0279541015625, -0.0014495849609375, 0.01177978515625, 0.0286865234375, -0.008544921875, -0.00604248046875, 0.0032806396484375, 0.00811767578125, 0.00897216796875, -0.0301513671875, 0.0038299560546875, 0.0137939453125, -0.01904296875, -0.00787353515625, 0.007232666015625, -0.000801086...
[ 8942, 107, 674, 5622, 6032, 390, 17932, 91, 2452, 9, 3454, 4867, 502, 4527, 83279, 2046, 13384, 25512, 91693, 366, 184, 159703, 106507, 17489, 70059, 99577, 418, 304, 590, 31577, 5646, 11075, 37151, 7709, 26451, 3742, 115468, 158661, 1632, ...
[ 0.1002197265625, 0.1497802734375, 0.1197509765625, 0.1746826171875, 0.2236328125, 0.071533203125, 0.260009765625, 0.03857421875, 0.2110595703125, 0.00390625, 0.1435546875, 0.1932373046875, 0.141845703125, 0.0897216796875, 0.1126708984375, 0.029937744140625, 0.1661376953125, 0.11987...
embed
15645068_c0
15645068
prolog
0
Title: How to implement a particular division operator in Prolog? Problem title: How to implement a particular division operator in Prolog? Tags: prolog Problem: How to implement a particular division operator in Prolog? Implement the division operator in a way that: A is 12 div 6 div 2 result is: A = 4 So I think that...
How to implement a particular division operator in Prolog? How to implement a particular division operator in Prolog? prolog How Prolog Division How to implement a particular division operator in Prolog? Implement the division operator in a way that: A is 12 div 6 div 2 result is: A = 4 So I think that I have to create...
[ 0.0186767578125, -0.00098419189453125, 0.02783203125, 0.0036163330078125, 0.01129150390625, -0.01495361328125, 0.0021209716796875, -0.006744384765625, 0.00860595703125, -0.0380859375, 0.01519775390625, 0.0003910064697265625, -0.0068359375, -0.02490234375, 0.01422119140625, 0.0055236816...
[ 11249, 29479, 17311, 91853, 39933, 23, 1250, 4867, 47, 502, 127152, 153941, 3917, 62, 83, 427, 18221, 305, 116, 16750, 2203, 201, 5351, 765, 28282, 55923, 10644, 113, 420, 425, 5117, 74481, 139303, 4958, 15673, 34735, 187136, 189050, 23755,...
[ 0.07330322265625, 0.2401123046875, 0.1622314453125, 0.250244140625, 0.2646484375, 0.1141357421875, 0.18212890625, 0.254638671875, 0.004669189453125, 0.1248779296875, 0.2406005859375, 0.201171875, 0.032501220703125, 0.08123779296875, 0.039031982421875, 0.1973876953125, 0.170654296875,...
embed
22494787_c0
22494787
prolog
0
Title: Prolog sum of a list of numbers Problem title: Prolog sum of a list of numbers Tags: magic-square, sum, prolog, clpfd, list Problem: Prolog sum of a list of numbers I am new to Prolog and I want to write poppler(Nums, Plate, Tastiness) that takes a list of exactly 9 numbers as input, and, if possible, returns a ...
Prolog sum of a list of numbers Prolog sum of a list of numbers magic-square sum prolog clpfd list Prolog Nums Plate Tastiness Head is_equal Sum Prolog sum of a list of numbers I am new to Prolog and I want to write poppler(Nums, Plate, Tastiness) that takes a list of exactly 9 numbers as input, and, if possible, retur...
[ 0.0000782012939453125, -0.00994873046875, 0.02099609375, -0.0145263671875, -0.028564453125, -0.00567626953125, -0.0169677734375, 0.01531982421875, 0.0155029296875, -0.005523681640625, 0.0157470703125, 0.006195068359375, 0.005157470703125, -0.009521484375, -0.006072998046875, -0.0064086...
[ 1250, 4867, 10554, 111, 5303, 101935, 49846, 108047, 502, 39557, 71, 52782, 22387, 9598, 118, 7432, 44816, 83, 71723, 36335, 3525, 3444, 33022, 7426, 101883, 839, 10321, 51776, 66161, 483, 237, 107730, 7722, 30646, 117, 561, 8382, 3173, 8, ...
[ 0.1788330078125, 0.24267578125, 0.2314453125, 0.06414794921875, 0.152587890625, 0.1875, 0.1767578125, 0.14208984375, 0.139404296875, 0.0259246826171875, 0.046112060546875, 0.1429443359375, 0.1666259765625, 0.1668701171875, 0.1427001953125, 0.14794921875, 0.165771484375, 0.068054199...
embed
73869706_c0
73869706
prolog
0
Title: unexpected prolog backtracking even in simple program Problem title: unexpected prolog backtracking even in simple program Tags: prolog Problem: unexpected prolog backtracking even in simple program The following is a very simple prolog program. parent(john, jane). parent(john, james). parent(sally, jane). The f...
unexpected prolog backtracking even in simple program unexpected prolog backtracking even in simple program prolog unexpected prolog backtracking even in simple program The following is a very simple prolog program. The following simple query results in prolog answering true , but also false after prompting for more an...
[ 0.017822265625, 0.018310546875, -0.0032958984375, 0.002838134765625, -0.037109375, -0.0050048828125, 0.0111083984375, 0.008056640625, 0.00885009765625, -0.03955078125, -0.0026092529296875, -0.0091552734375, -0.01153564453125, 0.0155029296875, 0.008544921875, -0.01409912109375, 0.0296...
[ 241957, 502, 4867, 4420, 125728, 214, 3853, 23, 8781, 1528, 25632, 41, 1294, 50339, 35166, 29568, 98320, 105876, 1286, 68185, 44084, 14602, 54, 903, 105432, 3454, 91, 114686, 706, 756, 145733, 1250, 51, 146353, 63399, 15824, 28282, 44126, 6...
[ 0.2108154296875, 0.185302734375, 0.25830078125, 0.18798828125, 0.278076171875, 0.05859375, 0.057891845703125, 0.0176544189453125, 0.1676025390625, 0.175048828125, 0.0147552490234375, 0.07232666015625, 0.038543701171875, 0.0084228515625, 0.1107177734375, 0.1453857421875, 0.18920898437...
embed
34842203_c0
34842203
prolog
0
Title: error(existence_error(procedure,(:-)/1),top_level/0) error prolog Problem title: error(existence_error(procedure,(:-)/1),top_level/0) error prolog Tags: prolog Problem: error(existence_error(procedure,(:-)/1),top_level/0) error prolog % FACTS. mammal(kitty). mammal(ratatat). mammal(fido). claws(kitty). tail(rata...
error(existence_error(procedure,(:-)/1),top_level/0) error prolog error(existence_error(procedure,(:-)/1),top_level/0) error prolog prolog existence_error top_level FACTS RULES QUERY Uncomment error(existence_error(procedure,(:-)/1),top_level/0) error prolog I'm having trouble understanding why this error is happening ...
[ 0.00579833984375, 0.034912109375, -0.0184326171875, 0.022705078125, -0.006866455078125, 0.005279541015625, -0.0054931640625, -0.003814697265625, 0.008544921875, -0.044921875, 0.0031890869140625, -0.01495361328125, 0.0029296875, -0.023681640625, 0.03466796875, 0.01409912109375, 0.0101...
[ 18499, 116311, 188800, 232578, 53483, 11583, 13784, 67919, 107838, 16, 502, 4867, 2663, 155816, 46845, 47138, 21389, 34388, 992, 277, 674, 4, 19441, 63134, 100094, 15400, 903, 83, 123087, 3229, 87, 81887, 47, 11675, 60075, 13, 89829, 16750 ]
[ 0.2283935546875, 0.22021484375, 0.2578125, 0.209716796875, 0.114990234375, 0.14892578125, 0.18408203125, 0.2158203125, 0.205322265625, 0.03424072265625, 0.1768798828125, 0.2314453125, 0.1484375, 0.094970703125, 0.078857421875, 0.06817626953125, 0.0242919921875, 0.010894775390625, ...
embed
69862967_c0
69862967
prolog
0
Title: Rule in prolog to define whether an atom (which in this case a name) is the oldest son or not? Problem title: Rule in prolog to define whether an atom (which in this case a name) is the oldest son or not? Tags: prolog Problem: Rule in prolog to define whether an atom (which in this case a name) is the oldest son...
Rule in prolog to define whether an atom (which in this case a name) is the oldest son or not? Rule in prolog to define whether an atom (which in this case a name) is the oldest son or not? prolog Rule Rule in prolog to define whether an atom (which in this case a name) is the oldest son or not? Here's the code in prol...
[ 0.01080322265625, 0.0084228515625, 0.00604248046875, 0.027099609375, -0.01287841796875, 0.01519775390625, 0.0091552734375, 0.00537109375, 0.0086669921875, -0.03271484375, 0.0111083984375, -0.010986328125, -0.007171630859375, -0.00933837890625, 0.01495361328125, -0.002410888671875, 0....
[ 139118, 502, 4867, 61924, 36766, 34627, 9351, 83, 70, 10332, 525, 775, 959, 23, 18151, 80934, 111, 1653, 2063, 67, 136, 91736, 1542, 990, 26950, 1193, 32070, 594, 276, 78, 79298, 2396, 436, 3642, 3249, 10, 79986, 24, 4806, 69611, 29568,...
[ 0.1871337890625, 0.1514892578125, 0.22607421875, 0.1470947265625, 0.0748291015625, 0.221923828125, 0.1263427734375, 0.062286376953125, 0.061126708984375, 0.1884765625, 0.1705322265625, 0.18359375, 0.050628662109375, 0.01300048828125, 0.0908203125, 0.1121826171875, 0.0168304443359375,...
embed
53182515_c0
53182515
prolog
0
Title: Prolog - evaluation arbitrarily sized expressions Problem title: Prolog - evaluation arbitrarily sized expressions Tags: recursion, prolog Problem: Prolog - evaluation arbitrarily sized expressions The function is meant to evaluate an arbitrarily structured expression with references to a list of variables. (I k...
Prolog - evaluation arbitrarily sized expressions Prolog - evaluation arbitrarily sized expressions recursion prolog Prolog Env HVal FVal SVal Prolog - evaluation arbitrarily sized expressions The function is meant to evaluate an arbitrarily structured expression with references to a list of variables. (I know this que...
[ -0.00927734375, 0.0034942626953125, 0.01019287109375, 0.002899169921875, 0.004364013671875, 0.015380859375, -0.003936767578125, 0.00604248046875, 0.0103759765625, -0.0101318359375, 0.01708984375, 0.01416015625, 0.00007963180541992188, -0.01904296875, 0.00665283203125, 0.004058837890625...
[ 1250, 4867, 219836, 61799, 416, 13267, 125195, 195625, 502, 357, 334, 42272, 71, 32354, 131148, 151575, 45646, 91067, 5303, 77336, 70425, 59121, 53418, 28219, 4488, 2060, 35064, 5036, 18151, 43240, 5885, 11001, 27494, 6713, 1257, 1884, 3390, ...
[ 0.1724853515625, 0.2384033203125, 0.1922607421875, 0.1265869140625, 0.075439453125, 0.125244140625, 0.2425537109375, 0.1448974609375, 0.11669921875, 0.005462646484375, 0.1251220703125, 0.17333984375, 0.012725830078125, 0.1895751953125, 0.1346435546875, 0.185791015625, 0.1566162109375...
embed
15762140_c1
15762140
prolog
1
lerRelative] ], % 1. The tie with the grinning leprechauns wasn't a present from a daughter. \+ member([_, leprechauns, daughter], Triples), % 2. Mr. Crow's tie features neither the dancing reindeer nor the yellow happy faces. \+ member([crow, reindeer, _], Triples), \+ member([crow, happy_faces, _], Triples), % 3. Mr....
lerRelative] ], % 1. The tie with the grinning leprechauns wasn't a present from a daughter. \+ member([_, leprechauns, daughter], Triples), % 2. Mr. Crow's tie features neither the dancing reindeer nor the yellow happy faces. \+ member([crow, reindeer, _], Triples), \+ member([crow, happy_faces, _], Triples), % 3. Mr....
[ -0.0101318359375, 0.004730224609375, 0.0361328125, 0.0150146484375, -0.0225830078125, -0.006988525390625, -0.0240478515625, 0.00014209747314453125, 0.021484375, -0.01019287109375, -0.00180816650390625, 0.009521484375, 0.001617431640625, 0.0147705078125, 0.0087890625, 0.033203125, -0....
[ 43352, 4332, 143, 4935, 10114, 1745, 615, 4817, 678, 98012, 592, 95, 4692, 1436, 309, 7, 58954, 18, 10, 13379, 1295, 76849, 1328, 32786, 55903, 1577, 787, 8414, 135451, 25, 66139, 2725, 123, 21896, 19574, 112, 56, 205811, 17723, 2577, 1...
[ 0.17578125, 0.0953369140625, 0.2093505859375, 0.189208984375, 0.000396728515625, 0.1533203125, 0.1051025390625, 0.2203369140625, 0.1014404296875, 0.1241455078125, 0.087646484375, 0.059967041015625, 0.1009521484375, 0.086181640625, 0.1053466796875, 0.032257080078125, 0.0751953125, 0...
embed