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
8218938_c0
8218938
prolog
0
Title: managing lists in prolog Problem title: managing lists in prolog Tags: list, prolog, filtering Problem: managing lists in prolog Im new to Prolog and was looking for some assistance. What i am trying to do is basically get a list L consisting of elements that repeat at least twice in a given list L' Example L'=[...
managing lists in prolog managing lists in prolog list prolog filtering the Consecutive managing lists in prolog Im new to Prolog and was looking for some assistance. What i am trying to do is basically get a list L consisting of elements that repeat at least twice in a given list L' Example L'=[1,2,1,3,4,3,2] => L=[1,...
[ 0.0118408203125, 0.01318359375, -0.010009765625, 0.00750732421875, -0.00616455078125, 0.017578125, -0.01458740234375, 0.0164794921875, 0.00811767578125, -0.03369140625, 0.0191650390625, 0.01251220703125, -0.0031280517578125, 0.006927490234375, -0.00457763671875, 0.045654296875, 0.029...
[ 332, 66398, 5303, 7, 23, 502, 4867, 46312, 1657, 166643, 272, 3525, 1250, 127557, 31577, 2046, 339, 58055, 80854, 450, 119140, 19713, 186351, 89536, 133063, 82449, 363, 96386, 2060, 19048, 6743, 74918, 42, 11907, 148390, 77336, 30646, 25632, ...
[ 0.11767578125, 0.134033203125, 0.246826171875, 0.0423583984375, 0.048675537109375, 0.15234375, 0.2301025390625, 0.1964111328125, 0.012298583984375, 0.169677734375, 0.047607421875, 0.0418701171875, 0.140380859375, 0.07611083984375, 0.07183837890625, 0.043548583984375, 0.05108642578125...
embed
4006705_c0
4006705
prolog
0
Title: Prolog - call a rule with fact Problem title: Prolog - call a rule with fact Tags: rule, prolog, fact Problem: Prolog - call a rule with fact TL;DR: Need help calling a rule with a fact I´ve started out with Prolog, coming from C and got stuff working... until they evidently got broken. I´m writing a small car-p...
Prolog - call a rule with fact Prolog - call a rule with fact rule prolog fact above Prolog Now loop_cars e.g Rest loop_paints Writes Prolog - call a rule with fact TL;DR: Need help calling a rule with a fact I´ve started out with Prolog, coming from C and got stuff working... until they evidently got broken. I´m writi...
[ 0.0301513671875, 0.0106201171875, -0.0027313232421875, 0.01953125, -0.00057220458984375, 0.0186767578125, 0.006622314453125, 0.0164794921875, 0.0034332275390625, -0.04541015625, -0.003265380859375, -0.00086212158203125, -0.022216796875, 0.0191650390625, 0.00543212890625, -0.02124023437...
[ 1250, 4867, 20, 11782, 10, 79986, 678, 15824, 502, 36917, 14240, 40956, 3284, 7, 49756, 74908, 933, 601, 18781, 52889, 4358, 159029, 26859, 1810, 38162, 1295, 313, 41884, 20697, 148431, 32562, 19336, 2258, 18, 1528, 35978, 52080, 46876, 315...
[ 0.1778564453125, 0.276611328125, 0.019744873046875, 0.2010498046875, 0.078125, 0.219970703125, 0.1693115234375, 0.2349853515625, 0.1358642578125, 0.11279296875, 0.0187225341796875, 0.2060546875, 0.18603515625, 0.03173828125, 0.1767578125, 0.1480712890625, 0.0718994140625, 0.0071411...
embed
16894174_c0
16894174
prolog
0
Title: How create a single Prolog rule that match with more then a single words list? Problem title: How create a single Prolog rule that match with more then a single words list? Tags: declarative, logic, prolog Problem: How create a single Prolog rule that match with more then a single words list? I am having some pr...
How create a single Prolog rule that match with more then a single words list? How create a single Prolog rule that match with more then a single words list? declarative logic prolog How Prolog Number1 Day Space1 Number4 Month Space2 Number6 Year ListaToken CompositeDateTag ListaTokenTaggati LnDay Head Tail char_type n...
[ 0.0213623046875, -0.00933837890625, -0.01220703125, 0.03271484375, -0.00421142578125, 0.006500244140625, -0.016845703125, 0.0128173828125, 0.02001953125, -0.03857421875, 0.009521484375, 0.01202392578125, 0.006805419921875, -0.02001953125, 0.00885009765625, 0.0108642578125, 0.01440429...
[ 11249, 28282, 11001, 1250, 4867, 79986, 14858, 678, 1286, 7068, 34153, 5303, 21635, 4935, 62775, 502, 103332, 418, 10013, 43045, 617, 12982, 910, 42552, 50085, 7763, 1098, 77087, 86291, 66448, 49491, 97141, 44816, 1218, 21441, 50986, 14012, 4...
[ 0.0633544921875, 0.13916015625, 0.1925048828125, 0.16845703125, 0.2486572265625, 0.21044921875, 0.16552734375, 0.09124755859375, 0.12841796875, 0.0848388671875, 0.1754150390625, 0.1571044921875, 0.143310546875, 0.0577392578125, 0.1375732421875, 0.1236572265625, 0.1680908203125, 0.0...
embed
27675219_c0
27675219
prolog
0
Title: How to fill in the parameters of predicates by input in prolog? Problem title: How to fill in the parameters of predicates by input in prolog? Tags: crossword, prolog Problem: How to fill in the parameters of predicates by input in prolog? I have the following code : size(5). black(1,3). black(2,3). black(3,2). ...
How to fill in the parameters of predicates by input in prolog? How to fill in the parameters of predicates by input in prolog? crossword prolog How use_module nth1 Puzzle WordList word2chars CharsList make_empty_words EmptyWords fill_in Word RestWords Chars RestChars atom_chars RestPuzzle Size make_puzzle Blacks empty...
[ -0.0120849609375, -0.02783203125, 0.01458740234375, 0.0103759765625, -0.018798828125, 0.0162353515625, 0.00009775161743164062, 0.0030975341796875, -0.00177764892578125, -0.013671875, 0.0184326171875, -0.0162353515625, 0.00933837890625, 0.012451171875, -0.0027008056640625, 0.00970458984...
[ 11249, 26292, 23, 171859, 111, 1653, 2063, 1636, 390, 107730, 502, 4867, 41421, 47416, 4527, 83279, 653, 927, 418, 179277, 22543, 154663, 2565, 9254, 21656, 33548, 939, 31678, 164805, 49756, 84068, 34627, 27559, 13894, 80378, 1766, 10074, 201...
[ 0.0701904296875, 0.214111328125, 0.14111328125, 0.239501953125, 0.047698974609375, 0.1900634765625, 0.22021484375, 0.133056640625, 0.093505859375, 0.21484375, 0.188720703125, 0.259521484375, 0.0689697265625, 0.141845703125, 0.060638427734375, 0.1170654296875, 0.01702880859375, 0.12...
embed
29560675_c0
29560675
prolog
0
Title: Read and Check simple database in a txt file according to user-input Problem title: Read and Check simple database in a txt file according to user-input Tags: user-input, prolog, io Problem: Read and Check simple database in a txt file according to user-input I want to create a code which prolog ask for user-inp...
Read and Check simple database in a txt file according to user-input Read and Check simple database in a txt file according to user-input user-input prolog io Read Check How read_n write_list test.txt Enter You read_file Stream at_end_of_stream read_houses Luke V5G ICT Kristin V2D Catrine V4E Mambo V1A MECHE Armenio V5...
[ 0.00811767578125, -0.0174560546875, 0.01226806640625, 0.0196533203125, 0.006591796875, 0.005126953125, 0.0093994140625, 0.01153564453125, 0.00457763671875, -0.02685546875, -0.0047607421875, -0.000911712646484375, -0.0189208984375, -0.019775390625, 0.0223388671875, -0.0126953125, 0.03...
[ 4764, 136, 38679, 8781, 63399, 23, 124326, 11435, 59499, 38937, 73, 7077, 502, 4867, 22995, 12301, 19, 33022, 6562, 3034, 60816, 29822, 115061, 3611, 86429, 23923, 97702, 310, 758, 724, 68822, 63822, 397, 18826, 36186, 85557, 48858, 151459, ...
[ 0.2071533203125, 0.07391357421875, 0.24169921875, 0.207763671875, 0.240966796875, 0.020965576171875, 0.237060546875, 0.1512451171875, 0.08978271484375, 0.1690673828125, 0.1363525390625, 0.11328125, 0.1156005859375, 0.1934814453125, 0.1427001953125, 0.1708984375, 0.028778076171875, ...
embed
65145278_c0
65145278
prolog
0
Title: Finding all sublists of size N in Prolog Problem title: Finding all sublists of size N in Prolog Tags: instantiation-error, list, prolog, recursion Problem: Finding all sublists of size N in Prolog I'm new to Prolog and I got stuck on writing this predicate. Basically I'm given a list and I need to find the most...
Finding all sublists of size N in Prolog Finding all sublists of size N in Prolog instantiation-error list prolog recursion the Finding Prolog most_common_sublist LOP N-1 ERROR Arguments _6018 _6024 _6052 ace_m bp.pl:44 bp.pl:83 Exception _5204 Finding all sublists of size N in Prolog I'm new to Prolog and I got stuck ...
[ 0.002166748046875, 0.00090789794921875, 0.0130615234375, -0.00982666015625, -0.00335693359375, 0.016357421875, -0.000339508056640625, 0.00408935546875, 0.0235595703125, -0.060302734375, 0.004913330078125, -0.0037078857421875, 0.015380859375, -0.006256103515625, 0.0220947265625, 0.00142...
[ 26040, 756, 1614, 6562, 7, 13267, 541, 1250, 4867, 23, 34648, 14, 188800, 5303, 502, 195625, 2684, 277, 3796, 22144, 20880, 5759, 151206, 24638, 112140, 4598, 1819, 2357, 146560, 32705, 17168, 63928, 143886, 617, 179933, 32562, 1653, 2063, ...
[ 0.10400390625, 0.117919921875, 0.2398681640625, 0.26171875, 0.0263214111328125, 0.1307373046875, 0.166015625, 0.1708984375, 0.2203369140625, 0.019866943359375, 0.03411865234375, 0.055450439453125, 0.1522216796875, 0.1409912109375, 0.10552978515625, 0.08770751953125, 0.1368408203125, ...
embed
21099599_c0
21099599
prolog
0
Title: Difference between matrix column and use of all_different Problem title: Difference between matrix column and use of all_different Tags: sicstus-prolog, prolog, clpfd Problem: Difference between matrix column and use of all_different I'm trying to express a relation on transition from one element in a list-of-li...
Difference between matrix column and use of all_different Difference between matrix column and use of all_different sicstus-prolog prolog clpfd second that Difference all_different ensure_atleast_n_patterns ListOfLists DiffPattern NoOfAtLeastEqualPatterns Loop X1-X2 X1-X3 X1-4 X2-X3 X2-X4 Rest In1 Out1 PatternCount Com...
[ -0.00860595703125, -0.01141357421875, -0.004974365234375, 0.01507568359375, 0.0004062652587890625, -0.0106201171875, -0.0081787109375, -0.000102996826171875, 0.01025390625, 0.002349853515625, 0.00677490234375, 0.00152587890625, 0.00128936767578125, 0.0177001953125, -0.01171875, -0.0029...
[ 803, 18234, 6620, 17721, 50944, 425, 3365, 316, 19, 4527, 111, 756, 454, 238778, 26536, 18253, 3454, 4867, 502, 71, 17932, 63284, 4453, 22766, 32036, 132887, 154663, 191144, 8335, 3055, 71723, 199694, 304, 363, 179437, 617, 49756, 13538, 98...
[ 0.07843017578125, 0.208251953125, 0.07275390625, 0.0811767578125, 0.1861572265625, 0.0908203125, 0.1463623046875, 0.1629638671875, 0.04638671875, 0.16162109375, 0.018280029296875, 0.168701171875, 0.003448486328125, 0.316650390625, 0.038116455078125, 0.1873779296875, 0.0894775390625, ...
embed
37138630_c0
37138630
prolog
0
Title: Prolog Sorting a List of Structure, arithmetic error Problem title: Prolog Sorting a List of Structure, arithmetic error Tags: clpfd, list, prolog Problem: Prolog Sorting a List of Structure, arithmetic error I've been trying to sort a list of structure. The structure is like this % person(Name, Weight). person(...
Prolog Sorting a List of Structure, arithmetic error Prolog Sorting a List of Structure, arithmetic error clpfd list prolog Prolog Sorting List Structure Name Weight SortList NameP Rest Result NameP1 WP1 NameP2 WP2 ERROR Prolog Sorting a List of Structure, arithmetic error I've been trying to sort a list of structure. ...
[ 0.00921630859375, 0.01513671875, 0.0032806396484375, 0.008544921875, -0.021484375, 0.0125732421875, -0.0091552734375, -0.016357421875, 0.004241943359375, -0.01434326171875, -0.0003986358642578125, 0.0228271484375, 0.004058837890625, -0.019775390625, 0.027587890625, -0.0181884765625, ...
[ 1250, 4867, 53666, 214, 32036, 111, 63667, 238, 6644, 8962, 282, 9523, 18499, 10, 33139, 39557, 71, 5303, 502, 15757, 150533, 154663, 683, 49756, 126684, 418, 100568, 304, 151206, 24638, 4, 187, 31577, 12096, 45646, 1884, 903, 2806, 3444, ...
[ 0.1893310546875, 0.25927734375, 0.2408447265625, 0.08514404296875, 0.2198486328125, 0.104248046875, 0.1800537109375, 0.118408203125, 0.0692138671875, 0.1363525390625, 0.1219482421875, 0.037353515625, 0.21142578125, 0.0236053466796875, 0.030242919921875, 0.08251953125, 0.1026611328125...
embed
67537346_c0
67537346
prolog
0
Title: Prolog: How to make a bagof fail in the middle of execution Problem title: Prolog: How to make a bagof fail in the middle of execution Tags: prolog Problem: Prolog: How to make a bagof fail in the middle of execution My problem is that I have a functor with the next structure: something(Perms, New_perms) :- bago...
Prolog: How to make a bagof fail in the middle of execution Prolog: How to make a bagof fail in the middle of execution prolog Prolog How Perms New_perms New_perm aux_something Perm take_impossible Perm_poss subsumes_term Prolog: How to make a bagof fail in the middle of execution My problem is that I have a functor wi...
[ 0.00136566162109375, 0.017822265625, 0.0106201171875, 0.00872802734375, -0.008056640625, 0.01708984375, -0.02392578125, -0.017822265625, 0.0115966796875, -0.0263671875, -0.0059814453125, 0.033447265625, 0.003570556640625, -0.005401611328125, 0.0037689208984375, 0.004608154296875, 0.0...
[ 1250, 4867, 11249, 3249, 41780, 420, 35782, 23, 86991, 111, 71924, 502, 908, 4432, 2356, 1264, 39, 2970, 5646, 7522, 55356, 1614, 11832, 32166, 2967, 7477, 18770, 11737, 45646, 51776, 5303, 80854, 3173, 30646, 7722, 117, 14311, 21094, 70541...
[ 0.112548828125, 0.162841796875, 0.040740966796875, 0.0797119140625, 0.155517578125, 0.2110595703125, 0.216064453125, 0.0682373046875, 0.1807861328125, 0.034637451171875, 0.138671875, 0.078125, 0.107421875, 0.07281494140625, 0.04345703125, 0.10198974609375, 0.080322265625, 0.1779785...
embed
33499654_c0
33499654
prolog
0
Title: Prolog - Format the output of a grid table Problem title: Prolog - Format the output of a grid table Tags: prolog, printing, grid Problem: Prolog - Format the output of a grid table I want to print a 9x9 grid with indications for the number of the line and column, I want the elements to be left-aligned. Like so:...
Prolog - Format the output of a grid table Prolog - Format the output of a grid table prolog printing grid Prolog Format Prolog - Format the output of a grid table I want to print a 9x9 grid with indications for the number of the line and column, I want the elements to be left-aligned. Like so: The content of the table...
[ 0.01165771484375, -0.002685546875, 0.0026702880859375, 0.001495361328125, -0.0030975341796875, -0.010009765625, 0.00811767578125, 0.018798828125, -0.002410888671875, 0.01336669921875, 0.02392578125, -0.0023956298828125, -0.01177978515625, -0.006866455078125, 0.0017852783203125, 0.01409...
[ 1250, 4867, 60972, 140992, 120067, 23180, 502, 2448, 1916, 3444, 28412, 483, 425, 1126, 678, 14585, 14012, 13315, 136, 3365, 316, 80854, 47, 186, 25737, 143420, 18852, 10941, 77336, 13267, 18389, 12830, 21441, 13648, 959, 90795, 14534, 110, ...
[ 0.174072265625, 0.2489013671875, 0.267333984375, 0.2061767578125, 0.2666015625, 0.2467041015625, 0.1219482421875, 0.1365966796875, 0.005401611328125, 0.1142578125, 0.2060546875, 0.1455078125, 0.1019287109375, 0.17431640625, 0.0207061767578125, 0.1522216796875, 0.087646484375, 0.138...
embed
15835872_c0
15835872
prolog
0
Title: water jug in prolog breadth-first search Problem title: water jug in prolog breadth-first search Tags: prolog, water-jug-problem Problem: water jug in prolog breadth-first search So i need to solve that water jug problem - The larger cup holds 5, the smaller cup holds 3. I want to get 4 in the larger cup. I have...
water jug in prolog breadth-first search water jug in prolog breadth-first search prolog water-jug-problem DEPTH-FIRST SEARCH Start Goal dfs1 OPEN CLOSED Graph Parent Solution Rest_OPEN New_CLOSED get_surv_children Surv_Children New_OPEN State Child move_surv Next member_term Grandparent water jug in prolog breadth-fir...
[ 0.013427734375, 0.035400390625, -0.0013427734375, 0.01385498046875, -0.0185546875, 0.00823974609375, -0.0269775390625, 0.014404296875, -0.00168609619140625, -0.009521484375, 0.0177001953125, 0.00872802734375, -0.005035400390625, 0.011474609375, -0.0052490234375, -0.007568359375, -0.0...
[ 7401, 103863, 23, 502, 4867, 179967, 927, 13448, 271, 33938, 461, 177, 38953, 1514, 683, 919, 14688, 6755, 169243, 13794, 2016, 289, 104, 17447, 418, 180, 65441, 92933, 6524, 11727, 170918, 187895, 49756, 2046, 7102, 334, 237052, 8018, 1026...
[ 0.176025390625, 0.27685546875, 0.08673095703125, 0.1455078125, 0.2425537109375, 0.118896484375, 0.06524658203125, 0.0888671875, 0.024658203125, 0.1976318359375, 0.185791015625, 0.1319580078125, 0.1497802734375, 0.00653076171875, 0.0400390625, 0.03338623046875, 0.040557861328125, 0....
embed
12939794_c0
12939794
prolog
0
Title: Stack overflow in Prolog DCG grammar rule: how to handle large lists efficiently or lazily Problem title: Stack overflow in Prolog DCG grammar rule: how to handle large lists efficiently or lazily Tags: dcg, prolog, swi-prolog Problem: Stack overflow in Prolog DCG grammar rule: how to handle large lists efficien...
Stack overflow in Prolog DCG grammar rule: how to handle large lists efficiently or lazily Stack overflow in Prolog DCG grammar rule: how to handle large lists efficiently or lazily dcg prolog swi-prolog Stack Prolog DCG pure_input load_trace Filename Traces phrase_from_file trace_file_phrase trace_phrase Type Address ...
[ 0.01385498046875, -0.004913330078125, -0.003265380859375, 0.01385498046875, -0.00933837890625, 0.0081787109375, -0.0118408203125, -0.008056640625, 0.012451171875, -0.03759765625, 0.01104736328125, 0.0018157958984375, -0.0140380859375, -0.024169921875, 0.0224609375, 0.0211181640625, 0...
[ 6512, 2594, 645, 118664, 1250, 4867, 391, 56367, 122092, 147, 79986, 3642, 34831, 21334, 5303, 7, 93766, 707, 21, 708, 177, 502, 2452, 3454, 34166, 72367, 39989, 42724, 11627, 4937, 113860, 161063, 29822, 144851, 179665, 60457, 2729, 17203, ...
[ 0.15966796875, 0.0850830078125, 0.1390380859375, 0.2159423828125, 0.147705078125, 0.2291259765625, 0.083251953125, 0.1929931640625, 0.1409912109375, 0.055877685546875, 0.1368408203125, 0.031768798828125, 0.15478515625, 0.1241455078125, 0.20654296875, 0.009674072265625, 0.171142578125...
embed
41300924_c1
41300924
prolog
1
domain_error(either(var, compound), Term)}. evals(_Bindings, [], []) --> !, []. evals(Bindings, [A|As], [V|Vs]) --> eval(Bindings, A, V), evals(Bindings, As, Vs). get_binding([Var0-Val0|Bindings], V, Val) :- (V == Var0 -> Val = Val0 ; get_binding(Bindings, V, Val) ). get_binding([], V, _) :- throw(error(missing_binding...
domain_error(either(var, compound), Term)}. evals(_Bindings, [], []) --> !, []. evals(Bindings, [A|As], [V|Vs]) --> eval(Bindings, A, V), evals(Bindings, As, Vs). get_binding([Var0-Val0|Bindings], V, Val) :- (V == Var0 -> Val = Val0 ; get_binding(Bindings, V, Val) ). get_binding([], V, _) :- throw(error(missing_binding...
[ -0.00054168701171875, 0.009765625, 0.01123046875, 0.0036163330078125, 0.0001544952392578125, 0.01458740234375, 0.0146484375, -0.006622314453125, 0.01043701171875, -0.0272216796875, -0.00531005859375, 0.0174560546875, 0.01416015625, 0.0167236328125, -0.00180816650390625, 0.012451171875,...
[ 77758, 188800, 9319, 1961, 217773, 2994, 39, 28, 1405, 7, 16882, 33770, 129908, 711, 5, 284, 19659, 856, 62, 310, 1301, 2046, 128239, 81827, 2389, 42272, 4769, 69112, 3323, 104250, 45188, 214, 2472, 55932, 21094, 839, 34, 7413, 5584, 2320...
[ 0.217529296875, 0.281494140625, 0.0204620361328125, 0.2274169921875, 0.26220703125, 0.1602783203125, 0.1220703125, 0.048370361328125, 0.2425537109375, 0.077880859375, 0.1380615234375, 0.2177734375, 0.025543212890625, 0.03936767578125, 0.005615234375, 0.027252197265625, 0.111450195312...
embed
42399020_c0
42399020
prolog
0
Title: How to get a listing of a specific knowledge base? Problem title: How to get a listing of a specific knowledge base? Tags: swi-prolog, prolog Problem: How to get a listing of a specific knowledge base? Suppose that the file foobar.pl in the current working directory contains the following minimal knowledgebase: ...
How to get a listing of a specific knowledge base? How to get a listing of a specific knowledge base? swi-prolog prolog How foobar.pl foobar:listing How to get a listing of a specific knowledge base? Suppose that the file foobar.pl in the current working directory contains the following minimal knowledgebase: If I star...
[ 0.048828125, 0.004119873046875, 0.0030670166015625, 0.007720947265625, -0.003662109375, 0.00689697265625, 0.01373291015625, 0.006256103515625, 0.0177001953125, -0.032470703125, 0.0002899169921875, 0.008544921875, -0.0196533203125, 0.004058837890625, 0.0064697265625, -0.020751953125, ...
[ 11249, 47, 2046, 10, 5303, 214, 111, 29458, 51359, 3647, 2452, 3454, 4867, 502, 5775, 31, 1299, 2424, 6562, 11435, 43581, 20697, 14364, 70541, 25632, 20187, 37382, 4034, 91, 51042, 75101, 109312, 11675, 10941, 72856, 15520, 3559, 124519, 17...
[ 0.06048583984375, 0.04754638671875, 0.1416015625, 0.06439208984375, 0.2000732421875, 0.2001953125, 0.09796142578125, 0.2034912109375, 0.177978515625, 0.228759765625, 0.175537109375, 0.1285400390625, 0.221923828125, 0.0906982421875, 0.11376953125, 0.109130859375, 0.242431640625, 0.2...
embed
78329917_c1
78329917
prolog
1
, and). demo( Q) :- fact( Q). demo( Q) :- if Condition then Q, %A relevant rule demo( Condition). %whose condition is true demo( Q1 and Q2) :- demo( Q1), demo( Q2). demo( Q1 or Q2) :- demo( Q1) ; demo( Q2). %Simple forward chaining in Prolog demo:- new_derived_fact( P), %A new fact !, write( 'Derived: '), write( P), nl...
, and). demo( Q) :- fact( Q). demo( Q) :- if Condition then Q, %A relevant rule demo( Condition). %whose condition is true demo( Q1 and Q2) :- demo( Q1), demo( Q2). demo( Q1 or Q2) :- demo( Q1) ; demo( Q2). %Simple forward chaining in Prolog demo:- new_derived_fact( P), %A new fact !, write( 'Derived: '), write( P), nl...
[ 0.029052734375, 0.0036773681640625, 0.0034027099609375, 0.0322265625, 0.0087890625, 0.0174560546875, -0.01531982421875, -0.000949859619140625, 0.00714111328125, -0.021240234375, -0.0032806396484375, 0.004150390625, -0.003753662109375, 0.00177764892578125, -0.0157470703125, -0.012634277...
[ 136, 194, 53397, 132, 2396, 15772, 15824, 2174, 46347, 1363, 29191, 79986, 1745, 497, 35431, 83, 29568, 418, 10461, 8859, 33209, 40225, 1608, 14653, 23, 1250, 4867, 3525, 820, 114700, 436, 711, 33022, 47731, 13169, 33657, 5021, 1286, 43512,...
[ 0.1446533203125, 0.093505859375, 0.327880859375, 0.095703125, 0.192626953125, 0.1116943359375, 0.2032470703125, 0.1104736328125, 0.2220458984375, 0.0843505859375, 0.1441650390625, 0.179931640625, 0.01116943359375, 0.038116455078125, 0.236572265625, 0.0256805419921875, 0.196044921875,...
embed
30236280_c0
30236280
prolog
0
Title: Prolog: arithmetic problems while writing rpg stat printing program Problem title: Prolog: arithmetic problems while writing rpg stat printing program Tags: prolog Problem: Prolog: arithmetic problems while writing rpg stat printing program I've been trying to write (as an exercise - to learn a bit about prolog)...
Prolog: arithmetic problems while writing rpg stat printing program Prolog: arithmetic problems while writing rpg stat printing program prolog Prolog Race Stat Bonus BonusList Diff Cost Range AttrName AttrValue AttrDiff Str Dex Con Wis Cha StrCost DexCost ConCost IntCost WisCost ChaCost Prolog: arithmetic problems whil...
[ -0.0006866455078125, 0.0028533935546875, -0.0263671875, -0.00823974609375, -0.0169677734375, 0.006622314453125, -0.0005035400390625, 0.01470947265625, 0.0177001953125, 0.01141357421875, 0.0022125244140625, -0.00579833984375, 0.0034637451171875, 0.0072021484375, 0.0005950927734375, 0.00...
[ 1250, 4867, 187, 8962, 282, 9523, 44402, 12960, 32562, 10681, 177, 13254, 2448, 1528, 502, 94698, 23888, 38663, 154663, 191144, 63099, 142462, 9208, 856, 32920, 23351, 262, 425, 1657, 74403, 4841, 5510, 441, 1916, 33022, 19336, 18151, 38551, ...
[ 0.1578369140625, 0.2452392578125, 0.048553466796875, 0.167236328125, 0.15283203125, 0.04425048828125, 0.1927490234375, 0.0732421875, 0.177734375, 0.0972900390625, 0.06109619140625, 0.1649169921875, 0.1239013671875, 0.1156005859375, 0.114013671875, 0.145263671875, 0.1636962890625, 0...
embed
26853751_c0
26853751
prolog
0
Title: Prolog defining a male Problem title: Prolog defining a male Tags: rules, prolog Problem: Prolog defining a male So my lecturer wrote this code as an answer to one of a question. Today we found out that the rule male and female are both wrong, can somebody confirm this for me? Also, taking advantage of of this p...
Prolog defining a male Prolog defining a male rules prolog Prolog FACTS Relationships Prolog defining a male So my lecturer wrote this code as an answer to one of a question. Today we found out that the rule male and female are both wrong, can somebody confirm this for me? Also, taking advantage of of this post I would...
[ 0.032958984375, 0.00927734375, 0.01153564453125, 0.01123046875, -0.009033203125, 0.006561279296875, -0.0123291015625, 0.00154876708984375, 0.0025634765625, -0.042236328125, 0.006195068359375, -0.035400390625, -0.009033203125, 0.002838134765625, 0.0291748046875, 0.001861572265625, 0.0...
[ 1250, 4867, 13204, 10, 11280, 91736, 502, 155816, 12763, 116822, 16070, 449, 59619, 42, 54397, 18151, 35166, 38396, 14037, 1810, 79986, 136, 117776, 621, 15044, 44691, 831, 176256, 39563, 92940, 8562, 10187, 57143, 73342, 22443 ]
[ 0.1954345703125, 0.258056640625, 0.1741943359375, 0.094970703125, 0.259521484375, 0.1746826171875, 0.1734619140625, 0.1390380859375, 0.04827880859375, 0.1611328125, 0.1038818359375, 0.011810302734375, 0.06207275390625, 0.036529541015625, 0.0309295654296875, 0.15087890625, 0.031524658...
embed
47685708_c0
47685708
prolog
0
Title: Prolog - Find path and its distance between nodes in a graph with passing through all the nodes Problem title: Prolog - Find path and its distance between nodes in a graph with passing through all the nodes Tags: prolog Problem: Prolog - Find path and its distance between nodes in a graph with passing through al...
Prolog - Find path and its distance between nodes in a graph with passing through all the nodes Prolog - Find path and its distance between nodes in a graph with passing through all the nodes prolog Prolog Find List Finding Cycle Node Next Curr Visited Start Selecting Calculating Rest DT1 Prolog - Find path and its dis...
[ 0.0296630859375, -0.00177001953125, -0.003936767578125, 0.0191650390625, 0.00836181640625, -0.004730224609375, -0.0279541015625, -0.00872802734375, 0.01202392578125, -0.050537109375, -0.00958251953125, 0.005126953125, -0.0224609375, 0.004241943359375, 0.0174560546875, 0.00909423828125,...
[ 1250, 4867, 26040, 60875, 136, 6863, 62488, 17721, 110, 988, 41382, 678, 452, 8305, 756, 502, 32036, 151612, 438, 4997, 42, 98684, 13794, 51620, 212467, 49756, 41072, 418, 3525, 28219, 15400, 903, 18151, 22027, 18, 4488, 3444, 7413, 10, 6...
[ 0.1641845703125, 0.2509765625, 0.120361328125, 0.23779296875, 0.0653076171875, 0.1002197265625, 0.21142578125, 0.1343994140625, 0.1455078125, 0.137939453125, 0.1744384765625, 0.00885009765625, 0.095458984375, 0.120849609375, 0.06396484375, 0.1236572265625, 0.13134765625, 0.15344238...
embed
20599850_c0
20599850
prolog
0
Title: Prolog creating binary trees from list and implementing BFS for ranges Problem title: Prolog creating binary trees from list and implementing BFS for ranges Tags: tree, prolog, list, binary-search-tree Problem: Prolog creating binary trees from list and implementing BFS for ranges I am trying to create a binary ...
Prolog creating binary trees from list and implementing BFS for ranges Prolog creating binary trees from list and implementing BFS for ranges tree prolog list binary-search-tree list Prolog BFS my_list Mathematics English Physics Chemistry Biology Geography Yoruba FMathematics Agric remove_even_order Head_ODD Head_EVEN...
[ 0.0235595703125, 0.02685546875, -0.005615234375, -0.005767822265625, 0.0042724609375, 0.00860595703125, -0.0257568359375, -0.00616455078125, -0.002593994140625, -0.0203857421875, 0.0113525390625, -0.005401611328125, 0.004974365234375, -0.00115966796875, 0.0147705078125, -0.004058837890...
[ 1250, 4867, 105233, 2394, 6635, 1360, 90, 1295, 5303, 29479, 335, 36381, 100, 37457, 53201, 502, 86250, 62600, 759, 6562, 123426, 47148, 14941, 165712, 83230, 1843, 2206, 137575, 21855, 140363, 40612, 87388, 26301, 80596, 44816, 24057, 30223, ...
[ 0.1688232421875, 0.2347412109375, 0.08343505859375, 0.180419921875, 0.12255859375, 0.2110595703125, 0.0625, 0.08709716796875, 0.186279296875, 0.11083984375, 0.0618896484375, 0.1978759765625, 0.045745849609375, 0.17138671875, 0.23974609375, 0.136474609375, 0.1282958984375, 0.1561279...
embed
78774323_c0
78774323
prolog
0
Title: Structures in Prolog: Unknown procedure Problem title: Structures in Prolog: Unknown procedure Tags: prolog Problem: Structures in Prolog: Unknown procedure I am new to prolog. I read this article about structures in Prolog . However, the following code does not work: is_point(point1,point(5,7)). test0:-is_point...
Structures in Prolog: Unknown procedure Structures in Prolog: Unknown procedure prolog Structures Prolog Unknown is_point point1 test0:-is_point test1 test2:-test1 test3:-somepoints some_points test0 test2 test3 ERROR However toplevel_call user:user:test0 msys64 mingw64 toplevel.pl:1317 Note Re-run Exception max_depth ...
[ 0.0167236328125, 0.0115966796875, 0.00677490234375, 0.00157928466796875, -0.002960205078125, 0.01226806640625, 0.00335693359375, -0.0172119140625, 0.0098876953125, -0.011962890625, 0.00677490234375, 0.0028076171875, -0.016845703125, -0.007568359375, 0.03173828125, 0.0020599365234375, ...
[ 63667, 238, 54889, 23, 1250, 4867, 992, 69723, 50491, 502, 83, 38496, 6275, 418, 3034, 2389, 164, 304, 6954, 363, 43452, 3060, 151206, 24638, 33306, 2663, 67919, 85763, 38937, 65918, 94924, 13307, 46996, 434, 2424, 22618, 2489, 853, 16428, ...
[ 0.1806640625, 0.1651611328125, 0.107421875, 0.06744384765625, 0.172119140625, 0.2744140625, 0.060150146484375, 0.1929931640625, 0.1611328125, 0.1075439453125, 0.0999755859375, 0.2154541015625, 0.1573486328125, 0.034637451171875, 0.187744140625, 0.1129150390625, 0.054840087890625, 0...
embed
78248325_c0
78248325
prolog
0
Title: How to implement locked doors game in Prolog? Problem title: How to implement locked doors game in Prolog? Tags: prolog Problem: How to implement locked doors game in Prolog? I am working on a search problem in prolog where agent whose goal is to get to some treasure. At each time step, the agent can move betwee...
How to implement locked doors game in Prolog? How to implement locked doors game in Prolog? prolog a How Prolog locked_door initial_state Pos Initial Moving take_action RedKey BlueKey Picking final_state take_steps Action Rest SFinal SNew Actions How to implement locked doors game in Prolog? I am working on a search pr...
[ -0.0169677734375, 0.0184326171875, 0.0216064453125, -0.02880859375, -0.00469970703125, 0.003692626953125, -0.01470947265625, 0.02490234375, 0.0027618408203125, -0.0250244140625, -0.00144195556640625, 0.0220947265625, -0.013916015625, 0.01806640625, 0.0054931640625, 0.00439453125, -0....
[ 11249, 47, 29479, 56776, 297, 1911, 7, 6712, 23, 1250, 4867, 502, 24401, 61475, 61340, 13498, 1890, 2501, 6496, 5646, 44713, 6096, 162429, 22928, 122554, 2704, 95528, 57945, 49756, 73, 289, 46568, 20697, 33938, 2967, 23882, 69236, 2046, 306...
[ 0.097900390625, 0.04876708984375, 0.2425537109375, 0.21435546875, 0.1556396484375, 0.245849609375, 0.09051513671875, 0.184814453125, 0.0728759765625, 0.19189453125, 0.2447509765625, 0.1241455078125, 0.1934814453125, 0.0919189453125, 0.1094970703125, 0.1038818359375, 0.040985107421875...
embed
18657304_c0
18657304
prolog
0
Title: DCG: Assigning remainder to a variable within DCG {} code Problem title: DCG: Assigning remainder to a variable within DCG {} code Tags: prolog, gnu, dcg Problem: DCG: Assigning remainder to a variable within DCG {} code This answer: Very basic dcg prolog syntax helped me a little but [X] only gets the next char...
DCG: Assigning remainder to a variable within DCG {} code DCG: Assigning remainder to a variable within DCG {} code prolog gnu dcg DCG Assigning as_opt anything_match Msg Processed g_assign DCG: Assigning remainder to a variable within DCG {} code This answer: Very basic dcg prolog syntax helped me a little but [X] onl...
[ 0.0179443359375, 0.0037841796875, 0.0004711151123046875, 0.00634765625, -0.00714111328125, 0.0081787109375, 0.002716064453125, -0.01556396484375, 0.031494140625, -0.005462646484375, -0.00634765625, -0.0191650390625, -0.00830078125, -0.007110595703125, 0.007568359375, 0.018310546875, ...
[ 391, 56367, 1301, 31304, 47143, 820, 47, 77336, 28032, 18151, 12, 502, 4867, 104155, 104, 238, 177, 237, 2146, 18, 23937, 98753, 70802, 123996, 706, 162, 62822, 6002, 86531, 104902, 1542, 4734, 62163, 11737, 62816, 3444, 28271, 22, 1861, ...
[ 0.10888671875, 0.2103271484375, 0.055938720703125, 0.2169189453125, 0.2012939453125, 0.1566162109375, 0.0626220703125, 0.229736328125, 0.1336669921875, 0.1522216796875, 0.009246826171875, 0.1334228515625, 0.201904296875, 0.119140625, 0.0452880859375, 0.12451171875, 0.1270751953125, ...
embed
76499355_c0
76499355
prolog
0
Title: Convert General Tree to List in Prolog Problem title: Convert General Tree to List in Prolog Tags: list, tree, recursion, prolog Problem: Convert General Tree to List in Prolog So I'm taking a programming paradigms course and we're tackling Prolog. The last exercise is to flatten a general tree structure into a ...
Convert General Tree to List in Prolog Convert General Tree to List in Prolog list tree recursion prolog Convert General Tree List Prolog gtree_list Convert General Tree to List in Prolog So I'm taking a programming paradigms course and we're tackling Prolog. The last exercise is to flatten a general tree structure int...
[ 0.01483154296875, 0.0230712890625, -0.00323486328125, -0.0250244140625, 0.021728515625, 0.0205078125, -0.0196533203125, 0.01129150390625, 0.022216796875, -0.0230712890625, -0.01416015625, -0.013916015625, 0.002288818359375, -0.00110626220703125, 0.021728515625, 0.00701904296875, 0.02...
[ 1657, 11549, 9082, 101344, 47, 32036, 23, 1250, 4867, 5303, 53201, 195625, 1830, 502, 706, 62600, 6562, 56037, 214709, 4568, 81979, 49878, 510, 4537, 45646, 3934, 10, 26950, 831, 32845, 2499, 14012, 20028, 117, 110, 15824, 91736, 61924, 298...
[ 0.019927978515625, 0.1158447265625, 0.1956787109375, 0.281982421875, 0.046966552734375, 0.2232666015625, 0.05560302734375, 0.1495361328125, 0.2344970703125, 0.177490234375, 0.2264404296875, 0.1478271484375, 0.0875244140625, 0.087646484375, 0.06390380859375, 0.264404296875, 0.16247558...
embed
1551796_c0
1551796
prolog
0
Title: Binary Tree Isomorphism Problem title: Binary Tree Isomorphism Tags: prolog, computer-science Problem: Binary Tree Isomorphism I have an assignment to write among other things, a set of prolog predicates that determine if any two binary tree's are isomorphic to each other. The predicate must also be able to prov...
Binary Tree Isomorphism Binary Tree Isomorphism prolog computer-science the Binary Tree Isomorphism Clause btree_iso Specification Satisfied Two Either Description Base Both TODO BTL1 BTR1 BTL2 BTR2 Binary Tree Isomorphism I have an assignment to write among other things, a set of prolog predicates that determine if an...
[ 0.0106201171875, 0.006439208984375, -0.00439453125, 0.0089111328125, -0.0040283203125, 0.0196533203125, -0.02734375, -0.010986328125, 0.003997802734375, -0.0033111572265625, 0.01165771484375, -0.00008392333984375, 0.00170135498046875, -0.0079345703125, 0.0194091796875, -0.0018234252929...
[ 54092, 1294, 101344, 48922, 178851, 8780, 502, 4867, 13909, 175201, 100700, 876, 62600, 454, 16369, 209052, 947, 1814, 1029, 32964, 9319, 70643, 44978, 149766, 9926, 13223, 41445, 418, 28981, 304, 142, 95486, 47, 33022, 1653, 2063, 1636, 8332...
[ 0.1993408203125, 0.08270263671875, 0.218994140625, 0.124267578125, 0.1890869140625, 0.0164031982421875, 0.146728515625, 0.1947021484375, 0.0753173828125, 0.04595947265625, 0.11474609375, 0.023284912109375, 0.2352294921875, 0.001800537109375, 0.18896484375, 0.1280517578125, 0.06475830...
embed
34205316_c0
34205316
prolog
0
Title: prolog, taking only first answer Problem title: prolog, taking only first answer Tags: prolog Problem: prolog, taking only first answer I've read some topics on this subjects, but I can't get it to work. Assume I have following predicate: wins(L,K,X):-member(X,L),X>=K. wins(L,K,X):-member(X,L),X<K,K1 is K-X,\+wi...
prolog, taking only first answer prolog, taking only first answer prolog K-X K1-Y Something SomethingTHIS prolog, taking only first answer I've read some topics on this subjects, but I can't get it to work. Assume I have following predicate: It doesn't really matter what it does, the thing is that for example: Now, thi...
[ 0.004638671875, -0.00494384765625, 0.0107421875, -0.0157470703125, -0.018310546875, -0.00006341934204101562, 0.01226806640625, -0.00095367431640625, 0.007171630859375, -0.04833984375, 0.03271484375, 0.0166015625, -0.0096435546875, -0.00433349609375, 0.01904296875, 0.00634765625, 0.02...
[ 502, 4867, 35971, 4734, 5117, 35166, 341, 1542, 20268, 1723, 200905, 94607, 294, 12301, 28368, 831, 4488, 66596, 25632, 1653, 2063, 1650, 22027, 18, 26866, 14602, 13580, 903, 67, 112397, 12765, 7413, 35431, 211394, 101935, 63769, 69307, 14315...
[ 0.2271728515625, 0.288330078125, 0.1605224609375, 0.15087890625, 0.1893310546875, 0.26171875, 0.087646484375, 0.1319580078125, 0.10699462890625, 0.12744140625, 0.2237548828125, 0.2369384765625, 0.20361328125, 0.1219482421875, 0.015472412109375, 0.061309814453125, 0.07177734375, 0.0...
embed
53246463_c0
53246463
prolog
0
Title: Prolog not finding all solutions Problem title: Prolog not finding all solutions Tags: prolog Problem: Prolog not finding all solutions Modelling the stops of an underground tube line like so: stop(line1, 1, station1). stop(line1, 2, station2). stop(line1, 3, station3). stop(line1, 4, station4). stop(line1, 5, s...
Prolog not finding all solutions Prolog not finding all solutions prolog Prolog line1 station1 station2 station3 station4 station5 line2 line_present_in_path Prolog not finding all solutions Modelling the stops of an underground tube line like so: where stop(L, N, S) means S is the N 'th stop on line L , I'm trying to ...
[ 0.00537109375, 0.0021514892578125, 0.01141357421875, 0.00106048583984375, -0.01611328125, 0.0091552734375, -0.027099609375, -0.0233154296875, 0.00634765625, -0.045654296875, 0.003875732421875, 0.02294921875, -0.005523681640625, 0.01416015625, 0.0299072265625, 0.009033203125, 0.012268...
[ 1250, 4867, 959, 90791, 756, 51347, 502, 13315, 418, 29398, 304, 363, 617, 758, 55247, 73, 128405, 49475, 7279, 1379, 64330, 43333, 866, 541, 159, 26950, 927, 339, 31577, 61924, 60875, 294, 436, 74481, 7722, 17721, 5303, 25398, 9035, 3318...
[ 0.195068359375, 0.251708984375, 0.05584716796875, 0.158203125, 0.16015625, 0.24072265625, 0.13427734375, 0.11767578125, 0.06011962890625, 0.096435546875, 0.1312255859375, 0.001129150390625, 0.037445068359375, 0.049713134765625, 0.094970703125, 0.0156097412109375, 0.1458740234375, 0...
embed
20515674_c0
20515674
prolog
0
Title: Make some specific rules (if-then-else like) in Prolog Programming Problem title: Make some specific rules (if-then-else like) in Prolog Programming Tags: prolog Problem: Make some specific rules (if-then-else like) in Prolog Programming I'am doing Prolog programming for my research. hypothesis(Patient,cold,Scor...
Make some specific rules (if-then-else like) in Prolog Programming Make some specific rules (if-then-else like) in Prolog Programming prolog Make Prolog Programming Patient Score severe_cold Score1 runny_nose Score2 Lines Line1 Line2 Line3 Line4 Line5 Line6 Line7 Line8 Line9 Line10 get_symptom Line FindSymptom Symptom ...
[ 0.004150390625, 0.000659942626953125, 0.021240234375, 0.022216796875, 0.00151824951171875, -0.00714111328125, 0.000514984130859375, 0.045166015625, -0.007110595703125, -0.0274658203125, 0.003692626953125, 0.004058837890625, -0.0098876953125, -0.005828857421875, 0.0115966796875, 0.00346...
[ 26176, 3060, 29458, 91736, 3190, 92733, 5557, 1884, 1250, 4867, 27958, 502, 135004, 168071, 141591, 8447, 71, 11675, 299, 157, 184, 16777, 1126, 963, 2046, 2676, 26040, 5928, 149450, 11853, 170933, 3253, 154663, 229200, 3034, 1299, 9254, 9050...
[ 0.07666015625, 0.045745849609375, 0.177001953125, 0.210693359375, 0.127197265625, 0.0880126953125, 0.09844970703125, 0.12451171875, 0.162841796875, 0.2264404296875, 0.1685791015625, 0.124755859375, 0.1968994140625, 0.209228515625, 0.148681640625, 0.1611328125, 0.036590576171875, 0....
embed
1201556_c0
1201556
prolog
0
Title: Calling the listing function in jpl Problem title: Calling the listing function in jpl Tags: java, jpl, prolog, swi-prolog Problem: Calling the listing function in jpl I was wondering whether anyone had managed to use the 'listing.' command in JPL to examine the contents of the Prolog knowledgebase? JPL requires...
Calling the listing function in jpl Calling the listing function in jpl java jpl prolog swi-prolog Calling Query q.hasMoreSolutions Hashtable q.nextSolution System.out.println s.get predicate_property built_in imported_from current_predicate myGoal1 myGoal2 _G403 _G404 Calling the listing function in jpl I was wonderin...
[ 0.01300048828125, 0.0294189453125, 0.0059814453125, 0.0086669921875, -0.00677490234375, 0.007659912109375, 0.004180908203125, -0.01092529296875, 0.005126953125, -0.050537109375, -0.00064849853515625, 0.00994873046875, -0.0286865234375, -0.0159912109375, -0.0013580322265625, 0.011169433...
[ 26265, 5303, 214, 32354, 23, 1647, 2424, 79, 330, 502, 4867, 2452, 3454, 58836, 8096, 10557, 122880, 102588, 34, 162087, 22819, 12353, 35662, 3794, 1653, 2063, 36290, 56, 88303, 76242, 161063, 43581, 19714, 759, 17903, 289, 304, 2839, 363, ...
[ 0.1446533203125, 0.18359375, 0.1575927734375, 0.1875, 0.0262908935546875, 0.0965576171875, 0.2216796875, 0.06298828125, 0.110107421875, 0.08477783203125, 0.199951171875, 0.1256103515625, 0.08892822265625, 0.1007080078125, 0.08428955078125, 0.0574951171875, 0.1085205078125, 0.110961...
embed
20063568_c0
20063568
prolog
0
Title: Prolog Wildcard: Duplicate list without changing wildcard values Problem title: Prolog Wildcard: Duplicate list without changing wildcard values Tags: wildcard, sudoku, prolog Problem: Prolog Wildcard: Duplicate list without changing wildcard values Right to the chase: I'm having trouble dealing with Prolog's un...
Prolog Wildcard: Duplicate list without changing wildcard values Prolog Wildcard: Duplicate list without changing wildcard values wildcard sudoku prolog Prolog Wildcard Duplicate Prolog Wildcard: Duplicate list without changing wildcard values Right to the chase: I'm having trouble dealing with Prolog's unification sys...
[ 0.00579833984375, 0.010498046875, 0.0140380859375, 0.01239013671875, -0.017822265625, -0.01153564453125, 0.01165771484375, 0.0037689208984375, -0.0023956298828125, -0.00189971923828125, -0.01397705078125, -0.01361083984375, 0.00958251953125, -0.0004425048828125, -0.016357421875, 0.0150...
[ 1250, 4867, 33384, 38931, 786, 52721, 67, 5303, 15490, 151134, 56409, 142424, 8932, 38067, 502, 47, 1608, 184, 63134, 184017, 51, 41274, 5426, 96276, 8305, 50491, 18151, 45443, 134234, 15555, 171763, 101935, 1957, 3365, 316, 27875, 2816, 2967...
[ 0.139404296875, 0.2347412109375, 0.1500244140625, 0.23828125, 0.1312255859375, 0.2236328125, 0.1282958984375, 0.1815185546875, 0.085693359375, 0.1116943359375, 0.1510009765625, 0.13916015625, 0.090576171875, 0.1558837890625, 0.048370361328125, 0.006256103515625, 0.134765625, 0.0442...
embed
27937592_c0
27937592
prolog
0
Title: Comprehend Prolog Function, how to intermittently print results Problem title: Comprehend Prolog Function, how to intermittently print results Tags: debugging, nlp, viterbi, prolog, printing Problem: Comprehend Prolog Function, how to intermittently print results I'm endeavouring to understand the following Prol...
Comprehend Prolog Function, how to intermittently print results Comprehend Prolog Function, how to intermittently print results debugging nlp viterbi prolog printing Comprehend Prolog most_probable_hmm_path Words Path probable_paths PPaths _P-Path1 Path1 Word PPaths0 PPath Tag2 Tag1 Tags AllPaths PPaths1 U-V N-P Sequen...
[ 0.012451171875, -0.0257568359375, -0.0018768310546875, 0.010986328125, -0.000865936279296875, 0.03076171875, 0.002532958984375, -0.01129150390625, 0.00151824951171875, -0.046142578125, 0.013427734375, 0.0020599365234375, -0.00616455078125, -0.0145263671875, 0.0108642578125, 0.013916015...
[ 142158, 36019, 1250, 4867, 28670, 10763, 3642, 1940, 116119, 18, 538, 28412, 50339, 8, 978, 26775, 12398, 30291, 502, 2448, 2684, 79122, 2886, 2276, 128405, 22543, 108421, 101421, 10519, 418, 2389, 4837, 304, 12298, 3164, 856, 541, 683, 944...
[ 0.146728515625, 0.1619873046875, 0.1929931640625, 0.2548828125, 0.1668701171875, 0.044952392578125, 0.0806884765625, 0.1380615234375, 0.218994140625, 0.050079345703125, 0.04315185546875, 0.255615234375, 0.23486328125, 0.0902099609375, 0.146484375, 0.12255859375, 0.10076904296875, 0...
embed
28433609_c0
28433609
prolog
0
Title: Having a &quot;out of global stack&quot; in prolog Problem title: Having a &quot;out of global stack&quot; in prolog Tags: planning, prolog, failure-slice Problem: Having a "out of global stack" in prolog Hey guys I have a fairly simple question about Prolog. %on(Block,Object). % clear(Object). block(b1). block(...
Having a &quot;out of global stack&quot; in prolog Having a &quot;out of global stack&quot; in prolog planning prolog failure-slice itself Having Block Object state1 Positions Action Condition AddRelationship DeleteRelationship Move State Goals Plan FinalState PrePlan PostPlan Goal MidState1 MidState2 NewState DelList ...
[ 0.0146484375, 0.022705078125, 0.00189971923828125, 0.00225830078125, -0.0196533203125, 0.0037078857421875, -0.00970458984375, 0.0120849609375, 0.0194091796875, -0.03759765625, 0.01025390625, 0.0189208984375, -0.015380859375, -0.021240234375, 0.014892578125, 0.01129150390625, 0.002319...
[ 171855, 10, 6056, 111, 7964, 177261, 23, 502, 4867, 58136, 137578, 7, 13348, 68034, 80231, 134549, 11341, 99428, 57945, 46347, 29117, 57860, 262, 46485, 135828, 22836, 2016, 5586, 27188, 135206, 1914, 78680, 23166, 8901, 154663, 154109, 5584, ...
[ 0.0777587890625, 0.07904052734375, 0.2318115234375, 0.25146484375, 0.2435302734375, 0.2646484375, 0.0772705078125, 0.14599609375, 0.257080078125, 0.2158203125, 0.21142578125, 0.00030517578125, 0.1634521484375, 0.1343994140625, 0.1495361328125, 0.171142578125, 0.09466552734375, 0.12...
embed
23994758_c0
23994758
prolog
0
Title: Prolog - Summing numbers Problem title: Prolog - Summing numbers Tags: sum, prolog, numbers Problem: Prolog - Summing numbers I am new in prolog. I have found breadth first search program in the internet which is search for routes between cities. I want to extend the program to store and calculate distances. But...
Prolog - Summing numbers Prolog - Summing numbers sum prolog numbers Prolog Summing los_angeles State Goal Path bfs_help RevPath RestPaths SolnPath NewPaths TotalPaths NextState path_distance Prolog - Summing numbers I am new in prolog. I have found breadth first search program in the internet which is search for route...
[ 0.02001953125, 0.00750732421875, 0.009033203125, 0.015869140625, -0.0079345703125, 0.00775146484375, -0.0242919921875, -0.005859375, 0.0001659393310546875, -0.046875, 0.010009765625, -0.0137939453125, -0.0089111328125, -0.0107421875, -0.001495361328125, -0.00946044921875, 0.013244628...
[ 1250, 4867, 1832, 58838, 101935, 20, 10554, 502, 388, 64859, 90, 22836, 2016, 289, 108421, 17447, 73866, 80893, 683, 10519, 49756, 6678, 19, 2356, 33867, 4997, 135206, 60875, 56883, 3525, 23, 14037, 179967, 927, 5117, 33938, 1528, 1820, 364...
[ 0.2003173828125, 0.294677734375, 0.2232666015625, 0.2412109375, 0.2391357421875, 0.026763916015625, 0.22900390625, 0.160888671875, 0.1376953125, 0.1783447265625, 0.0765380859375, 0.1123046875, 0.1212158203125, 0.07452392578125, 0.1927490234375, 0.1383056640625, 0.177978515625, 0.13...
embed
21432199_c0
21432199
prolog
0
Title: Prolog Circuit Database Problem title: Prolog Circuit Database Tags: circuit, prolog Problem: Prolog Circuit Database I have a question that is on the topic of this one ( Create Prolog Vocabulary ), but uses a slightly different vocabulary. I've seen the answer, and, even though I know it's correct, I don't want...
Prolog Circuit Database Prolog Circuit Database circuit prolog Prolog Circuit Database Check FACTS are_connected RULES All OUT Signals Arity NOT Other Commutativity Connectivity same_signal Prolog Circuit Database I have a question that is on the topic of this one ( Create Prolog Vocabulary ), but uses a slightly diffe...
[ 0.032958984375, 0.00604248046875, 0.002777099609375, 0.0244140625, -0.0206298828125, 0.0021820068359375, -0.0135498046875, -0.00750732421875, 0.000743865966796875, -0.0361328125, -0.0020751953125, -0.0191650390625, -0.0157470703125, 0.000904083251953125, -0.0074462890625, -0.0113525390...
[ 1250, 4867, 167190, 187781, 61404, 502, 38679, 155816, 621, 135457, 46845, 47138, 3164, 52001, 144000, 1172, 2481, 86725, 64511, 68754, 54613, 62448, 5701, 165992, 9655, 151313, 196420, 32262, 1294, 12921, 190219, 98363, 83324, 33949, 26073, 6021...
[ 0.1385498046875, 0.23486328125, 0.128662109375, 0.149169921875, 0.2135009765625, 0.09918212890625, 0.1185302734375, 0.143798828125, 0.0679931640625, 0.1873779296875, 0.1024169921875, 0.01397705078125, 0.033538818359375, 0.1845703125, 0.1866455078125, 0.1221923828125, 0.185791015625, ...
embed
15849184_c0
15849184
prolog
0
Title: Solve in prolog resulting in false? Problem title: Solve in prolog resulting in false? Tags: prolog Problem: Solve in prolog resulting in false? I have tried using a code similar to this link: Solving a textual logic puzzle in Prolog - Find birthday and month The problem I'm trying to solve is this(Telephone Con...
Solve in prolog resulting in false? Solve in prolog resulting in false? prolog Solve Date Exchange Exchange1 Date1 Exchange2 Date2 Exchange3 Date3 Exchange4 Date4 Herbet Person Getie Herbert Wallace Solve in prolog resulting in false? I have tried using a code similar to this link: Solving a textual logic puzzle in Pro...
[ 0.0191650390625, 0.017822265625, 0.00714111328125, 0.0213623046875, -0.035888671875, 0.005859375, -0.02783203125, 0.0150146484375, 0.004364013671875, -0.0006256103515625, 0.001190185546875, 0.0216064453125, 0.0306396484375, 0.006683349609375, 0.01007080078125, 0.0247802734375, 0.0059...
[ 6678, 272, 23, 502, 4867, 16750, 214, 98320, 25512, 104758, 418, 363, 617, 1840, 4626, 15270, 2206, 2061, 177592, 23706, 8509, 37842, 18151, 21373, 3126, 6496, 90426, 62775, 104192, 1250, 26040, 101207, 136, 31150, 2967, 86869, 26551, 28784, ...
[ 0.143310546875, 0.1097412109375, 0.09600830078125, 0.1837158203125, 0.239501953125, 0.09857177734375, 0.06134033203125, 0.260009765625, 0.114013671875, 0.1524658203125, 0.0029296875, 0.0192413330078125, 0.0689697265625, 0.102294921875, 0.1761474609375, 0.0253753662109375, 0.082397460...
embed
35935968_c0
35935968
prolog
0
Title: pass parameters from java to Prolog Problem title: pass parameters from java to Prolog Tags: swi-prolog, java, ffi, jpl, prolog Problem: pass parameters from java to Prolog I have the code below in Prolog and I made a GUI in Java. In this gui I have some checkboxes with symptoms and I want to pass only clicked s...
pass parameters from java to Prolog pass parameters from java to Prolog swi-prolog java ffi jpl prolog java Prolog Diseases one_occurrence DiseasesNoDup PositiveSymptoms Answer Disease Simptoms_list Feauture_list NewAnswer symptoms_list features_list iron_defficiency loose_concentration swelling_tongue vitamin_poor_die...
[ 0.01177978515625, -0.0120849609375, 0.0142822265625, 0.000797271728515625, -0.00897216796875, 0.01275634765625, -0.00098419189453125, 0.0084228515625, 0.0035552978515625, -0.051025390625, 0.029296875, 0.005767822265625, -0.010009765625, -0.0003261566162109375, 0.006622314453125, -0.017...
[ 27875, 171859, 1295, 79, 330, 47, 1250, 4867, 2452, 3454, 24500, 2424, 502, 229200, 1632, 6652, 64240, 5021, 2037, 156060, 2676, 5928, 130373, 55331, 6562, 916, 7251, 6488, 153698, 66139, 193, 191, 112, 1474, 5078, 46899, 52113, 30319, 1507...
[ 0.1893310546875, 0.270751953125, 0.1395263671875, 0.1710205078125, 0.2215576171875, 0.1279296875, 0.1798095703125, 0.26611328125, 0.12548828125, 0.1368408203125, 0.09466552734375, 0.057861328125, 0.1195068359375, 0.16064453125, 0.070068359375, 0.000335693359375, 0.08306884765625, 0...
embed
70821997_c0
70821997
prolog
0
Title: Implementation of forward chaining in prolog (SWI-Prolog) Problem title: Implementation of forward chaining in prolog (SWI-Prolog) Tags: prolog Problem: Implementation of forward chaining in prolog (SWI-Prolog) I would like to implement forward-chaining reasoning in Prolog. I made up a simple KB of facts and som...
Implementation of forward chaining in prolog (SWI-Prolog) Implementation of forward chaining in prolog (SWI-Prolog) prolog Implementation SWI-Prolog eats_flies start_id get_id NewFacts Head Tail Rules Facts forward_chaining NewFactsRec NewFactsRecRec forward_rule NewRulesRec NewRules NewTail NewId NovelFact NovelRule T...
[ 0.03515625, 0.00077056884765625, 0.001220703125, 0.01531982421875, -0.00994873046875, 0.00537109375, -0.0045166015625, 0.00139617919921875, 0.006561279296875, -0.02978515625, 0.029052734375, 0.0238037109375, -0.01007080078125, -0.0034942626953125, 0.01397705078125, -0.0128173828125, ...
[ 153941, 40225, 1608, 14653, 502, 4867, 38969, 9, 10752, 159, 28, 9821, 36361, 4034, 532, 2356, 135518, 44816, 1218, 379, 139118, 132640, 1436, 4332, 238, 882, 26951, 9874, 568, 71, 119037, 717, 18537, 19364, 23, 294, 29479, 31635, 214, 12...
[ 0.1444091796875, 0.236572265625, 0.2113037109375, 0.18798828125, 0.1439208984375, 0.2459716796875, 0.160400390625, 0.022216796875, 0.1397705078125, 0.034820556640625, 0.08831787109375, 0.0394287109375, 0.1312255859375, 0.090087890625, 0.0693359375, 0.1043701171875, 0.176513671875, ...
embed
47985651_c0
47985651
prolog
0
Title: Constraint prolog, creating optimization method Problem title: Constraint prolog, creating optimization method Tags: clpfd, prolog Problem: Constraint prolog, creating optimization method so I have been around this problem for some time... I want to solve this problem of optimization in Prolog using clpfd librar...
Constraint prolog, creating optimization method Constraint prolog, creating optimization method clpfd prolog Constraint Priorities Budget Cost Criteria List MaxLength Impact sum_prod MeasuresList TotalImpact Length Measures all_different Rest TotalSpent ImpactSum Aux Sum TotalBudget time_out Constraint prolog, creating...
[ 0.0181884765625, 0.0018310546875, 0.003387451171875, 0.0107421875, -0.00537109375, 0.003875732421875, -0.00457763671875, -0.0101318359375, 0.01263427734375, -0.020263671875, 0.0035400390625, -0.00439453125, 0.00299072265625, -0.01251220703125, 0.01458740234375, 0.004974365234375, 0.0...
[ 1657, 2816, 4288, 502, 4867, 105233, 87235, 1363, 55300, 33139, 39557, 71, 168857, 95457, 63099, 26315, 26206, 32036, 9920, 449, 161623, 10554, 112348, 1215, 162, 154663, 33867, 128878, 47013, 77554, 756, 238778, 49756, 91319, 316, 6077, 36335,...
[ 0.04425048828125, 0.2083740234375, 0.09490966796875, 0.156005859375, 0.246337890625, 0.1561279296875, 0.1939697265625, 0.0863037109375, 0.1485595703125, 0.04901123046875, 0.0943603515625, 0.1458740234375, 0.1527099609375, 0.178955078125, 0.13671875, 0.0670166015625, 0.09552001953125,...
embed
37457681_c0
37457681
prolog
0
Title: How to assign a different value to each node and each arc of a tree Problem title: How to assign a different value to each node and each arc of a tree Tags: tree, prolog, algorithm Problem: How to assign a different value to each node and each arc of a tree I wanted to ask a somewhat specific question. I had to ...
How to assign a different value to each node and each arc of a tree How to assign a different value to each node and each arc of a tree tree prolog algorithm 1 How a-3 b-2 c-1 a-2 b-1 c-3 CONNECTIONS_IN NODES_OUT ARCS_OUT EnumNodos EnumArcos HAS N-1 How to assign a different value to each node and each arc of a tree I ...
[ 0.0021820068359375, -0.00433349609375, -0.00714111328125, 0.0167236328125, -0.0035858154296875, 0.00628662109375, -0.00640869140625, 0.01251220703125, 0.0093994140625, -0.0196533203125, -0.00567626953125, -0.00130462646484375, 0.0052490234375, 0.01312255859375, 0.01300048828125, -0.016...
[ 11249, 47, 95486, 12921, 34292, 12638, 110, 112, 136, 46552, 111, 53201, 10, 502, 4867, 234873, 106, 8316, 876, 5428, 5759, 14452, 91394, 8852, 9520, 69193, 52001, 13685, 357, 316, 5021, 1140, 7614, 7840, 101413, 541, 29458, 86869, 73342, ...
[ 0.1082763671875, 0.05926513671875, 0.2364501953125, 0.2318115234375, 0.2220458984375, 0.1224365234375, 0.1971435546875, 0.171875, 0.0892333984375, 0.2071533203125, 0.0679931640625, 0.2293701171875, 0.0236663818359375, 0.1409912109375, 0.16845703125, 0.1781005859375, 0.07220458984375,...
embed
16005690_c0
16005690
prolog
0
Title: Swapping consecutive items of a list in Prolog Problem title: Swapping consecutive items of a list in Prolog Tags: prolog, logic-programming Problem: Swapping consecutive items of a list in Prolog I'm trying to write Prolog code that can swap two elements of a list, but only if they are consecutive to each other...
Swapping consecutive items of a list in Prolog Swapping consecutive items of a list in Prolog prolog logic-programming Swapping Prolog conseq_swap swap_conseq MainList SwappedList Xpos Ypos Diff swap_ordered Min Max Minpos Maxpos compute_lists Pre Post Temp Element Tail Index Index1 Swapping consecutive items of a list...
[ -0.001922607421875, 0.00537109375, 0.003570556640625, -0.004730224609375, 0.0026397705078125, 0.01043701171875, -0.025634765625, 0.017333984375, 0.0181884765625, -0.006011962890625, 0.005584716796875, 0.046875, -0.01092529296875, -0.01043701171875, 0.00885009765625, 0.0123291015625, ...
[ 43062, 26783, 148390, 13, 55769, 111, 5303, 1250, 4867, 502, 62775, 28966, 158, 184, 864, 634, 254, 202317, 25553, 12321, 154663, 48398, 7522, 990, 191144, 80596, 4211, 9920, 6562, 1914, 2795, 37446, 48325, 1218, 31471, 23, 33022, 18151, 83...
[ 0.249267578125, 0.06463623046875, 0.256103515625, 0.0948486328125, 0.202392578125, 0.0433349609375, 0.21240234375, 0.1676025390625, 0.22607421875, 0.0843505859375, 0.06256103515625, 0.040985107421875, 0.03204345703125, 0.140625, 0.09417724609375, 0.17724609375, 0.0207977294921875, ...
embed
62620171_c0
62620171
prolog
0
Title: How is predicate logic represented in Prolog? Problem title: How is predicate logic represented in Prolog? Tags: logic, prolog Problem: How is predicate logic represented in Prolog? may be a strange and broad question and not a 100% programming question, but I hope this is ok. I recently had a discussion about, ...
How is predicate logic represented in Prolog? How is predicate logic represented in Prolog? logic prolog How Prolog How is predicate logic represented in Prolog? may be a strange and broad question and not a 100% programming question, but I hope this is ok. I recently had a discussion about, that a lot of programs in P...
[ 0.027587890625, 0.007110595703125, 0.00494384765625, 0.01495361328125, -0.00262451171875, 0.023681640625, 0.0098876953125, -0.00860595703125, 0.001617431640625, -0.036865234375, -0.0059814453125, -0.022705078125, -0.0234375, -0.01373291015625, 0.006134033203125, 0.005645751953125, 0....
[ 11249, 1653, 2063, 67, 62775, 33636, 297, 23, 1250, 4867, 502, 114453, 3555, 56037, 5915, 103391, 28960, 81113, 21612, 429, 27983, 187694, 23509, 27689, 35509, 5117, 12989, 78315, 100700, 3173, 42475, 15266, 1755, 15824, 79986, 74918, 2639, 4...
[ 0.049346923828125, 0.1866455078125, 0.2333984375, 0.13330078125, 0.27685546875, 0.2200927734375, 0.08001708984375, 0.055511474609375, 0.193359375, 0.244140625, 0.11572265625, 0.0242462158203125, 0.020172119140625, 0.1092529296875, 0.01031494140625, 0.1531982421875, 0.0750732421875, ...
embed
3347085_c0
3347085
prolog
0
Title: Why &quot;ERROR: Out of global stack&quot; Problem title: Why &quot;ERROR: Out of global stack&quot; Tags: sliding-tile-puzzle, prolog Problem: Why "ERROR: Out of global stack" %(SWI-Prolog)You can run the program by: ?- bestfs([8,1,3,7,0,2,6,5,4],P). initial([8,1,3,7,0,2,6,5,4]). goal([1,2,3,8,0,4,7,6,5]). oper...
Why &quot;ERROR: Out of global stack&quot; Why &quot;ERROR: Out of global stack&quot; sliding-tile-puzzle prolog the Why ERROR Out SWI-Prolog You Best-first Search Start Path Distance bestfs_path Goal Current Queue GoalPath Child PathToChild Operator ChildNodes add_to_list NewQueue OldList NewList insert_at_place TempL...
[ 0.0140380859375, -0.0004367828369140625, 0.000518798828125, -0.0089111328125, -0.0155029296875, 0.0126953125, -0.031494140625, -0.01483154296875, 0.004913330078125, -0.032470703125, 0.04052734375, -0.00927734375, 0.01220703125, 0.00390625, 0.0194091796875, -0.00958251953125, -0.00549...
[ 44084, 41502, 12501, 14255, 1052, 12, 13538, 111, 7964, 177261, 132692, 214, 44555, 1766, 13894, 133, 502, 4867, 151206, 24638, 159, 38969, 9, 10752, 2583, 11345, 13448, 33086, 13794, 108421, 154349, 2965, 17447, 128405, 2016, 114063, 5813, 2...
[ 0.160888671875, 0.06231689453125, 0.1602783203125, 0.1953125, 0.1358642578125, 0.0504150390625, 0.2384033203125, 0.236328125, 0.2305908203125, 0.240478515625, 0.20654296875, 0.140625, 0.21923828125, 0.1046142578125, 0.1275634765625, 0.090576171875, 0.132568359375, 0.2054443359375, ...
embed
50779267_c0
50779267
prolog
0
Title: reasoning in belief network with prolog Problem title: reasoning in belief network with prolog Tags: prolog, bayesian-networks, reasoning Problem: reasoning in belief network with prolog I have a problem in Prolog for my final project. I try to reason about train system disruption pattern using bayesian network ...
reasoning in belief network with prolog reasoning in belief network with prolog prolog bayesian-networks reasoning the Cond PRest Use Bayes Cond0 PyGivenX Assuming Cases CONDi CPlist Condition sum_probs COND1 CondsProbs PC1 Negated static_inverter overhead_line service_table fallen_tree ERROR Arithmetic zero_divisor _4...
[ 0.0191650390625, -0.000720977783203125, -0.0004730224609375, 0.0234375, -0.0079345703125, 0.025146484375, -0.0098876953125, -0.004180908203125, -0.00122833251953125, -0.04638671875, 0.0106201171875, 0.00067138671875, 0.006256103515625, -0.0233154296875, 0.017578125, -0.00750732421875, ...
[ 31635, 214, 23, 144239, 33120, 678, 502, 4867, 9118, 90, 3378, 1179, 18244, 1657, 71, 10865, 525, 36836, 9631, 2389, 27512, 37735, 1353, 1542, 66596, 43731, 14452, 14055, 6562, 46347, 10554, 79122, 6468, 10752, 6107, 418, 127149, 201939, 81...
[ 0.220458984375, 0.094482421875, 0.0711669921875, 0.21923828125, 0.185302734375, 0.098876953125, 0.1356201171875, 0.2257080078125, 0.12939453125, 0.11181640625, 0.112548828125, 0.10693359375, 0.0999755859375, 0.117919921875, 0.0499267578125, 0.04766845703125, 0.1279296875, 0.0332946...
embed
50581638_c0
50581638
prolog
0
Title: user input , user inputs data into the list Problem title: user input , user inputs data into the list Tags: hill-climbing, input, prolog Problem: user input , user inputs data into the list I have a eval solution , that the user need to input the names of the people and give a certain value , i am trying to mak...
user input , user inputs data into the list user input , user inputs data into the list hill-climbing input prolog Name1 Name2 Pick Person user input , user inputs data into the list I have a eval solution , that the user need to input the names of the people and give a certain value , i am trying to make it work but t...
[ -0.01116943359375, 0.01220703125, 0.0002155303955078125, 0.03271484375, -0.001617431640625, 0.0252685546875, -0.016845703125, 0.0079345703125, 0.010498046875, -0.04443359375, 0.01129150390625, 0.025634765625, 0.00194549560546875, -0.007598876953125, 0.003387451171875, 0.003448486328125...
[ 38937, 107730, 2053, 3934, 5303, 130473, 9, 238, 3141, 23709, 502, 4867, 15757, 418, 304, 122554, 15270, 28, 1405, 29806, 3871, 123055, 111, 3395, 8337, 24233, 34292, 31577, 4488, 2831, 959, 20697, 3444, 116, 1829, 130250, 1884, 903, 683, ...
[ 0.1695556640625, 0.23388671875, 0.1297607421875, 0.069091796875, 0.1767578125, 0.2059326171875, 0.013824462890625, 0.06317138671875, 0.1734619140625, 0.136962890625, 0.128173828125, 0.15185546875, 0.0892333984375, 0.048797607421875, 0.1153564453125, 0.1875, 0.1708984375, 0.06848144...
embed
49088555_c0
49088555
prolog
0
Title: Prolog DCG Building/Recognizing Word Strings from Alphanumeric Characters Problem title: Prolog DCG Building/Recognizing Word Strings from Alphanumeric Characters Tags: dcg, prolog, string, swi-prolog Problem: Prolog DCG Building/Recognizing Word Strings from Alphanumeric Characters So I'm writing simple parsers...
Prolog DCG Building/Recognizing Word Strings from Alphanumeric Characters Prolog DCG Building/Recognizing Word Strings from Alphanumeric Characters dcg prolog string swi-prolog Alphanumeric Prolog DCG Building Recognizing Word Strings Characters someIdentifier1 Prolog DCG Building/Recognizing Word Strings from Alphanum...
[ 0.0208740234375, -0.005523681640625, 0.0003795623779296875, 0.0267333984375, -0.0189208984375, 0.04150390625, -0.00872802734375, 0.00347900390625, -0.001556396484375, -0.029052734375, -0.0096435546875, 0.0093994140625, -0.01324462890625, 0.0001430511474609375, 0.0096435546875, 0.021728...
[ 1250, 4867, 391, 56367, 104919, 4332, 115558, 22543, 23351, 5180, 1295, 76569, 2606, 56, 21656, 2263, 177, 502, 79315, 2452, 3454, 3060, 37379, 85789, 32562, 8781, 366, 7, 1314, 56037, 46876, 159, 38969, 10752, 88606, 67, 100700, 48078, 172...
[ 0.1717529296875, 0.21875, 0.08184814453125, 0.1842041015625, 0.1783447265625, 0.00653076171875, 0.137939453125, 0.1546630859375, 0.1746826171875, 0.076416015625, 0.045166015625, 0.150146484375, 0.107177734375, 0.1502685546875, 0.0638427734375, 0.09637451171875, 0.0452880859375, 0.0...
embed
54168605_c0
54168605
prolog
0
Title: Lexical Analyzer Prolog Problem title: Lexical Analyzer Prolog Tags: lexical-analysis, prolog Problem: Lexical Analyzer Prolog I must make a lexical analyzer in Prolog and C++. My for lexical analyzer in C++ is working, but i have some problems with my prolog code. I can't make it to recognize the keywords This ...
Lexical Analyzer Prolog Lexical Analyzer Prolog lexical-analysis prolog Lexical Analyzer Prolog string_processing det_lexical_atom_type is_identif is_op is_delim is_const string_processing:-write Write Unknown is_keyword determine_lexical_atom_type determine_keyword Lexical Analyzer Prolog I must make a lexical analyze...
[ 0.0125732421875, -0.00958251953125, -0.000316619873046875, 0.024658203125, 0.0135498046875, 0.007293701171875, 0.0167236328125, 0.0264892578125, -0.00323486328125, -0.017333984375, 0.0072021484375, 0.006744384765625, -0.0011444091796875, -0.014404296875, 0.0196533203125, -0.00476074218...
[ 172522, 6827, 33326, 53, 4383, 1250, 4867, 75675, 21533, 174976, 502, 79315, 63923, 149, 74070, 5928, 50986, 83, 6382, 7737, 2146, 112, 3141, 25553, 18, 18781, 992, 69723, 19770, 47416, 83324, 8110, 7968, 23, 136, 313, 37223, 20697, 44402, ...
[ 0.1680908203125, 0.1533203125, 0.1298828125, 0.1282958984375, 0.1556396484375, 0.1746826171875, 0.25048828125, 0.1907958984375, 0.1746826171875, 0.1627197265625, 0.1375732421875, 0.1378173828125, 0.08544921875, 0.1820068359375, 0.138671875, 0.14453125, 0.151611328125, 0.08282470703...
embed
41621757_c0
41621757
prolog
0
Title: for-loop in prolog doesn&#x27;t work Problem title: for-loop in prolog doesn&#x27;t work Tags: prolog Problem: for-loop in prolog doesn't work I'm trying to do a for loop in Prolog which doesn't work. The program should do following: generate(N,[S,E],FinalSegments):- segments([S,E],Initialsegments), iterate_leve...
for-loop in prolog doesn&#x27;t work for-loop in prolog doesn&#x27;t work prolog FinalSegments Initialsegments iterate_level Index next_level_segments Next Ex-Sx Ey-Sy X2-Sx Y2-Ey Phi1 Y2-Sy Phi1-240 RLs for-loop in prolog doesn't work I'm trying to do a for loop in Prolog which doesn't work. The program should do foll...
[ 0.0155029296875, -0.007537841796875, -0.00026702880859375, 0.004669189453125, -0.0106201171875, 0.004974365234375, -0.001251220703125, 0.013671875, 0.01190185546875, -0.00555419921875, 0.011474609375, 0.0030517578125, -0.00154876708984375, 0.0147705078125, 0.00439453125, -0.00952148437...
[ 100, 9, 28354, 23, 502, 4867, 22027, 3768, 18, 4488, 27188, 294, 2507, 1890, 25398, 8560, 67919, 31471, 11737, 4997, 5443, 425, 29807, 65183, 18504, 990, 53, 49039, 2839, 30121, 31577, 40956, 1250, 3129, 1528, 5608, 25632, 159029, 139392, ...
[ 0.2384033203125, 0.0802001953125, 0.270263671875, 0.1224365234375, 0.20654296875, 0.2412109375, 0.10546875, 0.073486328125, 0.1202392578125, 0.185546875, 0.1614990234375, 0.001251220703125, 0.167724609375, 0.07684326171875, 0.1851806640625, 0.1669921875, 0.1513671875, 0.115234375, ...
embed
46590554_c0
46590554
prolog
0
Title: Iterating over list elements in turns in prolog Problem title: Iterating over list elements in turns in prolog Tags: prolog, list Problem: Iterating over list elements in turns in prolog I have this predicate repeat/3 which I need to construct. It is supposed to repeat all the elements in a list n amount of time...
Iterating over list elements in turns in prolog Iterating over list elements in turns in prolog prolog list Iterating Int1 Int-1 Tail Iterating over list elements in turns in prolog I have this predicate repeat/3 which I need to construct. It is supposed to repeat all the elements in a list n amount of times. For examp...
[ -0.002471923828125, -0.0028839111328125, 0.015869140625, 0.00970458984375, -0.0206298828125, 0.00726318359375, 0.00732421875, -0.0101318359375, 0.005462646484375, -0.0184326171875, 0.0021209716796875, 0.0081787109375, -0.01708984375, 0.0050048828125, 0.006927490234375, 0.0196533203125,...
[ 87, 67, 98767, 645, 5303, 80854, 15504, 502, 4867, 23, 360, 18, 418, 5759, 1218, 379, 1653, 2063, 119140, 18113, 3871, 64549, 134598, 756, 653, 41170, 20028, 27781, 154559, 27489, 1193, 2203, 43581, 18151, 59121, 25632, 30646, 201505, 54799...
[ 0.053375244140625, 0.1904296875, 0.1116943359375, 0.202880859375, 0.157958984375, 0.170654296875, 0.2015380859375, 0.162109375, 0.1966552734375, 0.0130615234375, 0.044708251953125, 0.05181884765625, 0.032562255859375, 0.0947265625, 0.11376953125, 0.0933837890625, 0.1317138671875, 0...
embed
27434424_c1
27434424
prolog
1
4 4 | 2 | | 3 | 1 Now the problem is: my constraints somehow aren't applying, and the program isn't giving me the solution. After puting the right domain and putting all column/row cells different(wich without any other restrictions it gives me the expected solution), I have this code to apply to each cell, the sum res...
4 4 | 2 | | 3 | 1 Now the problem is: my constraints somehow aren't applying, and the program isn't giving me the solution. After puting the right domain and putting all column/row cells different(wich without any other restrictions it gives me the expected solution), I have this code to apply to each cell, the sum res...
[ -0.01300048828125, -0.0172119140625, 0.03173828125, 0.0196533203125, 0.00089263916015625, -0.007415771484375, -0.0084228515625, 0.0133056640625, 0.00860595703125, -0.0142822265625, -0.00811767578125, 0.023681640625, -0.0021514892578125, -0.00159454345703125, 0.006011962890625, 0.025024...
[ 201, 14240, 2967, 83, 759, 158, 2816, 4288, 7, 209303, 125381, 18, 59911, 214, 1528, 56112, 68772, 163, 29806, 24372, 3884, 7108, 77758, 118620, 756, 3365, 316, 15555, 38750, 12921, 15490, 185190, 76199, 84751, 765, 903, 18151, 12638, 10554...
[ 0.055419921875, 0.003143310546875, 0.158447265625, 0.002532958984375, 0.08184814453125, 0.1160888671875, 0.2083740234375, 0.18310546875, 0.1064453125, 0.0823974609375, 0.034393310546875, 0.105712890625, 0.1429443359375, 0.08587646484375, 0.15869140625, 0.052520751953125, 0.0716552734...
embed
16940384_c0
16940384
prolog
0
Title: How work this DCG Prolog grammar that say if a string is a Roman Number? Problem title: How work this DCG Prolog grammar that say if a string is a Roman Number? Tags: roman-numerals, prolog, dcg Problem: How work this DCG Prolog grammar that say if a string is a Roman Number? Searching on StackOverflow I have fo...
How work this DCG Prolog grammar that say if a string is a Roman Number? How work this DCG Prolog grammar that say if a string is a Roman Number? roman-numerals prolog dcg How DCG Prolog Roman Number Scale Value Daniel How work this DCG Prolog grammar that say if a string is a Roman Number? Searching on StackOverflow I...
[ 0.007659912109375, -0.02099609375, 0.006011962890625, 0.0260009765625, 0.01153564453125, 0.0279541015625, -0.015625, 0.004547119140625, 0.00005602836608886719, 0.007537841796875, -0.01324462890625, -0.045654296875, -0.005615234375, 0.0011444091796875, -0.0081787109375, 0.0224609375, ...
[ 11249, 4488, 903, 391, 56367, 1250, 4867, 122092, 147, 5154, 2174, 79315, 83, 12610, 103332, 10, 6315, 2606, 56, 16765, 502, 104, 238, 177, 152653, 190060, 11555, 6512, 156673, 118664, 34128, 14012, 96760, 32380, 93511, 191145, 48078, 1727, ...
[ 0.06011962890625, 0.1707763671875, 0.076904296875, 0.091796875, 0.2010498046875, 0.1580810546875, 0.1939697265625, 0.1588134765625, 0.11083984375, 0.04302978515625, 0.0869140625, 0.252197265625, 0.09088134765625, 0.276611328125, 0.23974609375, 0.01611328125, 0.266357421875, 0.09729...
embed
53383978_c0
53383978
prolog
0
Title: Prolog reverse lookup and input validation at the same time Problem title: Prolog reverse lookup and input validation at the same time Tags: prolog Problem: Prolog reverse lookup and input validation at the same time I have started learning prolog recently and even though it is refreshing to move away from funct...
Prolog reverse lookup and input validation at the same time Prolog reverse lookup and input validation at the same time prolog Prolog speaks_same table_seating Prolog reverse lookup and input validation at the same time I have started learning prolog recently and even though it is refreshing to move away from functiona...
[ -0.0062255859375, 0.0185546875, 0.00732421875, 0.0174560546875, -0.0166015625, 0.0038299560546875, -0.0125732421875, 0.0054931640625, 0.00946044921875, -0.043701171875, 0.00897216796875, 0.00677490234375, 0.0111083984375, 0.003570556640625, 0.001800537109375, 0.0191650390625, 0.02941...
[ 1250, 4867, 39531, 184, 6713, 2037, 136, 107730, 44622, 5701, 502, 70424, 40175, 23180, 26518, 1363, 52080, 210651, 123309, 56037, 48903, 4552, 110613, 63134, 100094, 33022, 1653, 2063, 12765, 36766, 10750, 606, 35593, 24233, 5423, 91736, 77336...
[ 0.165283203125, 0.2415771484375, 0.2198486328125, 0.1502685546875, 0.1011962890625, 0.134521484375, 0.024658203125, 0.1885986328125, 0.225830078125, 0.086181640625, 0.13134765625, 0.1431884765625, 0.1502685546875, 0.189697265625, 0.0999755859375, 0.00018310546875, 0.042205810546875, ...
embed
41646154_c0
41646154
prolog
0
Title: Generate predicates from Json Problem title: Generate predicates from Json Tags: swi-prolog, prolog, asp.net-web-api, asp.net, json Problem: Generate predicates from Json I have a WEB API done in Asp.Net that returns some points of interest in JSON. In prolog I obtain it by doing this: poi(X):- http_client:http_...
Generate predicates from Json Generate predicates from Json swi-prolog prolog asp.net-web-api asp.net json Json Generate http_client:http_get localhost:XXXXX PontosInteresse ApplicationUserID teste2 teste3 Nome Descricao TempoEstimado Acessibilidade LocalId Latitude Longitude asp.net-web-api asp.net Generate predicates...
[ -0.006134033203125, -0.00201416015625, -0.006439208984375, -0.0027923583984375, -0.00640869140625, 0.0184326171875, -0.00799560546875, -0.0032806396484375, 0.0005035400390625, -0.05859375, -0.0023651123046875, 0.00848388671875, -0.020263671875, -0.03271484375, 0.0274658203125, 0.018676...
[ 155370, 67, 1653, 2063, 1636, 1295, 821, 1681, 91, 2452, 3454, 4867, 502, 237, 254, 1179, 14051, 40897, 5, 1647, 1621, 222978, 5475, 3794, 4000, 40294, 205378, 43601, 232, 44851, 15650, 104921, 1062, 2189, 7146, 34939, 304, 363, 282, 6832...
[ 0.205322265625, 0.042633056640625, 0.2320556640625, 0.23779296875, 0.161376953125, 0.1512451171875, 0.1920166015625, 0.2391357421875, 0.0203399658203125, 0.1776123046875, 0.1024169921875, 0.1708984375, 0.0997314453125, 0.07275390625, 0.119873046875, 0.1080322265625, 0.053070068359375...
embed
56192646_c0
56192646
prolog
0
Title: Prolog stucks after giving the result Problem title: Prolog stucks after giving the result Tags: prolog, failure-slice Problem: Prolog stucks after giving the result So I have this knowledge base and I am trying to achieve the goals in the code given as comments. %format of foo: foo(Tag,NumList) foo(a, [2, 4]). ...
Prolog stucks after giving the result Prolog stucks after giving the result prolog failure-slice it Prolog Tag NumList foo_sum SUM List foo_sum_helper Result Prev_result foo_diff Diff foo_diff_helper Last Total Also Foo_list Total_num goo_sum goo_diff goo_ordered NUMX NUMY NUMH HDIFF Prolog stucks after giving the resu...
[ 0.0107421875, 0.00182342529296875, 0.0169677734375, -0.010986328125, -0.01202392578125, 0.0050048828125, -0.0169677734375, 0.0185546875, 0.025634765625, 0.00118255615234375, 0.003082275390625, -0.0185546875, -0.004913330078125, -0.01031494140625, 0.01373291015625, -0.00323486328125, ...
[ 1250, 4867, 179933, 7, 7103, 68772, 16750, 70, 502, 137578, 13348, 442, 4837, 52782, 154663, 5775, 31, 11832, 127944, 32036, 73866, 126684, 74717, 2109, 7136, 152462, 191144, 21672, 33867, 9572, 6562, 2606, 738, 80596, 18057, 88939, 73543, 10...
[ 0.169921875, 0.26513671875, 0.223388671875, 0.0745849609375, 0.1181640625, 0.11865234375, 0.1766357421875, 0.003082275390625, 0.1312255859375, 0.1590576171875, 0.077880859375, 0.0546875, 0.046600341796875, 0.10552978515625, 0.12255859375, 0.0340576171875, 0.13134765625, 0.154541015...
embed
51013571_c0
51013571
prolog
0
Title: Simple Prolog Hangman game error Problem title: Simple Prolog Hangman game error Tags: instantiation-error, prolog Problem: Simple Prolog Hangman game error I am trying to develop a simple hangman game as a homework for a subject in university. It is very simples but I am having trouble and I am unable to make i...
Simple Prolog Hangman game error Simple Prolog Hangman game error instantiation-error prolog Simple Prolog Hangman X-1 Letter Hit Miss You Loose Win ERROR Arguments _4366 _4372 _4398 _4400 new2.pl:7 Note Re-run _5378 _5384 _5410 _5412 Simple Prolog Hangman game error I am trying to develop a simple hangman game as a ho...
[ 0.0012054443359375, -0.003082275390625, 0.003265380859375, 0.01361083984375, 0.02001953125, 0.0223388671875, -0.002655029296875, 0.00982666015625, 0.01409912109375, -0.031005859375, 0.00616455078125, -0.007293701171875, 0.0205078125, 0.0301513671875, 0.032958984375, -0.0157470703125, ...
[ 60552, 1250, 4867, 43454, 669, 6712, 18499, 34648, 14, 188800, 502, 1193, 5759, 105451, 43482, 16771, 2583, 47564, 184, 17686, 151206, 24638, 112140, 617, 110144, 152719, 304, 151616, 10700, 3525, 5442, 2424, 966, 18622, 853, 16428, 1530, 315...
[ 0.1875, 0.1572265625, 0.2091064453125, 0.1910400390625, 0.16845703125, 0.168701171875, 0.16748046875, 0.05615234375, 0.029541015625, 0.1580810546875, 0.0926513671875, 0.087890625, 0.103271484375, 0.1650390625, 0.1353759765625, 0.1602783203125, 0.07794189453125, 0.132568359375, 0....
embed
47030436_c0
47030436
prolog
0
Title: CLP(B) weighted sat_count/3 in Prolog Problem title: CLP(B) weighted sat_count/3 in Prolog Tags: sat, clp, swi-prolog, clpb, prolog Problem: CLP(B) weighted sat_count/3 in Prolog For the CLP(B) library of SWI-Prolog, I want to implement a weighted version of sat_count/2 sat_count(Sat0, N) :- catch((parse_sat(Sat...
CLP(B) weighted sat_count/3 in Prolog CLP(B) weighted sat_count/3 in Prolog sat clp swi-prolog clpb prolog CLP sat_count Prolog Sat0 parse_sat Sat sat_bdd BDD sat_roots Roots roots_and _-BDD _-BDD1 term_variables put_visited Vs1 bdd_variables BDD1 universal_var Univs Exis BDD2 BDD3 variables_in_index_order IVs renumber...
[ 0.002716064453125, 0.01251220703125, 0.0050048828125, 0.0029144287109375, -0.01275634765625, 0.00445556640625, -0.01226806640625, -0.0052490234375, 0.0123291015625, -0.026123046875, -0.014404296875, -0.009521484375, 0.00823974609375, 0.01483154296875, 0.015625, -0.0093994140625, 0.01...
[ 313, 37352, 571, 57888, 297, 11736, 71013, 18113, 1250, 4867, 33139, 254, 2452, 3454, 275, 502, 20745, 2389, 366, 6489, 4028, 24057, 148920, 150948, 74855, 13579, 21690, 169697, 310, 32813, 1961, 18043, 5443, 363, 77336, 4711, 7610, 2606, 3...
[ 0.00885009765625, 0.224853515625, 0.1588134765625, 0.2235107421875, 0.08538818359375, 0.1607666015625, 0.1939697265625, 0.258544921875, 0.12939453125, 0.1837158203125, 0.030303955078125, 0.11083984375, 0.1048583984375, 0.07000732421875, 0.04412841796875, 0.0533447265625, 0.1146240234...
embed
69557094_c0
69557094
prolog
0
Title: Unknown procedure card/2 in knights and knaves puzzle Problem title: Unknown procedure card/2 in knights and knaves puzzle Tags: prolog, clpb Problem: Unknown procedure card/2 in knights and knaves puzzle I'm programming some knight and knaves puzzles using both sat/1 and a more natural language approach using t...
Unknown procedure card/2 in knights and knaves puzzle Unknown procedure card/2 in knights and knaves puzzle prolog clpb Unknown question3 Now question3_again Count Knights Unknown procedure card/2 in knights and knaves puzzle I'm programming some knight and knaves puzzles using both sat/1 and a more natural language ap...
[ 0.00592041015625, 0.00173187255859375, 0.01031494140625, 0.00665283203125, 0.000041484832763671875, 0.00176239013671875, -0.015380859375, 0.00115203857421875, 0.0096435546875, -0.0615234375, -0.015869140625, 0.0159912109375, -0.0027008056640625, 0.0233154296875, 0.004241943359375, -0.0...
[ 992, 69723, 50491, 20596, 12477, 472, 54350, 136, 76, 3132, 104192, 502, 4867, 9655, 363, 4729, 73, 108210, 114996, 7, 56037, 11736, 11583, 6083, 46876, 51515, 114122, 89261, 17378, 335, 98320, 68185, 138, 23356, 17262, 109261, 43512, 111, ...
[ 0.049652099609375, 0.1939697265625, 0.1845703125, 0.18408203125, 0.190185546875, 0.06390380859375, 0.207275390625, 0.08599853515625, 0.124755859375, 0.1298828125, 0.1546630859375, 0.11328125, 0.1622314453125, 0.109130859375, 0.10107421875, 0.0325927734375, 0.0296630859375, 0.137084...
embed
9937315_c0
9937315
prolog
0
Title: Solve Cannibals/Missionaries using breadth-first search (BFS) in Prolog? Problem title: Solve Cannibals/Missionaries using breadth-first search (BFS) in Prolog? Tags: breadth-first-search, prolog, river-crossing-puzzle Problem: Solve Cannibals/Missionaries using breadth-first search (BFS) in Prolog? I am working...
Solve Cannibals/Missionaries using breadth-first search (BFS) in Prolog? Solve Cannibals/Missionaries using breadth-first search (BFS) in Prolog? breadth-first-search prolog river-crossing-puzzle breadth-first Solve Cannibals Missionaries BFS Prolog solve2 Solution Visisted RestPaths Moves Visited Description NewPaths ...
[ 0.0084228515625, 0.0084228515625, 0.01416015625, 0.033203125, -0.025634765625, 0.016357421875, -0.0206298828125, -0.00872802734375, -0.006103515625, -0.0167236328125, 0.0142822265625, -0.0174560546875, 0.010009765625, 0.00604248046875, -0.001708984375, -0.024658203125, -0.01318359375...
[ 6678, 272, 4171, 93, 3571, 64, 135261, 32789, 10484, 17368, 179967, 927, 13448, 271, 33938, 571, 36381, 23, 1250, 4867, 86250, 502, 96113, 95665, 1766, 13894, 77905, 11, 335, 86869, 304, 187895, 28896, 49756, 683, 10519, 135828, 98684, 7064...
[ 0.1605224609375, 0.0574951171875, 0.09332275390625, 0.1737060546875, 0.2200927734375, 0.04656982421875, 0.14013671875, 0.149169921875, 0.1168212890625, 0.05670166015625, 0.1766357421875, 0.095947265625, 0.126953125, 0.044921875, 0.2261962890625, 0.096435546875, 0.265869140625, 0.02...
embed
67286303_c0
67286303
prolog
0
Title: Prolog Eliza implementation - Loops and Recursion Problem title: Prolog Eliza implementation - Loops and Recursion Tags: prolog, recursion, loops Problem: Prolog Eliza implementation - Loops and Recursion can someone explain to me why this code won't work right? It is stuck in a loop of saying false. I am not qu...
Prolog Eliza implementation - Loops and Recursion Prolog Eliza implementation - Loops and Recursion prolog recursion loops Prolog Eliza Loops Recursion Ready Hello eliza_loop Input Term Goodbye Name Pleased Thing Animal You Tell Term2 list_of_excuses Next Rest NewExcuseList Prolog Eliza implementation - Loops and Recur...
[ -0.01092529296875, 0.0125732421875, 0.0004673004150390625, 0.02294921875, 0.0162353515625, 0.0223388671875, 0.0084228515625, 0.0022735595703125, 0.0181884765625, -0.00970458984375, 0.0196533203125, 0.01312255859375, -0.021728515625, 0.0184326171875, 0.04443359375, -0.000091075897216796...
[ 1250, 4867, 126443, 208124, 199694, 136, 165428, 42, 502, 195625, 1830, 40956, 6889, 4764, 35378, 88, 7337, 28354, 360, 7077, 2994, 18621, 1272, 15757, 30607, 71, 6003, 214, 82821, 2583, 59488, 39, 304, 5303, 4390, 3355, 11680, 4997, 49756,...
[ 0.14208984375, 0.2109375, 0.263427734375, 0.15625, 0.1927490234375, 0.07080078125, 0.1136474609375, 0.1383056640625, 0.09588623046875, 0.156982421875, 0.020538330078125, 0.21826171875, 0.0767822265625, 0.1048583984375, 0.1168212890625, 0.08612060546875, 0.1669921875, 0.2021484375, ...
embed
4929494_c0
4929494
prolog
0
Title: sign propagation algorithm in prolog Problem title: sign propagation algorithm in prolog Tags: prolog, algorithm Problem: sign propagation algorithm in prolog i'm new in prolog. i've learn about Qualitative probabilistic networks (QPN) for probabilistic reasoning. A QPN is graphical model of probabilistic influe...
sign propagation algorithm in prolog sign propagation algorithm in prolog prolog algorithm PropagateObservation Observed PropagateSign sign propagation algorithm in prolog i'm new in prolog. i've learn about Qualitative probabilistic networks (QPN) for probabilistic reasoning. A QPN is graphical model of probabilistic ...
[ 0.0286865234375, 0.0111083984375, 0.010986328125, 0.029052734375, -0.04541015625, 0.023193359375, -0.0003376007080078125, 0.01287841796875, -0.00616455078125, -0.02294921875, 0.000629425048828125, -0.032470703125, -0.00421142578125, -0.003082275390625, -0.000576019287109375, 0.01928710...
[ 24092, 103807, 2320, 234873, 23, 502, 4867, 43796, 4729, 67, 46471, 65756, 3545, 86687, 218723, 3525, 30698, 130221, 102, 4935, 37242, 48242, 33120, 2737, 34440, 31635, 2396, 6, 48461, 289, 3299, 79507, 7, 10, 111, 80835, 77336, 4, 12638, ...
[ 0.259521484375, 0.270751953125, 0.06622314453125, 0.2666015625, 0.05712890625, 0.1483154296875, 0.22705078125, 0.195556640625, 0.1822509765625, 0.1156005859375, 0.1143798828125, 0.1600341796875, 0.072021484375, 0.1534423828125, 0.231201171875, 0.031646728515625, 0.0144500732421875, ...
embed
41190399_c0
41190399
prolog
0
Title: How can I test a non-deterministic predicate in any order with PL-Unit? Problem title: How can I test a non-deterministic predicate in any order with PL-Unit? Tags: unit-testing, prolog Problem: How can I test a non-deterministic predicate in any order with PL-Unit? I want to unit test a non-deterministic predic...
How can I test a non-deterministic predicate in any order with PL-Unit? How can I test a non-deterministic predicate in any order with PL-Unit? unit-testing prolog How PL-Unit PASSES FAILS How can I test a non-deterministic predicate in any order with PL-Unit? I want to unit test a non-deterministic predicate in Prolog...
[ 0.00494384765625, 0.01055908203125, 0.0308837890625, -0.018310546875, -0.01129150390625, 0.00168609619140625, 0.007781982421875, -0.01129150390625, 0.0166015625, 0.0003986358642578125, 0.01043701171875, 0.028076171875, 0.0021820068359375, 0.0004444122314453125, -0.0035247802734375, 0.0...
[ 11249, 831, 3034, 351, 112, 30524, 48242, 1653, 2063, 67, 2499, 12989, 678, 33106, 9, 85600, 18, 25072, 6954, 502, 4867, 8436, 65596, 15491, 16444, 87, 1250, 33657, 51347, 40140, 109921, 4734, 12638, 29806, 58735, 159, 38969, 10752, 23009, ...
[ 0.058868408203125, 0.06597900390625, 0.2445068359375, 0.188720703125, 0.0777587890625, 0.1712646484375, 0.1143798828125, 0.1690673828125, 0.1983642578125, 0.0731201171875, 0.09619140625, 0.194580078125, 0.087890625, 0.1895751953125, 0.07958984375, 0.1845703125, 0.0789794921875, 0.1...
embed
18757554_c0
18757554
prolog
0
Title: Adding a predicate based on the relationship between people Problem title: Adding a predicate based on the relationship between people Tags: prolog Problem: Adding a predicate based on the relationship between people Add the predicate related(X,Y) such that x is related to y if x and y have any ancestor in commo...
Adding a predicate based on the relationship between people Adding a predicate based on the relationship between people prolog Adding File FAMILY.PL Part Prolog charles_gordon Adding a predicate based on the relationship between people Add the predicate related(X,Y) such that x is related to y if x and y have any ances...
[ -0.000667572021484375, 0.01123046875, 0.0037841796875, 0.0224609375, -0.033203125, -0.0048828125, 0.003997802734375, 0.000431060791015625, -0.0037078857421875, -0.0498046875, 0.012939453125, -0.0024566650390625, -0.0194091796875, -0.00213623046875, 0.0018463134765625, 0.013916015625, ...
[ 62, 59725, 1653, 2063, 67, 35509, 98, 76755, 17721, 3395, 502, 4867, 42724, 563, 47180, 21130, 16995, 1250, 6504, 4445, 29117, 62548, 1542, 4, 1723, 1022, 113, 2174, 60502, 1290, 39210, 1284, 959, 5701, 3445, 5368, 18244, 15190, 47, 5, ...
[ 0.10333251953125, 0.1207275390625, 0.210205078125, 0.2215576171875, 0.1202392578125, 0.1695556640625, 0.0506591796875, 0.208251953125, 0.1639404296875, 0.1407470703125, 0.1201171875, 0.1597900390625, 0.12060546875, 0.017181396484375, 0.096435546875, 0.1959228515625, 0.0758056640625, ...
embed
7668956_c0
7668956
prolog
0
Title: Arithmetic and clojure functions on core.logic lvars Problem title: Arithmetic and clojure functions on core.logic lvars Tags: prolog, logic, clojure Problem: Arithmetic and clojure functions on core.logic lvars Two related questions in one: Can Clojure's core.logic module perform arithmetic, logical comparison,...
Arithmetic and clojure functions on core.logic lvars Arithmetic and clojure functions on core.logic lvars prolog logic clojure Arithmetic core.logic LVar Result Arithmetic and clojure functions on core.logic lvars Two related questions in one: Can Clojure's core.logic module perform arithmetic, logical comparison, etc,...
[ -0.0079345703125, 0.0087890625, 0.0029144287109375, 0.01953125, -0.00151824951171875, -0.0023040771484375, -0.00323486328125, -0.0029754638671875, -0.002105712890625, -0.034423828125, 0.00823974609375, 0.01446533203125, -0.0111083984375, -0.0167236328125, 0.0140380859375, -0.0079956054...
[ 8962, 282, 9523, 136, 20450, 461, 107, 32354, 56458, 137043, 1961, 98, 502, 4867, 62775, 46233, 147, 126684, 17582, 4171, 51053, 88996, 51339, 187, 225490, 1884, 1250, 25826, 27781, 2725, 16093, 113, 81887, 128239, 8096, 47, 22183, 43240, 2...
[ 0.1517333984375, 0.1146240234375, 0.082275390625, 0.04144287109375, 0.1436767578125, 0.1878662109375, 0.1595458984375, 0.1751708984375, 0.1685791015625, 0.2060546875, 0.1656494140625, 0.00433349609375, 0.1224365234375, 0.198974609375, 0.177978515625, 0.046722412109375, 0.11767578125,...
embed
69996190_c0
69996190
prolog
0
Title: prolog returns value twice Problem title: prolog returns value twice Tags: prolog Problem: prolog returns value twice I am just learning prolog and I ran into the problem where I get the same answer twice when asking for niece and nephew. I just cannot wrap my head around it. Does anyone know what I am doing wro...
prolog returns value twice prolog returns value twice prolog parent_of father_of mother_of sister_of brother_of niece_of nephew_of prolog returns value twice I am just learning prolog and I ran into the problem where I get the same answer twice when asking for niece and nephew. I just cannot wrap my head around it. Doe...
[ 0.01361083984375, -0.0035858154296875, 0.00567626953125, 0.00823974609375, -0.01177978515625, 0.004547119140625, -0.007110595703125, -0.003997802734375, -0.007354736328125, -0.055908203125, -0.00433349609375, -0.0086669921875, 0.00180816650390625, 0.0011749267578125, 0.0281982421875, 0...
[ 502, 4867, 30646, 34292, 186351, 7, 49129, 4390, 67373, 42732, 114015, 82953, 269, 329, 53297, 145204, 52080, 2967, 2046, 5701, 35166, 113292, 100, 136, 53418, 137565, 10336, 3714, 20594, 44691, 6626, 91736, 12638, 193429, 43240, 18151, 79986, ...
[ 0.1531982421875, 0.21435546875, 0.1910400390625, 0.2044677734375, 0.233642578125, 0.015899658203125, 0.174072265625, 0.055908203125, 0.1087646484375, 0.060302734375, 0.1055908203125, 0.1026611328125, 0.128662109375, 0.118896484375, 0.112060546875, 0.1846923828125, 0.0226593017578125,...
embed
55910839_c0
55910839
prolog
0
Title: Prolog uncaught exception: error(existence_error(procedure,a/0),top_level/0) Problem title: Prolog uncaught exception: error(existence_error(procedure,a/0),top_level/0) Tags: prolog Problem: Prolog uncaught exception: error(existence_error(procedure,a/0),top_level/0) I'm working on a program in Prolog that is li...
Prolog uncaught exception: error(existence_error(procedure,a/0),top_level/0) Prolog uncaught exception: error(existence_error(procedure,a/0),top_level/0) prolog missing Prolog existence_error top_level Taylor Loslo Program Krusty Krab Training start_state next_state display_intro WELCOME Congratulations FRY COOK Lets s...
[ 0.00604248046875, 0.0208740234375, -0.01300048828125, 0.0035247802734375, 0.00186920166015625, 0.02197265625, -0.000732421875, -0.00006723403930664062, 0.0011749267578125, -0.01190185546875, 0.0111083984375, -0.00762939453125, -0.00157928466796875, 0.00421142578125, 0.0238037109375, -0...
[ 1250, 4867, 51, 408, 46526, 131527, 18499, 116311, 188800, 232578, 11, 107838, 13784, 67919, 502, 132283, 2663, 63569, 3731, 365, 7663, 28160, 8946, 189079, 44284, 4034, 61340, 11737, 44116, 143669, 26943, 71867, 34388, 8244, 9092, 4343, 146104...
[ 0.1826171875, 0.27490234375, 0.09307861328125, 0.1448974609375, 0.060791015625, 0.2017822265625, 0.19873046875, 0.212890625, 0.2320556640625, 0.167236328125, 0.084716796875, 0.2098388671875, 0.1400146484375, 0.1668701171875, 0.141357421875, 0.132080078125, 0.062103271484375, 0.1556...
embed
8047923_c0
8047923
prolog
0
Title: Do you really need to convert Truths to values in Prolog? Problem title: Do you really need to convert Truths to values in Prolog? Tags: prolog Problem: Do you really need to convert Truths to values in Prolog? I wrote a bubble sort in Prolog (code below). It works but it smells. I'm quite new to prolog. Here's ...
Do you really need to convert Truths to values in Prolog? Do you really need to convert Truths to values in Prolog? prolog Truths Prolog Problem sorted_value Bubble Sort Head First Second Rest bubble_sort_list One Solution Two Repeatedly bubble_sort bubble_sort_helper List SortedList Value buuble_sort Do you really nee...
[ 0.01611328125, 0.01422119140625, 0.0283203125, -0.01025390625, -0.028076171875, 0.01171875, -0.002899169921875, -0.020751953125, 0.0091552734375, 0.0185546875, -0.003662109375, 0.0264892578125, -0.0181884765625, -0.002593994140625, 0.0128173828125, -0.0098876953125, 0.023681640625, ...
[ 6183, 3871, 96760, 184431, 7, 47, 142424, 1250, 4867, 502, 15649, 17497, 71, 27494, 667, 73163, 53666, 44816, 23972, 77648, 49756, 373, 62351, 6562, 6561, 187895, 32964, 33742, 73866, 32036, 154663, 190060, 34, 2661, 23, 54397, 12096, 40899, ...
[ 0.0972900390625, 0.1466064453125, 0.1739501953125, 0.236572265625, 0.162841796875, 0.115478515625, 0.2327880859375, 0.1641845703125, 0.2275390625, 0.0906982421875, 0.1229248046875, 0.1597900390625, 0.01123046875, 0.170654296875, 0.03350830078125, 0.1796875, 0.1790771484375, 0.13452...
embed
34227140_c0
34227140
prolog
0
Title: Prolog: how does variable instantiating work, what is the scope of local variables Problem title: Prolog: how does variable instantiating work, what is the scope of local variables Tags: prolog Problem: Prolog: how does variable instantiating work, what is the scope of local variables i'm new to prolog programin...
Prolog: how does variable instantiating work, what is the scope of local variables Prolog: how does variable instantiating work, what is the scope of local variables prolog Prolog read_integer Not B-4 B-sqrt Delta ERROR Arguments Prolog: how does variable instantiating work, what is the scope of local variables i'm new...
[ 0.008056640625, 0.0096435546875, -0.00579833984375, 0.00909423828125, 0.00494384765625, 0.0023345947265625, 0.00074005126953125, -0.00445556640625, 0.00168609619140625, -0.0194091796875, 0.0166015625, -0.00787353515625, -0.01141357421875, -0.0107421875, 0.0267333984375, -0.010559082031...
[ 1250, 4867, 3642, 14602, 77336, 34648, 14, 26518, 4488, 70820, 4000, 502, 12301, 6191, 11205, 335, 11565, 864, 3198, 56588, 151206, 112140, 3525, 1528, 5117, 66211, 68587, 9523, 5490, 2320, 29806, 32843, 107730, 6056, 11389, 959, 28219, 12768...
[ 0.1705322265625, 0.2413330078125, 0.0782470703125, 0.053009033203125, 0.257568359375, 0.1768798828125, 0.1771240234375, 0.11767578125, 0.14306640625, 0.18017578125, 0.142822265625, 0.1331787109375, 0.1134033203125, 0.0733642578125, 0.01129150390625, 0.006072998046875, 0.0918579101562...
embed
4603846_c0
4603846
prolog
0
Title: Prolog: Simple program outputting solutions Problem title: Prolog: Simple program outputting solutions Tags: prolog Problem: Prolog: Simple program outputting solutions I've got a predicate taking a single argument. When there is a solution, this single argument should equal some other argument I have (I have a ...
Prolog: Simple program outputting solutions Prolog: Simple program outputting solutions prolog Prolog Simple Eulers Count Inter InterNew CountNew Euclidian Prolog: Simple program outputting solutions I've got a predicate taking a single argument. When there is a solution, this single argument should equal some other ar...
[ 0.005126953125, 0.0118408203125, 0.0013275146484375, 0.00421142578125, -0.005828857421875, 0.0255126953125, 0.0078125, -0.00162506103515625, 0.006561279296875, -0.05224609375, 0.00213623046875, -0.00628662109375, -0.002593994140625, 0.0018463134765625, 0.0185546875, 0.0135498046875, ...
[ 1250, 4867, 60552, 1528, 140992, 51347, 502, 5177, 603, 108210, 5337, 46568, 150, 27201, 4163, 1653, 2063, 67, 35971, 11001, 10750, 14847, 29806, 5608, 105950, 3789, 765, 60899, 1295, 1632, 47, 17262, 831, 28412, 72546, 1957, 234873, 43240, ...
[ 0.1591796875, 0.2237548828125, 0.1624755859375, 0.1534423828125, 0.1348876953125, 0.1329345703125, 0.0799560546875, 0.10528564453125, 0.1663818359375, 0.1453857421875, 0.069580078125, 0.1505126953125, 0.050048828125, 0.0865478515625, 0.0308990478515625, 0.173095703125, 0.196655273437...
embed
52027132_c0
52027132
prolog
0
Title: Defining a type hierarchy including function types in Prolog Problem title: Defining a type hierarchy including function types in Prolog Tags: prolog, types, swi-prolog-for-sharing Problem: Defining a type hierarchy including function types in Prolog I'm revisiting Prolog after studying it in college, and would ...
Defining a type hierarchy including function types in Prolog Defining a type hierarchy including function types in Prolog prolog types swi-prolog-for-sharing X Defining Prolog uint16 uint32 uint64 int8 int16 int32 int64 IntTypes ArgsTypeList ResultType Functions Args Stack Defining a type hierarchy including function t...
[ 0.016357421875, 0.020751953125, 0.009033203125, 0.004974365234375, -0.0269775390625, -0.028076171875, -0.01324462890625, 0.0024261474609375, 0.004119873046875, -0.0205078125, 0.00860595703125, 0.000652313232421875, -0.0186767578125, 0.0072021484375, 0.0218505859375, 0.0101318359375, ...
[ 88606, 10644, 1791, 147, 7668, 26719, 32354, 52895, 1250, 4867, 502, 91, 2452, 3454, 2472, 2420, 1193, 4288, 2485, 6460, 13307, 196707, 1172, 9405, 154663, 126684, 28670, 6512, 2594, 40466, 98363, 96853, 61595, 79909, 3126, 1528, 49814, 25632...
[ 0.15966796875, 0.2279052734375, 0.1446533203125, 0.1282958984375, 0.1171875, 0.0479736328125, 0.1851806640625, 0.2313232421875, 0.139404296875, 0.2432861328125, 0.099609375, 0.00347900390625, 0.152099609375, 0.1181640625, 0.03228759765625, 0.113037109375, 0.07879638671875, 0.065307...
embed
44497172_c0
44497172
prolog
0
Title: Opening and checking a Pem file in SWI-Prolog Problem title: Opening and checking a Pem file in SWI-Prolog Tags: swi-prolog, ssl, prolog, pem Problem: Opening and checking a Pem file in SWI-Prolog How do I open a Pem file to check a) That the 'Not before' and 'Not after' dates are okay and b) That there is a cha...
Opening and checking a Pem file in SWI-Prolog Opening and checking a Pem file in SWI-Prolog swi-prolog ssl prolog pem Opening Pem SWI-Prolog use_module http_client fm4dd.com rsa-example-cert.pem url_data Url http_get url_data1 Certificate Stream load_certificate Certs http_open all_certs my_validate _Stream to_be_signe...
[ 0.01153564453125, 0.0024871826171875, 0.013916015625, 0.0257568359375, -0.0050048828125, -0.0098876953125, 0.0018463134765625, 0.0084228515625, 0.0021820068359375, -0.04052734375, 0.01220703125, -0.019287109375, 0.0125732421875, -0.0201416015625, -0.00738525390625, -0.01708984375, 0....
[ 13527, 136, 175199, 24199, 11435, 23, 159, 38969, 10752, 4867, 91, 2452, 3454, 24861, 502, 32490, 4527, 83279, 1621, 222978, 617, 4028, 24666, 3355, 11, 33209, 84563, 72508, 25002, 10135, 4143, 418, 83991, 115061, 72367, 3443, 61093, 8759, ...
[ 0.161865234375, 0.03729248046875, 0.215576171875, 0.270263671875, 0.2117919921875, 0.0249786376953125, 0.073486328125, 0.2237548828125, 0.135498046875, 0.1810302734375, 0.00054931640625, 0.1871337890625, 0.122802734375, 0.1536865234375, 0.130126953125, 0.2340087890625, 0.014526367187...
embed
59700543_c0
59700543
prolog
0
Title: Prolog- what causes the out of local stack error in this case? Problem title: Prolog- what causes the out of local stack error in this case? Tags: prolog Problem: Prolog- what causes the out of local stack error in this case? I have a very simple program where a relation is defined between an AVL tree and a list...
Prolog- what causes the out of local stack error in this case? Prolog- what causes the out of local stack error in this case? prolog Prolog use_module Stuff X-Y Checking is_tree Tree Left Right Computing tree_height Height AVL is_avl_tree is_avl_tree_help Define List tree_elements_help tree_elements avl_tree_planter Pr...
[ 0.01116943359375, 0.01434326171875, -0.00830078125, 0.00897216796875, -0.004425048828125, 0.007415771484375, -0.031494140625, 0.010986328125, 0.0023345947265625, -0.051513671875, 0.0242919921875, -0.0211181640625, 0.0169677734375, 0.001922607421875, 0.0341796875, 0.000423431396484375, ...
[ 1250, 4867, 2367, 113660, 1810, 111, 4000, 177261, 18499, 7225, 502, 4527, 83279, 2907, 21493, 1723, 38679, 62600, 101344, 2480, 90911, 159415, 53201, 1106, 92414, 50132, 73866, 64552, 32036, 62766, 185, 141, 48538, 8781, 1528, 41911, 61924, ...
[ 0.13623046875, 0.2294921875, 0.0321044921875, 0.11865234375, 0.158935546875, 0.116455078125, 0.1607666015625, 0.2086181640625, 0.2037353515625, 0.0248565673828125, 0.07708740234375, 0.006500244140625, 0.06072998046875, 0.02886962890625, 0.08905029296875, 0.0567626953125, 0.0446166992...
embed
69088693_c0
69088693
prolog
0
Title: PROLOG exercise with constraints Problem title: PROLOG exercise with constraints Tags: clpfd, constraints, prolog Problem: PROLOG exercise with constraints I was doing this prolog exercise with constraints where each of the subfunctions that i did seems to work correctly but when i run the whole program it doesn...
PROLOG exercise with constraints PROLOG exercise with constraints clpfd constraints prolog PROLOG Number Sequence Cost Price Length XTimes List NewList NewLength Length-XTimes TotalCost NewCost TotalCost-Cost PROLOG exercise with constraints I was doing this prolog exercise with constraints where each of the subfunctio...
[ 0.01226806640625, 0.00921630859375, -0.005859375, 0.009521484375, 0.00848388671875, -0.005828857421875, -0.0196533203125, 0.025390625, 0.003997802734375, -0.043701171875, -0.017333984375, 0.010986328125, -0.02734375, 0.017822265625, 0.0174560546875, 0.004669189453125, 0.0011062622070...
[ 10514, 47510, 81979, 678, 158, 2816, 4288, 39557, 71, 502, 4867, 103332, 503, 944, 3956, 63099, 48025, 77554, 1193, 70059, 32036, 2356, 154663, 449, 1542, 33867, 441, 5510, 9, 1614, 137175, 37202, 4488, 26785, 3229, 17, 11675, 28271, 1528, ...
[ 0.18212890625, 0.241455078125, 0.17919921875, 0.0772705078125, 0.096435546875, 0.1910400390625, 0.1513671875, 0.033416748046875, 0.06475830078125, 0.1695556640625, 0.2237548828125, 0.15673828125, 0.0867919921875, 0.16650390625, 0.12109375, 0.1982421875, 0.177490234375, 0.0707397460...
embed
27820816_c0
27820816
prolog
0
Title: Comparing elements/arguments of facts in KB against each other in Prolog? Problem title: Comparing elements/arguments of facts in KB against each other in Prolog? Tags: prolog, logic Problem: Comparing elements/arguments of facts in KB against each other in Prolog? This is the knowledge base that is being used. ...
Comparing elements/arguments of facts in KB against each other in Prolog? Comparing elements/arguments of facts in KB against each other in Prolog? prolog logic Comparing Prolog AHorowitz Stolen Gods Scorpia Rising Night Visitors Stormbreaker Matador Eagle Strike AJohnston RMuchamore Basic Training Recruit MHaddon Curi...
[ 0.02880859375, 0.01953125, 0.01031494140625, -0.004669189453125, -0.004852294921875, 0.0067138671875, -0.008056640625, -0.00061798095703125, 0.00714111328125, -0.01251220703125, 0.0032806396484375, 0.00689697265625, -0.0034942626953125, -0.013427734375, 0.023193359375, -0.0181884765625...
[ 113307, 80854, 155937, 111, 15824, 7, 23, 30742, 26548, 12638, 3789, 1250, 4867, 214, 502, 62775, 12393, 147595, 73281, 33, 3430, 86590, 399, 24116, 36151, 28896, 115885, 70751, 17466, 1846, 144422, 141040, 62, 98385, 19386, 12174, 12665, 868...
[ 0.187255859375, 0.152587890625, 0.217529296875, 0.0028076171875, 0.174072265625, 0.01287841796875, 0.04241943359375, 0.2607421875, 0.162353515625, 0.030059814453125, 0.1090087890625, 0.19189453125, 0.273193359375, 0.0205078125, 0.1285400390625, 0.1495361328125, 0.1243896484375, 0.2...
embed
57021984_c0
57021984
prolog
0
Title: Prolog List elementwise similarity comparison Problem title: Prolog List elementwise similarity comparison Tags: trie, prolog, tree Problem: Prolog List elementwise similarity comparison I stumbled uppon this question . The problem was to find how many equal ending digits exist between numbers of the two lists. ...
Prolog List elementwise similarity comparison Prolog List elementwise similarity comparison trie prolog tree Prolog List same_endings Endings build_tree Tree same_ending N-Len atom_chars Digs RDigs same_ending1 Len Dig Len2 Dig-SubTree Len1 SubTree add_tree NTree add_tree1 Dig-SubTree1 Tree1 SubTree-Tree1 SubTree1 Prol...
[ 0.00933837890625, 0.0159912109375, -0.020263671875, -0.0242919921875, -0.01531982421875, 0.002655029296875, -0.0172119140625, 0.01202392578125, 0.020751953125, -0.03564453125, 0.0086669921875, 0.0277099609375, 0.0186767578125, 0.01458740234375, 0.010986328125, 0.00005412101745605469, ...
[ 1250, 4867, 32036, 12830, 90825, 21373, 225490, 2481, 1927, 13, 502, 53201, 5701, 3611, 5180, 18878, 45367, 62600, 101344, 33, 541, 866, 34627, 9254, 49688, 872, 6238, 18226, 96472, 62731, 8273, 15190, 107, 2967, 7413, 3642, 5941, 105950, 8...
[ 0.1630859375, 0.2227783203125, 0.1551513671875, 0.1376953125, 0.1234130859375, 0.1702880859375, 0.17431640625, 0.07763671875, 0.1829833984375, 0.0936279296875, 0.137451171875, 0.1793212890625, 0.110107421875, 0.0928955078125, 0.04443359375, 0.113525390625, 0.1134033203125, 0.193237...
embed
7979517_c0
7979517
prolog
0
Title: Minimax implement in &quot;Prolog Programming for Artificial Intelligence&quot; - what are min_to_move/1 and max_to_move/1? Problem title: Minimax implement in &quot;Prolog Programming for Artificial Intelligence&quot; - what are min_to_move/1 and max_to_move/1? Tags: minimax, prolog, artificial-intelligence Pro...
Minimax implement in &quot;Prolog Programming for Artificial Intelligence&quot; - what are min_to_move/1 and max_to_move/1? Minimax implement in &quot;Prolog Programming for Artificial Intelligence&quot; - what are min_to_move/1 and max_to_move/1? minimax prolog artificial-intelligence Minimax Prolog Programming Artifi...
[ 0.007354736328125, -0.006683349609375, 0.033935546875, 0.033447265625, -0.0078125, 0.027587890625, 0.0096435546875, 0.0081787109375, 0.00634765625, -0.004425048828125, -0.0120849609375, 0.0128173828125, -0.00885009765625, -0.0089111328125, 0.01708984375, -0.01177978515625, -0.0134887...
[ 13468, 24084, 29479, 10752, 4867, 27958, 214, 100, 231996, 157075, 2367, 621, 881, 188, 432, 272, 11583, 136, 18389, 83818, 425, 502, 66733, 130687, 1250, 13498, 11345, 14168, 10060, 4769, 154663, 51825, 7192, 42272, 69048, 85378, 144681, 194...
[ 0.2144775390625, 0.24853515625, 0.185546875, 0.1099853515625, 0.2015380859375, 0.1494140625, 0.016510009765625, 0.03509521484375, 0.117431640625, 0.116455078125, 0.0265960693359375, 0.041046142578125, 0.228759765625, 0.1619873046875, 0.1448974609375, 0.0736083984375, 0.1683349609375,...
embed
67513621_c0
67513621
prolog
0
Title: Using maplist/2,3,4 Problem title: Using maplist/2,3,4 Tags: prolog Problem: Using maplist/2,3,4 I'm doing a Prolog project for uni that's based on the Kakuro game. I'm having trouble with the predicate spaces_puzzle/2 that does the following: Receives the Puzzle in the form of a list of lists that represents ea...
Using maplist/2,3,4 Using maplist/2,3,4 prolog Using spaces_puzzle sum_vertical sum_horizontal P11 P12 P13 P14 P21 P22 P23 P24 P31 P32 P33 P34 P35 spaces_in_file H_V File Spaces Puzzle Using maplist/2,3,4 I'm doing a Prolog project for uni that's based on the Kakuro game. I'm having trouble with the predicate spaces_pu...
[ -0.0045166015625, -0.011962890625, -0.00118255615234375, 0.006072998046875, -0.04833984375, 0.0108642578125, 0.00113677978515625, 0.00110626220703125, 0.005584716796875, -0.0037689208984375, 0.0125732421875, 0.003204345703125, -0.0113525390625, 0.003082275390625, -0.01171875, 0.0260009...
[ 345, 6953, 22288, 6562, 12477, 4, 82449, 502, 4867, 32628, 7, 1766, 13894, 133, 10554, 814, 70760, 156634, 1803, 436, 1662, 1530, 2681, 2592, 3117, 4015, 3742, 2357, 5016, 6460, 9185, 10289, 5843, 73, 29822, 572, 454, 856, 42724, 43045, ...
[ 0.084228515625, 0.02410888671875, 0.173583984375, 0.216552734375, 0.2060546875, 0.0186614990234375, 0.2086181640625, 0.12158203125, 0.1885986328125, 0.2122802734375, 0.0694580078125, 0.125244140625, 0.1331787109375, 0.101318359375, 0.1483154296875, 0.0750732421875, 0.060791015625, ...
embed
71794232_c0
71794232
prolog
0
Title: Am I using prolog the right way? Problem title: Am I using prolog the right way? Tags: n-queens, prolog Problem: Am I using prolog the right way? Our professor gave us the following excercise: create a prolog program using a genetic algorithm to solve the N-Queen problem (but N=4). My program works and solves th...
Am I using prolog the right way? Am I using prolog the right way? n-queens prolog prolog use_module You genetic_four_queens Note Result Population Scores min_list Min sum_list Tot proper_length Len Survivors Cross Reproduction Mutants list_to_set NewPopulation nth1 Solution QList List Res Tail try_crossing Crossings Q_...
[ -0.00168609619140625, 0.00970458984375, 0.019287109375, -0.0057373046875, -0.014404296875, 0.00634765625, -0.013671875, -0.0098876953125, 0.00634765625, -0.068359375, 0.0185546875, 0.006011962890625, -0.01519775390625, -0.0262451171875, -0.0023956298828125, -0.03173828125, -0.0152587...
[ 2022, 87, 17368, 502, 4867, 7108, 3917, 653, 944, 1755, 4527, 83279, 101412, 160018, 18622, 126684, 157890, 168071, 881, 6562, 4211, 10554, 13715, 27798, 23986, 18226, 187502, 47832, 176730, 42015, 10840, 5303, 3509, 2356, 127642, 72403, 927, ...
[ 0.05615234375, 0.012847900390625, 0.1239013671875, 0.179931640625, 0.265869140625, 0.1241455078125, 0.08221435546875, 0.10205078125, 0.1722412109375, 0.1168212890625, 0.1068115234375, 0.1236572265625, 0.195068359375, 0.18359375, 0.1448974609375, 0.148193359375, 0.11865234375, 0.118...
embed
13585843_c0
13585843
prolog
0
Title: Error using string_to_atom: Arguments are not sufficiently instantiated Problem title: Error using string_to_atom: Arguments are not sufficiently instantiated Tags: instantiation-error, prolog, dcg Problem: Error using string_to_atom: Arguments are not sufficiently instantiated I'm working on a URI parser in Pro...
Error using string_to_atom: Arguments are not sufficiently instantiated Error using string_to_atom: Arguments are not sufficiently instantiated instantiation-error prolog dcg string_to_atom Error Arguments Scheme Userinfo Host Port Path Query Fragment parsed_uri UriInput _G1205 Error using string_to_atom: Arguments are...
[ 0.008056640625, 0.01177978515625, 0.00133514404296875, 0.03515625, -0.0093994140625, 0.0069580078125, 0.00213623046875, -0.02099609375, -0.0011138916015625, -0.038818359375, 0.025146484375, -0.030029296875, -0.0040283203125, -0.00384521484375, 0.01324462890625, -0.00604248046875, 0.0...
[ 212059, 17368, 79315, 188, 5928, 112140, 7, 621, 959, 129980, 538, 34648, 14, 27686, 188800, 502, 4867, 177, 11, 34702, 53400, 7319, 100932, 13791, 108421, 58836, 235871, 366, 1162, 130885, 1530, 8194, 20697, 46492, 2189, 1250, 179933, 8781, ...
[ 0.16259765625, 0.099609375, 0.2412109375, 0.1676025390625, 0.2110595703125, 0.278564453125, 0.10546875, 0.039154052734375, 0.1317138671875, 0.2066650390625, 0.06817626953125, 0.147216796875, 0.1153564453125, 0.06494140625, 0.1561279296875, 0.0997314453125, 0.209228515625, 0.0615539...
embed
61585243_c0
61585243
prolog
0
Title: Finding a route using Best First Search Problem title: Finding a route using Best First Search Tags: prolog Problem: Finding a route using Best First Search I have to do some work in Prolog which I am not very familiar with. I need to find path from one station to another station for London Underground with trav...
Finding a route using Best First Search Finding a route using Best First Search prolog Best Finding First Search green_park bond_street baker_street charing_cross leicester_square tottenham_court_road goodge_street warren_street piccadilly_circus oxford_circus regents_park Start Goal empty_set Closed_set empty_pq Open ...
[ 0.0164794921875, -0.0125732421875, 0.00885009765625, 0.015625, 0.0022735595703125, -0.0137939453125, 0, -0.025390625, 0.004730224609375, -0.055419921875, 0.0135498046875, 0.0240478515625, -0.004150390625, 0.000335693359375, 0.01611328125, -0.00188446044921875, -0.002227783203125, 0...
[ 26040, 214, 10, 36439, 17368, 11345, 23972, 33086, 502, 4867, 50997, 10237, 71052, 5967, 3472, 56, 21441, 95665, 2980, 1515, 108047, 1186, 510, 3915, 118383, 52562, 4127, 429, 982, 25426, 114833, 82063, 36, 425, 13534, 119555, 933, 13794, 2...
[ 0.1527099609375, 0.1395263671875, 0.03387451171875, 0.25439453125, 0.060546875, 0.1859130859375, 0.204345703125, 0.2666015625, 0.1407470703125, 0.23046875, 0.1083984375, 0.1339111328125, 0.1466064453125, 0.120361328125, 0.1168212890625, 0.0814208984375, 0.085205078125, 0.0988769531...
embed
12379775_c0
12379775
prolog
0
Title: Datalog Stratification Problem title: Datalog Stratification Tags: datalog, logic, prolog Problem: Datalog Stratification So I'm trying to understand how Datalog works and one of the differences between it and Prolog is that it has stratification limitations placed upon negation and recursion. To quote Wikipedia...
Datalog Stratification Datalog Stratification datalog logic prolog Datalog Stratification Datalog Stratification So I'm trying to understand how Datalog works and one of the differences between it and Prolog is that it has stratification limitations placed upon negation and recursion. To quote Wikipedia: So, going by t...
[ 0.00140380859375, 0.018310546875, 0.0025482177734375, 0.034423828125, -0.01446533203125, 0.022705078125, 0.01171875, 0.007568359375, 0.01458740234375, -0.0107421875, -0.01214599609375, 0.01171875, -0.0272216796875, 0.0111083984375, 0.0106201171875, -0.000499725341796875, 0.0068969726...
[ 11809, 4867, 7832, 18, 41274, 2053, 62775, 502, 28219, 43240, 60212, 17721, 1250, 48358, 205969, 108, 125682, 136, 195625, 8162, 6626, 25632, 1653, 2063, 959, 16750, 18499, 831, 95486, 5701, 14012, 5885, 61518, 115339, 80934, 62, 425, 335, ...
[ 0.1507568359375, 0.25244140625, 0.1728515625, 0.1219482421875, 0.1767578125, 0.08184814453125, 0.1282958984375, 0.1737060546875, 0.03106689453125, 0.0989990234375, 0.10498046875, 0.000732421875, 0.1607666015625, 0.23291015625, 0.1826171875, 0.17529296875, 0.14453125, 0.015686035156...
embed
54278103_c0
54278103
prolog
0
Title: Cut at the end of a Prolog statement Problem title: Cut at the end of a Prolog statement Tags: spanning-tree, prolog, prolog-cut Problem: Cut at the end of a Prolog statement I have encountered this cut which should return true if there exists an edge A-B or B-A for some node B of graph Graph. node(A,Graph) :- a...
Cut at the end of a Prolog statement Cut at the end of a Prolog statement spanning-tree prolog prolog-cut Cut Prolog Graph max1 stree1 Tree Node1 Node2 Node Set Subset Node1-Node2 Node2-Node1 Path path1 Cut at the end of a Prolog statement I have encountered this cut which should return true if there exists an edge A-B...
[ 0.0225830078125, 0.01513671875, 0.0181884765625, 0.00180816650390625, 0.004058837890625, -0.004058837890625, -0.02099609375, -0.02783203125, 0.004364013671875, -0.027587890625, -0.029296875, -0.0029754638671875, -0.02099609375, -0.0054931640625, 0.0380859375, 0.0081787109375, -0.0003...
[ 3003, 18, 99, 3564, 111, 1250, 4867, 63805, 175884, 62600, 502, 19774, 6524, 11727, 18389, 418, 8082, 101344, 438, 112, 304, 19943, 8273, 5021, 18504, 108421, 60875, 190647, 903, 59226, 30646, 29568, 32316, 121303, 62, 571, 335, 110, 41382,...
[ 0.22216796875, 0.1181640625, 0.11083984375, 0.22509765625, 0.04205322265625, 0.175537109375, 0.2369384765625, 0.2225341796875, 0.154541015625, 0.1634521484375, 0.087890625, 0.1964111328125, 0.11328125, 0.1082763671875, 0.1688232421875, 0.037628173828125, 0.0528564453125, 0.17175292...
embed
55955656_c0
55955656
prolog
0
Title: How to get the result from Prolog, via the C++ FFI , into a C++ variable Problem title: How to get the result from Prolog, via the C++ FFI , into a C++ variable Tags: visual-studio, swi-prolog, prolog, ffi, c%2B%2B Problem: How to get the result from Prolog, via the C++ FFI , into a C++ variable The problem I ha...
How to get the result from Prolog, via the C++ FFI , into a C++ variable How to get the result from Prolog, via the C++ FFI , into a C++ variable visual-studio swi-prolog prolog ffi c%2B%2B Prolog How FFI PL_initialise Console::Write PlCall puzzle.pl rval2 predicate_t pred2 PL_predicate term_t PL_new_term_refs variable...
[ 0.037841796875, -0.0201416015625, 0.01141357421875, 0.0028076171875, -0.006256103515625, 0.0101318359375, 0.0020751953125, -0.00157928466796875, 0.0216064453125, -0.00872802734375, 0.0115966796875, 0.01336669921875, -0.0172119140625, -0.01434326171875, 0.0125732421875, -0.0013275146484...
[ 11249, 2046, 16750, 1295, 1250, 4867, 37223, 563, 22724, 3934, 313, 77336, 10, 21176, 52629, 2452, 3454, 502, 24500, 33106, 40705, 40777, 18781, 29016, 441, 5584, 104192, 2424, 1405, 304, 1653, 2063, 13579, 32166, 29087, 84572, 21690, 85763, ...
[ 0.05694580078125, 0.1260986328125, 0.1849365234375, 0.092529296875, 0.1845703125, 0.2763671875, 0.23291015625, 0.0711669921875, 0.20703125, 0.1116943359375, 0.0185699462890625, 0.2376708984375, 0.033355712890625, 0.0941162109375, 0.1104736328125, 0.07354736328125, 0.0867919921875, ...
embed
67488412_c0
67488412
prolog
0
Title: Probable infinite recursion (cycle): with DCG parsing rule Problem title: Probable infinite recursion (cycle): with DCG parsing rule Tags: swi-prolog, prolog Problem: Probable infinite recursion (cycle): with DCG parsing rule I'm working to develop a small parser for an imperative language, but I'm stuck with th...
Probable infinite recursion (cycle): with DCG parsing rule Probable infinite recursion (cycle): with DCG parsing rule swi-prolog prolog Probable DCG ListTokens ListStmt Command Commands Skip Assign a_expr While b_expr Name Val Expr Cmp b_expt Probable infinite recursion (cycle): with DCG parsing rule I'm working to dev...
[ 0.0220947265625, -0.0030517578125, 0.004058837890625, 0.0211181640625, 0.01116943359375, 0.008056640625, -0.00982666015625, -0.01611328125, 0.01202392578125, -0.0225830078125, -0.005279541015625, 0.0203857421875, -0.0155029296875, 0.0125732421875, 0.033447265625, 0.036865234375, -0.0...
[ 1250, 275, 2886, 54241, 195625, 1830, 75457, 678, 391, 56367, 366, 79986, 13, 6953, 2452, 3454, 4867, 502, 32036, 7763, 84694, 123573, 91958, 1301, 31304, 10, 83613, 42, 876, 15757, 4769, 60075, 2676, 85493, 19336, 2189, 222530, 46876, 1799...
[ 0.1033935546875, 0.1585693359375, 0.132080078125, 0.14306640625, 0.2291259765625, 0.036834716796875, 0.208251953125, 0.024871826171875, 0.070556640625, 0.193603515625, 0.1312255859375, 0.1275634765625, 0.006317138671875, 0.013763427734375, 0.175048828125, 0.109375, 0.1710205078125, ...
embed
28845949_c0
28845949
prolog
0
Title: Recursion in PROLOG? Problem title: Recursion in PROLOG? Tags: prolog Problem: Recursion in PROLOG? Given the following Prolog facts: f(a, [b]). f(b, [c]). f(c, [d]). f(d, [e]). f(e, []). I need to create a query xyz(a,Y) so that I get Y = [e,d,c,b] , since a depends on b, which depends on c, etc. My current que...
Recursion in PROLOG? Recursion in PROLOG? prolog Recursion PROLOG Recursion in PROLOG? Given the following Prolog facts: I need to create a query xyz(a,Y) so that I get Y = [e,d,c,b] , since a depends on b, which depends on c, etc. My current query is: However, this query for xyz(a,Y) only gives me Y = [b] , and not b'...
[ 0.01495361328125, 0.0255126953125, 0.017333984375, 0.006744384765625, -0.01123046875, 0.0079345703125, -0.011474609375, 0.01129150390625, 0.0135498046875, -0.0152587890625, 0.01531982421875, 0.0003376007080078125, -0.0186767578125, -0.00823974609375, 0.0208740234375, -0.0133056640625, ...
[ 165428, 42, 6889, 23, 10514, 47510, 502, 4867, 1250, 15824, 3871, 28282, 41, 1294, 32189, 11, 1723, 2046, 990, 2203, 71, 238, 275, 56566, 876, 501, 43581, 903, 100, 4734, 76199, 163, 959, 108750, 15190, 6626, 124519, 3564, 18, 4488, 409...
[ 0.18994140625, 0.1915283203125, 0.1842041015625, 0.0799560546875, 0.2003173828125, 0.2685546875, 0.1312255859375, 0.241455078125, 0.177978515625, 0.1080322265625, 0.03289794921875, 0.0640869140625, 0.1126708984375, 0.10546875, 0.126953125, 0.04974365234375, 0.0830078125, 0.03466796...
embed
38650217_c0
38650217
prolog
0
Title: Syntax error: Operator expected (do statement) Problem title: Syntax error: Operator expected (do statement) Tags: clpfd, swi-prolog, prolog Problem: Syntax error: Operator expected (do statement) I'm currently a beginner in Prolog and I've been running into a operator error. According to the compiler, it has to...
Syntax error: Operator expected (do statement) Syntax error: Operator expected (do statement) clpfd swi-prolog prolog Syntax Operator use_module Mary John Jim Persons Jobs Gardener Veteriarian Dishwasher Nurse MathTeacher BiologyTutor global_cardinality BiologyTeacher PersonsStr JobStr fd_statistics Syntax error: Opera...
[ 0.0028228759765625, 0.00439453125, -0.005767822265625, 0.00103759765625, -0.01202392578125, 0.01409912109375, -0.01373291015625, 0.01318359375, 0.0045166015625, -0.058349609375, 0.0021209716796875, -0.01416015625, -0.005218505859375, -0.00958251953125, 0.0130615234375, 0.00604248046875...
[ 19010, 86531, 18499, 150922, 84751, 246, 63805, 33139, 39557, 71, 91, 2452, 3454, 4867, 502, 4527, 83279, 23213, 4939, 41994, 15270, 73401, 38666, 114585, 399, 24811, 42687, 10772, 78804, 10476, 934, 15665, 7964, 71713, 32664, 17346, 15, 9842...
[ 0.12890625, 0.1942138671875, 0.20751953125, 0.28564453125, 0.25830078125, 0.20849609375, 0.2325439453125, 0.008819580078125, 0.071533203125, 0.07427978515625, 0.0168914794921875, 0.166015625, 0.10565185546875, 0.23193359375, 0.1055908203125, 0.090576171875, 0.129638671875, 0.081970...
embed
69596884_c0
69596884
prolog
0
Title: CLPFD ins operator yields not sufficiently instantiated error Problem title: CLPFD ins operator yields not sufficiently instantiated error Tags: prolog, clpfd Problem: CLPFD ins operator yields not sufficiently instantiated error So, my goal is to make a map colourer in Prolog. Here's the map I'm using: And this...
CLPFD ins operator yields not sufficiently instantiated error CLPFD ins operator yields not sufficiently instantiated error prolog clpfd CLPFD regions_ncolors int_cset_ Acc N_1 N-1 int_cset CLPFD ins operator yields not sufficiently instantiated error So, my goal is to make a map colourer in Prolog. Here's the map I'm ...
[ -0.02294921875, -0.00360107421875, 0.017578125, 0.006439208984375, 0.00897216796875, 0.005401611328125, -0.0078125, -0.0162353515625, 0.00167083740234375, -0.0277099609375, -0.0140380859375, -0.01312255859375, 0.0341796875, 0.01031494140625, 0.020263671875, 0.0164794921875, -0.010986...
[ 46323, 41265, 397, 23, 39933, 11180, 19388, 959, 129980, 34648, 14, 27686, 18499, 7, 502, 4867, 33139, 39557, 71, 10776, 19, 46133, 126, 29899, 115187, 5759, 18, 4439, 69236, 22288, 134855, 56, 1250, 214, 158, 2816, 4288, 919, 5303, 10193...
[ 0.094970703125, 0.13427734375, 0.1492919921875, 0.14892578125, 0.21435546875, 0.1060791015625, 0.1844482421875, 0.08099365234375, 0.1793212890625, 0.1107177734375, 0.1019287109375, 0.004150390625, 0.1763916015625, 0.06243896484375, 0.10174560546875, 0.2314453125, 0.0296783447265625, ...
embed
41575278_c0
41575278
prolog
0
Title: Is there a BNF with arguments for non-terminal symbols? Problem title: Is there a BNF with arguments for non-terminal symbols? Tags: prolog, nlp, grammar, dcg, bnf Problem: Is there a BNF with arguments for non-terminal symbols? In working with Prolog DCG to parse input it is nice to have an accompaning BNF of t...
Is there a BNF with arguments for non-terminal symbols? Is there a BNF with arguments for non-terminal symbols? prolog nlp grammar dcg bnf BNF Sentence Noun_phrase Verb_phrase Determiner Noun Verb Phrase Number Is there a BNF with arguments for non-terminal symbols? In working with Prolog DCG to parse input it is nice ...
[ 0.0179443359375, 0.0186767578125, 0.005889892578125, 0.007568359375, -0.005889892578125, 0.01220703125, 0.0020599365234375, -0.02001953125, -0.012939453125, -0.025634765625, -0.000553131103515625, -0.017578125, -0.0135498046875, 0.004486083984375, 0.0086669921875, 0.0098876953125, 0....
[ 2071, 2685, 10, 335, 73493, 678, 10750, 7, 100, 351, 30524, 289, 26582, 502, 4867, 26775, 122092, 147, 177, 876, 19, 420, 63999, 309, 179665, 1446, 262, 56, 78728, 103332, 20697, 1250, 391, 56367, 366, 184, 107730, 26267, 277, 763, 2778...
[ 0.022552490234375, 0.0304107666015625, 0.0673828125, 0.09649658203125, 0.267822265625, 0.06500244140625, 0.2398681640625, 0.0648193359375, 0.060089111328125, 0.1690673828125, 0.181396484375, 0.08551025390625, 0.206787109375, 0.0706787109375, 0.1868896484375, 0.0777587890625, 0.105468...
embed
70260693_c0
70260693
prolog
0
Title: How to make a knowledge Representation in prolog Problem title: How to make a knowledge Representation in prolog Tags: prolog Problem: How to make a knowledge Representation in prolog I have some information: X is organism if X is human, animal or plant. X is organism if X can breathe and move. Mammal, reptile, ...
How to make a knowledge Representation in prolog How to make a knowledge Representation in prolog prolog How Representation can_breathe can_move breathe_with_gills have_scales have_fin breathe_with_lungs have_wings produce_oxygen ERROR Defined file.pl:4 How to make a knowledge Representation in prolog I have some infor...
[ 0.026611328125, 0.0223388671875, 0.00921630859375, 0.0291748046875, 0.00093841552734375, 0.01116943359375, -0.0167236328125, 0.0223388671875, -0.01251220703125, -0.0281982421875, -0.00142669677734375, -0.0255126953125, -0.0164794921875, 0.01953125, 0.030029296875, 0.000904083251953125,...
[ 11249, 3249, 10, 51359, 130877, 1363, 23, 502, 4867, 831, 4134, 11, 2347, 432, 272, 71191, 76228, 735, 42458, 765, 16275, 1577, 5983, 11898, 14775, 27489, 76634, 1409, 151206, 24638, 11435, 2424, 617, 4677, 1193, 83, 25150, 2174, 14135, 2...
[ 0.042694091796875, 0.122314453125, 0.07647705078125, 0.2332763671875, 0.28759765625, 0.150146484375, 0.05157470703125, 0.159912109375, 0.23291015625, 0.12451171875, 0.1610107421875, 0.11181640625, 0.086669921875, 0.10333251953125, 0.009613037109375, 0.2138671875, 0.0899658203125, 0...
embed
56396614_c0
56396614
prolog
0
Title: Prolog: Creating a frequency list of another list Problem title: Prolog: Creating a frequency list of another list Tags: prolog Problem: Prolog: Creating a frequency list of another list So, I've written a program that reads input from a .txt file in the form of 2 integers and a list of integers: the first integ...
Prolog: Creating a frequency list of another list Prolog: Creating a frequency list of another list prolog Prolog Creating List FreqList Create Count Element Tail Counter Counter2 Numbers CurrentNumber Length Head CurrentNumber2 Numbers2 Prolog: Creating a frequency list of another list So, I've written a program that ...
[ 0.03173828125, -0.003814697265625, -0.00653076171875, -0.007415771484375, -0.00909423828125, -0.003997802734375, -0.01513671875, -0.00482177734375, 0.01202392578125, -0.0208740234375, 0.009521484375, 0.00008678436279296875, 0.00946044921875, 0.00799560546875, 0.003662109375, -0.0004920...
[ 1250, 4867, 56781, 1916, 12478, 944, 27771, 5303, 15700, 111, 502, 32036, 21612, 864, 154663, 151313, 108210, 48325, 1218, 379, 197956, 304, 103332, 114063, 18444, 77554, 44816, 59121, 1528, 12301, 107730, 124326, 11435, 3173, 116, 892, 26255, ...
[ 0.1500244140625, 0.2227783203125, 0.15771484375, 0.0367431640625, 0.1917724609375, 0.158935546875, 0.10443115234375, 0.209228515625, 0.1107177734375, 0.029693603515625, 0.1124267578125, 0.177978515625, 0.16748046875, 0.04327392578125, 0.2001953125, 0.0770263671875, 0.0899658203125, ...
embed
69339386_c0
69339386
prolog
0
Title: how to search a prolog knowledge base using pyswip Problem title: how to search a prolog knowledge base using pyswip Tags: search, python, python-3.x, prolog Problem: how to search a prolog knowledge base using pyswip I want to use voice commands to search my prolog knowledgebase, im using pyswip and it works bu...
how to search a prolog knowledge base using pyswip how to search a prolog knowledge base using pyswip search python python-3.x prolog PrologError pyswip.prolog.PrologError pyswip test12 prolog.query prolog_search value1 value2 value3 value4 value5 tot_value Caused Returned type_error Variable python-3.x how to search a...
[ 0.01324462890625, 0.00262451171875, -0.00677490234375, 0.03759765625, -0.005615234375, 0.01483154296875, -0.0147705078125, -0.006744384765625, 0.0014801025390625, -0.053955078125, 0.008056640625, -0.0064697265625, -0.013427734375, -0.007171630859375, 0.0016021728515625, -0.007995605468...
[ 3642, 33938, 502, 4867, 51359, 3647, 17368, 57756, 2452, 254, 17198, 50828, 8316, 425, 1250, 18468, 31611, 3454, 10752, 3034, 1530, 944, 86250, 34292, 304, 363, 617, 758, 1186, 27494, 173340, 10644, 188800, 84572, 10, 3444, 4527, 54479, 751...
[ 0.045562744140625, 0.2303466796875, 0.164306640625, 0.240966796875, 0.17431640625, 0.2034912109375, 0.05902099609375, 0.195556640625, 0.25830078125, 0.1728515625, 0.093505859375, 0.124755859375, 0.122314453125, 0.090576171875, 0.148193359375, 0.0897216796875, 0.046142578125, 0.0882...
embed
76572472_c0
76572472
prolog
0
Title: Exception for &quot;effect of operation is undefined&quot; Problem title: Exception for &quot;effect of operation is undefined&quot; Tags: iso-prolog, prolog Problem: Exception for "effect of operation is undefined" SICStus Prolog offers an abstract datatype ("mutable term") for efficient backtrackable destructi...
Exception for &quot;effect of operation is undefined&quot; Exception for &quot;effect of operation is undefined&quot; iso-prolog prolog Exception permission_error Operation PermissionType Culprit binary_stream past_end_of_stream private_procedure static_procedure source_sink text_stream system_error mutable_term Except...
[ 0.020263671875, 0.0308837890625, 0.0079345703125, -0.020751953125, 0.00007963180541992188, 0.00335693359375, -0.0028076171875, 0.029296875, 0.00537109375, 0.0042724609375, 0.0152587890625, 0.00653076171875, -0.0003108978271484375, -0.000949859619140625, 0.005584716796875, 0.00769042968...
[ 5443, 63928, 171760, 111, 41018, 83, 9232, 5983, 297, 13882, 3454, 4867, 502, 168081, 188800, 102203, 908, 21150, 196707, 41117, 5293, 2394, 86429, 11015, 3611, 14375, 232578, 201939, 31344, 14068, 7986, 5426, 842, 22819, 32166, 159, 102198, ...
[ 0.0704345703125, 0.1846923828125, 0.2491455078125, 0.1268310546875, 0.2130126953125, 0.041168212890625, 0.09405517578125, 0.200927734375, 0.09466552734375, 0.07525634765625, 0.096923828125, 0.2113037109375, 0.095947265625, 0.218017578125, 0.2080078125, 0.156982421875, 0.117431640625,...
embed
53714807_c0
53714807
prolog
0
Title: Prolog - Path finding and length given Relation Problem title: Prolog - Path finding and length given Relation Tags: path-finding, prolog Problem: Prolog - Path finding and length given Relation I just began learning Prolog and I wanted to understand Pathfinding better. I have a few examples of relationships, ho...
Prolog - Path finding and length given Relation Prolog - Path finding and length given Relation path-finding prolog Prolog Path Relation is_a Rel path_ Source Target Len Visited Mid path0 Prolog - Path finding and length given Relation I just began learning Prolog and I wanted to understand Pathfinding better. I have a...
[ 0.0238037109375, 0.0137939453125, 0.0159912109375, 0.015380859375, 0.0035858154296875, -0.016845703125, -0.0247802734375, 0.00147247314453125, 0.01409912109375, -0.040771484375, 0.0029296875, -0.005035400390625, -0.02392578125, 0.004180908203125, 0.0257568359375, -0.002105712890625, ...
[ 1250, 4867, 108421, 90791, 136, 140909, 34475, 116822, 60875, 111607, 214, 502, 83, 11, 853, 141, 77641, 160017, 18226, 98684, 23166, 2389, 52080, 28219, 11522, 27781, 151618, 3714, 7413, 187830, 6827, 28282, 5303, 60525, 36997, 110, 13695, 2...
[ 0.15869140625, 0.2359619140625, 0.2318115234375, 0.158203125, 0.0892333984375, 0.213134765625, 0.0968017578125, 0.231689453125, 0.275634765625, 0.1685791015625, 0.0328369140625, 0.1138916015625, 0.08135986328125, 0.0638427734375, 0.07177734375, 0.056365966796875, 0.1683349609375, 0...
embed
25182485_c0
25182485
prolog
0
Title: Prolog: How &quot;length(+,-)&quot; delete unassigned tail of the list keeping the list? Problem title: Prolog: How &quot;length(+,-)&quot; delete unassigned tail of the list keeping the list? Tags: prolog, list Problem: Prolog: How "length(+,-)" delete unassigned tail of the list keeping the list? Again a Prolo...
Prolog: How &quot;length(+,-)&quot; delete unassigned tail of the list keeping the list? Prolog: How &quot;length(+,-)&quot; delete unassigned tail of the list keeping the list? prolog list Prolog How NewElement ListToBeFilled TmpListToBeFilled catch_all_nth1 List AllNth Counter Result NewCounter Result1 Elast _G12321 ...
[ 0.0130615234375, 0.03515625, 0.005462646484375, 0.0181884765625, -0.00579833984375, 0.00836181640625, 0.015625, 0.0023345947265625, 0.029296875, -0.0177001953125, 0.0126953125, -0.01239013671875, -0.00531005859375, 0.01312255859375, 0.02294921875, -0.012939453125, 0.031494140625, 0...
[ 1250, 4867, 11249, 23986, 927, 1328, 9, 154109, 220, 31304, 46741, 111, 5303, 120260, 502, 2356, 19929, 32036, 7763, 6766, 919, 2186, 2676, 154663, 105556, 418, 197956, 126684, 108210, 4438, 48636, 3117, 194583, 81827, 96060, 363, 45367, 1257...
[ 0.1583251953125, 0.211181640625, 0.060882568359375, 0.09051513671875, 0.07489013671875, 0.1300048828125, 0.068115234375, 0.1986083984375, 0.0975341796875, 0.167724609375, 0.280517578125, 0.050537109375, 0.1685791015625, 0.1217041015625, 0.12353515625, 0.070556640625, 0.1195068359375,...
embed
27095889_c0
27095889
prolog
0
Title: Somebody could help me with this little program in prolog? Problem title: Somebody could help me with this little program in prolog? Tags: zebra-puzzle, prolog Problem: Somebody could help me with this little program in prolog? When I run my program with this sentence: | ?- constraints(C). and the result is: C =...
Somebody could help me with this little program in prolog? Somebody could help me with this little program in prolog? zebra-puzzle prolog Somebody Cuatro Cada Todos Determina TRADUCCION BIll Laura Van Negra Chuck Brenda Breanda Forrest Lewis Cafe Tom Cindy Roja Mary Tread Steve Branch ORIGINAL use_module CAMPAMENTO UNA...
[ -0.0038299560546875, -0.0098876953125, 0.01287841796875, 0.033935546875, 0.01446533203125, -0.00165557861328125, -0.0264892578125, -0.006011962890625, 0.004364013671875, -0.0198974609375, -0.0020751953125, 0.01513671875, -0.02197265625, -0.00762939453125, 0.00836181640625, 0.0126953125...
[ 31384, 37873, 5809, 4358, 163, 678, 903, 10176, 1528, 23, 502, 4867, 116232, 1766, 13894, 133, 3003, 11, 2955, 23593, 29378, 234016, 36230, 18431, 17234, 1181, 41193, 3000, 799, 5739, 164460, 174762, 8054, 56644, 77330, 53772, 8352, 1459, 1...
[ 0.04168701171875, 0.156494140625, 0.07012939453125, 0.1148681640625, 0.0269775390625, 0.052032470703125, 0.05322265625, 0.12841796875, 0.2115478515625, 0.06280517578125, 0.165283203125, 0.2200927734375, 0.198974609375, 0.0927734375, 0.1126708984375, 0.111328125, 0.05487060546875, 0...
embed
33907168_c0
33907168
prolog
0
Title: STRIPS algorithm in prolog dosen&#x27;t stop Problem title: STRIPS algorithm in prolog dosen&#x27;t stop Tags: prolog, artificial-intelligence Problem: STRIPS algorithm in prolog dosen't stop I'm learning Prolog and I'm writing STRIPS algorithm. Exactly I try to write it because it doesn’t work and unfortunately...
STRIPS algorithm in prolog dosen&#x27;t stop STRIPS algorithm in prolog dosen&#x27;t stop prolog artificial-intelligence STRIPS Plan worldblock_rap Initstate Goallist strip1 RevPlan State ForbiddenActions there_is ForibiddenActions Prec Del Add Goal TmpState1 TmpPlan1 Update apply_rule NewState NewPlan Dellist Addlist ...
[ -0.0084228515625, 0.0137939453125, 0.003662109375, 0.00872802734375, -0.02978515625, 0.02197265625, 0.00634765625, 0.01239013671875, 0.014404296875, -0.01177978515625, 0.005462646484375, 0.0233154296875, -0.0191650390625, -0.00439453125, -0.00174713134765625, 0.0089111328125, 0.02160...
[ 159, 62353, 9059, 234873, 23, 502, 4867, 655, 33, 3768, 18, 7279, 66733, 130687, 5586, 8999, 81409, 13631, 360, 217, 61340, 2016, 289, 6562, 43613, 418, 80893, 78680, 22836, 34833, 555, 39450, 2685, 21751, 57415, 1914, 8901, 29117, 2676, ...
[ 0.06005859375, 0.2496337890625, 0.2392578125, 0.2469482421875, 0.07171630859375, 0.1644287109375, 0.221923828125, 0.1722412109375, 0.0972900390625, 0.039459228515625, 0.096435546875, 0.200439453125, 0.1336669921875, 0.0997314453125, 0.19384765625, 0.11376953125, 0.1802978515625, 0....
embed
64157130_c0
64157130
prolog
0
Title: Implementation of predicate similar to Transpose in Prolog Problem title: Implementation of predicate similar to Transpose in Prolog Tags: list, predicate, prolog Problem: Implementation of predicate similar to Transpose in Prolog I am pretty new to Prolog, actually 4 days into it and I came across an exercise t...
Implementation of predicate similar to Transpose in Prolog Implementation of predicate similar to Transpose in Prolog list predicate prolog Implementation Transpose Prolog Insert Length Create init_list N-1 Assign Reshape Result Input Implementation of predicate similar to Transpose in Prolog I am pretty new to Prolog,...
[ 0.0140380859375, 0.0096435546875, 0.016845703125, 0.00628662109375, -0.011474609375, 0.0179443359375, -0.0084228515625, 0.0031280517578125, 0.0076904296875, -0.01708984375, 0.0284423828125, 0.0081787109375, -0.006988525390625, -0.002227783203125, -0.0093994140625, 0.023681640625, 0.0...
[ 153941, 2320, 1653, 2063, 67, 21373, 11062, 78381, 23, 1250, 4867, 5303, 502, 33657, 77554, 151313, 217, 6562, 541, 5759, 1301, 31304, 853, 2420, 1081, 126684, 360, 3525, 201, 13312, 3934, 36880, 81979, 77878, 678, 13267, 12638, 29479, 3583...
[ 0.2281494140625, 0.003326416015625, 0.2100830078125, 0.266357421875, 0.1490478515625, 0.175048828125, 0.2161865234375, 0.2083740234375, 0.03955078125, 0.1826171875, 0.255126953125, 0.2144775390625, 0.1141357421875, 0.12890625, 0.08160400390625, 0.081787109375, 0.09393310546875, 0.1...
embed
37521027_c0
37521027
prolog
0
Title: How to describe what conditions are to be met, and if they aren&#x27;t, keep going through a list Problem title: How to describe what conditions are to be met, and if they aren&#x27;t, keep going through a list Tags: prolog Problem: How to describe what conditions are to be met, and if they aren't, keep going th...
How to describe what conditions are to be met, and if they aren&#x27;t, keep going through a list How to describe what conditions are to be met, and if they aren&#x27;t, keep going through a list prolog How create_arcs CONNECTIONS_IN NODES_IN ARCS_OUT Create NODE_ID_1 NODE_ID_2 A-B NODES LISTARCS ensure_arcs LISTARCS2 ...
[ 0.00836181640625, 0.003936767578125, 0.001708984375, 0.0198974609375, -0.000934600830078125, 0.005706787109375, -0.0137939453125, -0.0034637451171875, 0.01318359375, 0.0064697265625, 0.02734375, -0.005523681640625, -0.005126953125, 0.006103515625, 0.00665283203125, 0.005218505859375, ...
[ 11249, 98363, 2367, 27289, 621, 47, 186, 435, 2174, 125381, 3768, 18, 13695, 7730, 8305, 5303, 502, 4867, 28282, 147, 4439, 91394, 9520, 8852, 13685, 19283, 52001, 151313, 7146, 115187, 304, 571, 16970, 118228, 63284, 35602, 204112, 88868, ...
[ 0.012664794921875, 0.180419921875, 0.0291900634765625, 0.23291015625, 0.08465576171875, 0.093017578125, 0.034759521484375, 0.184326171875, 0.1220703125, 0.07476806640625, 0.04534912109375, 0.1298828125, 0.1732177734375, 0.07220458984375, 0.1534423828125, 0.2076416015625, 0.1142578125...
embed
15486930_c0
15486930
prolog
0
Title: Prolog: How do I count the number of passes and failures for a predicate? Problem title: Prolog: How do I count the number of passes and failures for a predicate? Tags: prolog Problem: Prolog: How do I count the number of passes and failures for a predicate? I want to count the number of successes AND failures f...
Prolog: How do I count the number of passes and failures for a predicate? Prolog: How do I count the number of passes and failures for a predicate? prolog Prolog How test_arith Passes Failures P-F Scores summarize_scores Test Should Passes_SF Failures_SF Next_Passes Next_Failures test_arith2 Prolog: How do I count the ...
[ 0.018310546875, -0.0172119140625, -0.008056640625, -0.02294921875, -0.0103759765625, 0.00433349609375, 0.0157470703125, -0.02685546875, 0.0035247802734375, -0.0223388671875, -0.01226806640625, 0.0022735595703125, -0.00579833984375, 0.012939453125, 0.017578125, 0.009033203125, 0.00976...
[ 1250, 4867, 11249, 87, 54529, 14012, 10922, 136, 137578, 100, 1653, 2063, 67, 502, 3034, 147, 8962, 98757, 190355, 919, 168071, 29334, 14096, 8647, 38406, 4997, 139117, 17647, 379, 304, 54, 3444, 36272, 48762, 22027, 18, 2499, 10750, 134381...
[ 0.1510009765625, 0.17041015625, 0.06427001953125, 0.0210113525390625, 0.23193359375, 0.1226806640625, 0.2095947265625, 0.1220703125, 0.26708984375, 0.0511474609375, 0.1636962890625, 0.2115478515625, 0.09686279296875, 0.083740234375, 0.172119140625, 0.0911865234375, 0.1820068359375, ...
embed
56709912_c0
56709912
prolog
0
Title: Meta-interpreting logical cut in Prolog (Edited to accommodate comments) Problem title: Meta-interpreting logical cut in Prolog (Edited to accommodate comments) Tags: prolog, prolog-metainterpreter, prolog-cut Problem: Meta-interpreting logical cut in Prolog (Edited to accommodate comments) I am implementing a g...
Meta-interpreting logical cut in Prolog (Edited to accommodate comments) Meta-interpreting logical cut in Prolog (Edited to accommodate comments) prolog prolog-metainterpreter prolog-cut Meta-interpreting Prolog Edited CurrentDepth DepthLimit predicate_property built_in imported_from Goal NewDepth SubGoals test_goal pr...
[ 0.0238037109375, 0.0179443359375, 0.03125, 0.01141357421875, -0.0159912109375, 0.01007080078125, -0.00165557861328125, -0.005157470703125, 0.0037841796875, -0.021728515625, -0.0091552734375, 0.00872802734375, -0.018798828125, -0.0341796875, 0.0289306640625, 0.005157470703125, -0.0030...
[ 36939, 158288, 214, 62775, 289, 59226, 23, 1250, 4867, 125270, 211196, 24626, 502, 35273, 56, 19774, 42079, 114063, 4657, 254, 262, 6836, 1653, 2063, 36290, 88303, 76242, 2016, 2356, 8273, 17903, 3034, 519, 76228, 69070, 168867, 915, 115187, ...
[ 0.2401123046875, 0.25732421875, 0.009857177734375, 0.1751708984375, 0.0562744140625, 0.2042236328125, 0.02435302734375, 0.1708984375, 0.2410888671875, 0.09033203125, 0.139404296875, 0.14501953125, 0.1292724609375, 0.1412353515625, 0.1490478515625, 0.1890869140625, 0.10888671875, 0....
embed
62087439_c0
62087439
prolog
0
Title: Has anyone experience with recursive problems in Aleph? Problem title: Has anyone experience with recursive problems in Aleph? Tags: aleph-ilp, swi-prolog, prolog Problem: Has anyone experience with recursive problems in Aleph? I am currently working on my Symbolic AI homework in Aleph and I have been working on...
Has anyone experience with recursive problems in Aleph? Has anyone experience with recursive problems in Aleph? aleph-ilp swi-prolog prolog Has Aleph Simple Load read_all Has anyone experience with recursive problems in Aleph? I am currently working on my Symbolic AI homework in Aleph and I have been working on it for ...
[ -0.00469970703125, 0.006683349609375, 0.0281982421875, 0.037353515625, -0.0035552978515625, 0.036376953125, 0.0196533203125, 0.0257568359375, 0.007720947265625, -0.0225830078125, 0.01806640625, -0.00653076171875, -0.00055694580078125, 0.0089111328125, 0.0203857421875, -0.0186767578125,...
[ 20625, 35672, 16981, 678, 195625, 5844, 44402, 23, 4733, 11727, 662, 254, 2452, 3454, 4867, 502, 60552, 2091, 12301, 5584, 20697, 131899, 1771, 38730, 5368, 18244, 21974, 7464, 86595, 15673, 4358, 5122, 5117, 81979, 6713, 27781, 208124, 32786...
[ 0.0219573974609375, 0.0634765625, 0.156982421875, 0.039031982421875, 0.237060546875, 0.19091796875, 0.191650390625, 0.055938720703125, 0.154541015625, 0.2205810546875, 0.1077880859375, 0.142578125, 0.120849609375, 0.06671142578125, 0.1588134765625, 0.0673828125, 0.125244140625, 0.0...
embed
50289000_c0
50289000
prolog
0
Title: How to handle False in Prolog Problem title: How to handle False in Prolog Tags: prolog Problem: How to handle False in Prolog I want to give a specific write/1 when a predicate fails : So the chat start this loop only exit on getting an input 'bye'. But if process fails because of say a malformed input, I want ...
How to handle False in Prolog How to handle False in Prolog prolog How Prolog Input WRONG SemanticRepresentation Zeta Failing Now ModelResponse Sentence Parse Free Variable _G2515 _G2602 How to handle False in Prolog I want to give a specific write/1 when a predicate fails : So the chat start this loop only exit on get...
[ 0.007537841796875, 0.01214599609375, -0.017333984375, 0.0164794921875, -0.0198974609375, 0.0186767578125, 0.007171630859375, -0.00439453125, 0.006591796875, 0.00250244140625, -0.00031280517578125, 0.0142822265625, -0.01361083984375, 0.006011962890625, 0.0260009765625, 0.025146484375, ...
[ 11249, 34831, 22225, 184, 1250, 4867, 47, 502, 360, 7077, 115055, 32462, 10232, 109109, 55247, 3786, 102, 190355, 214, 14240, 13293, 94399, 63999, 2392, 5153, 84572, 2588, 1837, 97544, 23, 3444, 8337, 29458, 33022, 11583, 3229, 1653, 2063, ...
[ 0.048553466796875, 0.2113037109375, 0.2257080078125, 0.2288818359375, 0.185302734375, 0.239501953125, 0.012908935546875, 0.1182861328125, 0.0236358642578125, 0.0411376953125, 0.05926513671875, 0.1021728515625, 0.0628662109375, 0.055572509765625, 0.15625, 0.1090087890625, 0.1156005859...
embed
32835086_c0
32835086
prolog
0
Title: Prolog: how to avoid backtracking without cuts? Problem title: Prolog: how to avoid backtracking without cuts? Tags: logical-purity, prolog-dif, prolog, backtracking Problem: Prolog: how to avoid backtracking without cuts? So i am trying to write a predicate in prolog that can take a list L1 and a list L2 and re...
Prolog: how to avoid backtracking without cuts? Prolog: how to avoid backtracking without cuts? logical-purity prolog-dif prolog backtracking Prolog Append Does Returns Prolog: how to avoid backtracking without cuts? So i am trying to write a predicate in prolog that can take a list L1 and a list L2 and return a list o...
[ 0.000530242919921875, 0.027099609375, 0.0184326171875, -0.00970458984375, -0.003387451171875, 0.0120849609375, -0.00958251953125, -0.007171630859375, 0.01202392578125, -0.043701171875, 0.0033111572265625, 0.0159912109375, -0.01904296875, -0.0026397705078125, 0.0257568359375, 0.00216674...
[ 1250, 4867, 3642, 71864, 4420, 125728, 214, 15490, 314, 933, 62775, 4717, 502, 428, 5659, 3611, 101790, 173340, 31577, 33022, 1653, 2063, 67, 5646, 5303, 339, 418, 136, 304, 30646, 756, 80854, 959, 23, 5442, 43240, 35166, 2967, 17368, 120...
[ 0.155517578125, 0.22412109375, 0.020782470703125, 0.190673828125, 0.165283203125, 0.24755859375, 0.06915283203125, 0.10113525390625, 0.15380859375, 0.0718994140625, 0.07537841796875, 0.0946044921875, 0.1539306640625, 0.0177001953125, 0.0211944580078125, 0.030029296875, 0.049346923828...
embed