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
78262167_c0
78262167
prolog
0
Title: What is the benefit of using SWI-Prolog's qsave_program to generate a binary? Problem title: What is the benefit of using SWI-Prolog's qsave_program to generate a binary? Tags: prolog, swi-prolog, elf, compilation, c Problem: What is the benefit of using SWI-Prolog's qsave_program to generate a binary?...
What is the benefit of using SWI-Prolog's qsave_program to generate a binary? What is the benefit of using SWI-Prolog's qsave_program to generate a binary? prolog swi-prolog elf compilation c SWI-Prolog What qsave_program prog.pl stand_alone What is the benefit of using SWI-Prolog's qsave_program to generate ...
[ 0.0162353515625, 0.0106201171875, 0.0000743865966796875, 0.00933837890625, -0.01287841796875, 0.00897216796875, -0.006561279296875, -0.005523681640625, 0.0036468505859375, -0.0341796875, -0.0025634765625, 0.002716064453125, -0.02197265625, -0.00396728515625, 0.00396728515625, -0.009338...
[ 68073, 17368, 159, 38969, 10752, 4867, 3768, 8096, 108999, 18749, 139392, 2394, 6635, 502, 2452, 3454, 99718, 98352, 501, 4865, 67973, 2424, 9157, 51684, 75169, 10932, 1250, 123309, 16839, 38352, 1257, 18151, 157353, 313, 37223, 11814, 25632, ...
[ 0.18994140625, 0.0892333984375, 0.034637451171875, 0.20166015625, 0.142822265625, 0.2109375, 0.02130126953125, 0.155517578125, 0.26318359375, 0.206787109375, 0.1546630859375, 0.1876220703125, 0.16845703125, 0.0933837890625, 0.18212890625, 0.1199951171875, 0.1893310546875, 0.1539306...
embed
27072272_c0
27072272
prolog
0
Title: Turn Depth First Search into a Best-First (greedy) Search in prolog Problem title: Turn Depth First Search into a Best-First (greedy) Search in prolog Tags: depth-first-search, prolog, greedy Problem: Turn Depth First Search into a Best-First (greedy) Search in prolog I am wanting to modify my depth first search...
Turn Depth First Search into a Best-First (greedy) Search in prolog Turn Depth First Search into a Best-First (greedy) Search in prolog depth-first-search prolog greedy Turn Depth First Search Best-First Path Checked Turn Depth First Search into a Best-First (greedy) Search in prolog I am wanting to modify my depth fir...
[ 0.01239013671875, 0.016845703125, 0.01220703125, 0.01483154296875, 0.00238037109375, 0.010009765625, -0.0076904296875, 0.0108642578125, 0.00946044921875, -0.0213623046875, 0.0159912109375, 0.00135040283203125, -0.0084228515625, 0.01324462890625, 0.02197265625, 0.01318359375, -0.00349...
[ 41961, 262, 254, 927, 23972, 33086, 3934, 11345, 207263, 7134, 297, 53, 23, 502, 4867, 168867, 13448, 271, 86250, 3514, 108421, 38679, 3444, 47, 2811, 40383, 5117, 33938, 10, 2965, 28960, 133207, 4989, 32382, 1528, 6863, 43257, 21334, 53201...
[ 0.16943359375, 0.1162109375, 0.17138671875, 0.150146484375, 0.1929931640625, 0.260498046875, 0.08184814453125, 0.1593017578125, 0.1593017578125, 0.1102294921875, 0.11279296875, 0.129638671875, 0.027923583984375, 0.1383056640625, 0.21728515625, 0.2548828125, 0.1376953125, 0.09338378...
embed
13207223_c0
13207223
prolog
0
Title: grandfather predicate in Prolog Problem title: grandfather predicate in Prolog Tags: predicate, prolog Problem: grandfather predicate in Prolog I have written the following program in SWI-Prolog: male(reza). male(aliakbar). male(behrooz). male(said). male(aliasghar). male(taghi). male(gholamreza). male(hadi). fe...
grandfather predicate in Prolog grandfather predicate in Prolog predicate prolog Prolog grandfather predicate in Prolog I have written the following program in SWI-Prolog: When I consult "father(X,Y),father(Y,Z)." it returns the correct answer (names are in persian), i.e. it returns But I could not find the correct ans...
[ 0.022705078125, 0.020263671875, 0.0030670166015625, 0.00946044921875, -0.0267333984375, 0.01611328125, 0.0035858154296875, 0.0145263671875, -0.007476806640625, -0.04150390625, 0.00897216796875, -0.0240478515625, -0.0002918243408203125, -0.0135498046875, 0.00982666015625, 0.024536132812...
[ 9963, 1021, 9319, 1653, 2063, 67, 23, 1250, 4867, 502, 59121, 25632, 1528, 159, 38969, 10752, 75463, 1542, 4, 1723, 1511, 30646, 26785, 35166, 11627, 621, 38265, 66, 5809, 959, 7413, 111, 4358, 15400 ]
[ 0.1968994140625, 0.2225341796875, 0.1865234375, 0.1942138671875, 0.2071533203125, 0.0787353515625, 0.0687255859375, 0.1756591796875, 0.23681640625, 0.1195068359375, 0.06390380859375, 0.009368896484375, 0.13623046875, 0.02740478515625, 0.1614990234375, 0.11572265625, 0.1129150390625, ...
embed
20168429_c0
20168429
prolog
0
Title: how to convert a code that is using atom_to_term from SWI-prolog to SICStus Prolog Problem title: how to convert a code that is using atom_to_term from SWI-prolog to SICStus Prolog Tags: swi-prolog, sicstus-prolog, prolog Problem: how to convert a code that is using atom_to_term from SWI-prolog to SICStus Prolog...
how to convert a code that is using atom_to_term from SWI-prolog to SICStus Prolog how to convert a code that is using atom_to_term from SWI-prolog to SICStus Prolog swi-prolog sicstus-prolog prolog atom_to_term SWI-prolog SICStus Prolog better_attribute3_in Attribute3_in Attribute3 atom_codes List_Attribute3 Attribute...
[ -0.0001659393310546875, 0.0152587890625, -0.0069580078125, 0.0166015625, -0.004730224609375, -0.005279541015625, 0.006866455078125, 0.018310546875, -0.0133056640625, -0.031494140625, 0.0184326171875, 0.01416015625, -0.0004062652587890625, -0.00213623046875, 0.0145263671875, -0.00163269...
[ 3642, 47, 96760, 18151, 17368, 34627, 188, 32166, 1295, 159, 38969, 3454, 4867, 102198, 2143, 1250, 9, 91, 2452, 26536, 18253, 502, 11522, 191145, 363, 40899, 32036, 126597, 49756, 18444, 26278, 454, 31577, 33022, 79986, 69101, 6626, 1957, ...
[ 0.09381103515625, 0.08282470703125, 0.2166748046875, 0.2431640625, 0.0919189453125, 0.256103515625, 0.1356201171875, 0.2744140625, 0.046478271484375, 0.1278076171875, 0.21484375, 0.1392822265625, 0.1927490234375, 0.0902099609375, 0.1881103515625, 0.150634765625, 0.00164794921875, 0...
embed
23556166_c0
23556166
prolog
0
Title: Solving a puzzle using swi-prolog Problem title: Solving a puzzle using swi-prolog Tags: prolog Problem: Solving a puzzle using swi-prolog I've been given as an assignment to write using prolog a solver for the battleships solitaire puzzle. To those unfamiliar, the puzzle deals with a 6 by 6 grid on which a seri...
Solving a puzzle using swi-prolog Solving a puzzle using swi-prolog prolog swi-prolog Solving ShipCount Rows Cols Tiles ShipCount2 Rows2 Cols2 Tiles2 nth1 TilesXY Tile dec_elem1 Tail A-1 Count Tail2 Count1 Count-1 X1-1 X1-X2 Columns run:-initial Solving a puzzle using swi-prolog I've been given as an assignment to writ...
[ 0.0130615234375, -0.000728607177734375, 0.02294921875, 0.021728515625, -0.01165771484375, -0.00750732421875, -0.02197265625, -0.0034332275390625, 0.007171630859375, -0.01434326171875, 0.00035858154296875, 0.0255126953125, 0.002593994140625, -0.005218505859375, 0.00872802734375, 0.00674...
[ 6678, 6496, 104192, 17368, 91, 2452, 3454, 4867, 502, 8294, 254, 108210, 96190, 11554, 5064, 304, 927, 143907, 57865, 27889, 1218, 62, 5759, 115727, 233987, 11675, 34475, 95486, 33022, 3115, 814, 133868, 16070, 7, 20245, 44386, 69211, 305, ...
[ 0.1173095703125, 0.007110595703125, 0.2044677734375, 0.042694091796875, 0.032073974609375, 0.2060546875, 0.1531982421875, 0.2183837890625, 0.1539306640625, 0.1392822265625, 0.0235748291015625, 0.1600341796875, 0.1663818359375, 0.1087646484375, 0.14892578125, 0.041717529296875, 0.0426...
embed
4585542_c1
4585542
prolog
1
opera). arista(2, opera, sol). arista(2, sol, sevilla). arista(2, sevilla, banco_de_espana). arista(2, banco_de_espana, retiro). arista(2, retiro, principe_de_vergara). arista(2, principe_de_vergara, goya). arista(2, goya, manuel_becerra). arista(2, manuel_becerra, ventas). arista(3, moncloa, arguelles). arista(3, arg...
opera). arista(2, opera, sol). arista(2, sol, sevilla). arista(2, sevilla, banco_de_espana). arista(2, banco_de_espana, retiro). arista(2, retiro, principe_de_vergara). arista(2, principe_de_vergara, goya). arista(2, goya, manuel_becerra). arista(2, manuel_becerra, ventas). arista(3, moncloa, arguelles). arista(3, arg...
[ 0.0081787109375, -0.00616455078125, 0.01220703125, 0.0164794921875, -0.00396728515625, 0.00439453125, -0.022216796875, -0.00897216796875, 0.0069580078125, -0.049072265625, 0.0081787109375, 0.01165771484375, -0.01312255859375, 0.0030975341796875, -0.00238037109375, 0.01190185546875, 0...
[ 6264, 194, 187, 1035, 54753, 3115, 40, 36417, 66799, 41279, 35425, 516, 62062, 112, 814, 17117, 738, 395, 159168, 127917, 86827, 63499, 106926, 16684, 3595, 49476, 11782, 11, 60984, 97247, 78444, 2400, 20549, 1704, 249, 8, 28620, 32312, 143...
[ 0.1854248046875, 0.0188446044921875, 0.1536865234375, 0.231689453125, 0.082763671875, 0.19580078125, 0.0213165283203125, 0.1572265625, 0.124755859375, 0.1085205078125, 0.057373046875, 0.0567626953125, 0.1112060546875, 0.09649658203125, 0.04437255859375, 0.1279296875, 0.02519226074218...
embed
13771516_c0
13771516
prolog
0
Title: How to find equal elements in two lists Problem title: How to find equal elements in two lists Tags: prolog Problem: How to find equal elements in two lists I have the following set of facts: lc('Dr. Smith', 'Algorithms'). lc('Dr. Jones', 'Models & Analysis'). lc('Dr. Smith', 'Operating Systems'). lc('Dr. Jones'...
How to find equal elements in two lists How to find equal elements in two lists prolog How Smith Algorithms Jones Models Analysis Operating Systems Artificial Intelligence Computation Discrete Math Information Retrieval Computer Vision MWF a.m McB TTH p.m NEB Lecturer How to find equal elements in two lists I have the ...
[ 0.00909423828125, 0.0050048828125, -0.00183868408203125, 0.02294921875, -0.0152587890625, 0.003387451171875, -0.0027923583984375, -0.023681640625, -0.0037384033203125, -0.031982421875, -0.004791259765625, 0.0003414154052734375, 0.01177978515625, -0.0135498046875, -0.00628662109375, 0.0...
[ 11249, 47, 7413, 105950, 80854, 23, 6626, 5303, 502, 4867, 37700, 109847, 2783, 18337, 29304, 13293, 114837, 16556, 84837, 231996, 157075, 38417, 78804, 97351, 66941, 46298, 919, 571, 23415, 9960, 75625, 87643, 25632, 5423, 15824, 80889, 59619,...
[ 0.092041015625, 0.040069580078125, 0.1746826171875, 0.2496337890625, 0.230224609375, 0.109375, 0.20068359375, 0.2283935546875, 0.0791015625, 0.1031494140625, 0.213623046875, 0.04998779296875, 0.0634765625, 0.0419921875, 0.203857421875, 0.103515625, 0.0419921875, 0.03594970703125, ...
embed
78549871_c1
78549871
prolog
1
I+1, I < 10, prove(Formula,I1,Proof). prove(Formula) :- time(prove(Formula,1,Proof)),nl, write('P_Proof: '), portray_clause(Proof),!, nl, % buss_tex_print(Proof). term_lower_upper(Proof,J), nl, write('L_Proof: '),nl,nl, latex(J,_LaTeX_output),!, nl, nl. % ---------------------------------------------------------------...
I+1, I < 10, prove(Formula,I1,Proof). prove(Formula) :- time(prove(Formula,1,Proof)),nl, write('P_Proof: '), portray_clause(Proof),!, nl, % buss_tex_print(Proof). term_lower_upper(Proof,J), nl, write('L_Proof: '),nl,nl, latex(J,_LaTeX_output),!, nl, nl. % ---------------------------------------------------------------...
[ -0.002777099609375, 0.01202392578125, 0.0017547607421875, 0.015869140625, 0.002288818359375, -0.019287109375, -0.0032806396484375, -0.01806640625, 0.006622314453125, -0.01104736328125, -0.0028228759765625, -0.000614166259765625, -0.000885009765625, -0.018310546875, -0.001434326171875, ...
[ 87, 21748, 4, 4426, 209, 23534, 18537, 19908, 568, 418, 10752, 4390, 194, 132, 15772, 1733, 66187, 13169, 33022, 683, 12, 11469, 7092, 4032, 38, 79401, 24371, 35662, 13579, 17336, 56, 34, 8079, 1375, 866, 21, 10476, 1542, 1745, 23373, 2...
[ 0.1658935546875, 0.2255859375, 0.043060302734375, 0.1729736328125, 0.22705078125, 0.33251953125, 0.218994140625, 0.255615234375, 0.11181640625, 0.104248046875, 0.193359375, 0.2470703125, 0.06915283203125, 0.05010986328125, 0.1162109375, 0.193115234375, 0.220458984375, 0.06372070312...
embed
34046245_c0
34046245
prolog
0
Title: Classify the main list into substituens using prolog Problem title: Classify the main list into substituens using prolog Tags: list, prolog Problem: Classify the main list into substituens using prolog I'm attempting to check if any element of the first list has a match on the second list. If matching found clas...
Classify the main list into substituens using prolog Classify the main list into substituens using prolog list prolog prolog Classify classify_substituens Rest classify_ab classify_de classify_pq classify_xy List Ab_1 Rest_1 De_1 Rest_2 Pq_1 Rest_3 Xy_1 Rest4 Rest_4 Ab_2 De_2 Pq_2 Xy2 Xy_2 Classify the main list into s...
[ -0.00262451171875, 0.002471923828125, 0.0194091796875, 0.0072021484375, -0.019775390625, 0.00921630859375, -0.006256103515625, 0.0230712890625, 0.00592041015625, 0.0169677734375, 0.006317138671875, -0.000244140625, -0.002899169921875, -0.009033203125, 0.007781982421875, -0.021850585937...
[ 35014, 40383, 5201, 5303, 3934, 209828, 1755, 17368, 502, 4867, 18507, 49756, 2055, 112, 864, 50878, 32036, 3157, 115187, 262, 304, 363, 617, 12765, 12830, 5117, 14858, 17932, 65450, 678, 2685, 1286, 14037, 40865, 114689, 18151, 35064, 26785,...
[ 0.1884765625, 0.1505126953125, 0.0997314453125, 0.19140625, 0.119140625, 0.217041015625, 0.1370849609375, 0.000885009765625, 0.14404296875, 0.2115478515625, 0.1793212890625, 0.120361328125, 0.064208984375, 0.132080078125, 0.05938720703125, 0.092529296875, 0.1251220703125, 0.0374450...
embed
40952628_c0
40952628
prolog
0
Title: Cheapest and shortest path between two nodes Problem title: Cheapest and shortest path between two nodes Tags: prolog, shortest-path, algorithm Problem: Cheapest and shortest path between two nodes I have the need to find the cheapest and shortest path between two nodes in a weighted graph with cycles. I am impl...
Cheapest and shortest path between two nodes Cheapest and shortest path between two nodes prolog shortest-path algorithm Cheapest Cheapest and shortest path between two nodes I have the need to find the cheapest and shortest path between two nodes in a weighted graph with cycles. I am implementing this in Prolog. Since...
[ 0.01177978515625, 0.017822265625, -0.0081787109375, 0.01068115234375, -0.00098419189453125, 0.01806640625, -0.0120849609375, -0.0120849609375, 0.019287109375, -0.0244140625, -0.004547119140625, 0.0032196044921875, -0.01214599609375, 0.0115966796875, 0.0167236328125, 0.0250244140625, ...
[ 5024, 11, 113778, 136, 16610, 525, 60875, 17721, 6626, 110, 988, 502, 4867, 128405, 234873, 3871, 7413, 64720, 57888, 41382, 678, 105823, 29479, 1250, 840, 74481, 756, 144573, 7722, 168867, 13448, 33938, 4420, 125728, 27226, 98323, 4271, 1195...
[ 0.1197509765625, 0.08642578125, 0.1390380859375, 0.0245819091796875, 0.173828125, 0.1302490234375, 0.2010498046875, 0.14501953125, 0.11865234375, 0.154296875, 0.07183837890625, 0.112060546875, 0.208251953125, 0.1488037109375, 0.18408203125, 0.0238189697265625, 0.06585693359375, 0.1...
embed
6838205_c0
6838205
prolog
0
Title: finding the index of the min element in a list &amp; getting element at the corresponding index position in another list in Prolog Problem title: finding the index of the min element in a list &amp; getting element at the corresponding index position in another list in Prolog Tags: list, prolog Problem: finding ...
finding the index of the min element in a list &amp; getting element at the corresponding index position in another list in Prolog finding the index of the min element in a list &amp; getting element at the corresponding index position in another list in Prolog list prolog a Prolog min2 i.e list1 Head Element Tail find...
[ 0.010986328125, -0.0079345703125, 0.0125732421875, 0.00787353515625, -0.01458740234375, 0.027587890625, 0.024658203125, -0.0091552734375, 0.01165771484375, -0.008056640625, 0.020751953125, 0.00537109375, -0.00830078125, -0.020263671875, 0.0072021484375, 0.0076904296875, 0.01458740234...
[ 90791, 63262, 881, 12830, 5303, 20949, 99, 42518, 19069, 15700, 1250, 4867, 23, 502, 304, 44816, 48325, 1218, 379, 31577, 7413, 15440, 28412, 28864, 1653, 2063, 70, 16750, 39580, 5117, 3647, 7225, 44691, 144, 571, 36356 ]
[ 0.114990234375, 0.2203369140625, 0.26611328125, 0.1942138671875, 0.159423828125, 0.07073974609375, 0.0284271240234375, 0.0223388671875, 0.1270751953125, 0.0142364501953125, 0.1334228515625, 0.205322265625, 0.021759033203125, 0.086669921875, 0.0963134765625, 0.0968017578125, 0.1419677...
embed
55110407_c0
55110407
prolog
0
Title: Hide Module/Package from Trace Problem title: Hide Module/Package from Trace Tags: prolog, swi-prolog, trace Problem: Hide Module/Package from Trace How do I hide a module or a whole package from tracing. I have this query, and I want to step through it, but I am not interested in what CLP(X) does, only at what ...
Hide Module/Package from Trace Hide Module/Package from Trace prolog swi-prolog trace Trace Hide Module Package Welcome SWI-Prolog Call clpfd:clpfd_in _2662 clpfd:fd_variable Exit dif:dif _3044 _3410 Jekejeke Prolog Development Environment Yes Fail Hide Module/Package from Trace How do I hide a module or a whole packag...
[ 0.019287109375, 0.006988525390625, 0.00958251953125, 0.02490234375, -0.0203857421875, 0.0036773681640625, 0.0233154296875, -0.00010824203491210938, -0.00750732421875, -0.031982421875, -0.020751953125, 0.019287109375, -0.0244140625, 0.002288818359375, 0.01324462890625, -0.00343322753906...
[ 2673, 112, 63014, 64, 205956, 1295, 4937, 329, 502, 4867, 2452, 3454, 144851, 56607, 91334, 159, 38969, 10752, 26265, 33139, 39557, 71, 34937, 4046, 10837, 21690, 5443, 45755, 12465, 845, 19862, 6614, 1250, 55441, 1900, 190355, 54, 87, 1274...
[ 0.2034912109375, 0.2120361328125, 0.2265625, 0.00213623046875, 0.228515625, 0.13134765625, 0.191162109375, 0.132080078125, 0.0809326171875, 0.1693115234375, 0.1165771484375, 0.0860595703125, 0.200927734375, 0.1962890625, 0.0440673828125, 0.008270263671875, 0.1688232421875, 0.108520...
embed
39780250_c0
39780250
prolog
0
Title: Prolog predicate only returns one result Problem title: Prolog predicate only returns one result Tags: prolog, trace Problem: Prolog predicate only returns one result I have a predicate called spider with the following code: person(ada). person(beda). person(calle). knows(ada,beda). knows(ada,calle). knows(beda,...
Prolog predicate only returns one result Prolog predicate only returns one result prolog trace Prolog Returns Prolog predicate only returns one result I have a predicate called spider with the following code: Calls to spider(ada), spider(beda) and spider(calle) all separately return true. But when I call spider(X), I d...
[ 0.0169677734375, 0.003570556640625, 0.002349853515625, 0.01165771484375, -0.01141357421875, -0.003997802734375, -0.000759124755859375, -0.0028076171875, 0.012451171875, -0.036865234375, 0.00897216796875, 0.01141357421875, -0.0150146484375, -0.00244140625, 0.0255126953125, 0.01489257812...
[ 1250, 4867, 1653, 2063, 67, 4734, 30646, 1632, 16750, 502, 144851, 173340, 765, 35839, 16195, 820, 25632, 18151, 26265, 47, 1090, 68998, 408, 1229, 756, 84797, 29568, 11782, 1542, 2301, 18, 2046, 17262, 51347, 100, 1193, 5117, 29806, 2203, ...
[ 0.1676025390625, 0.232421875, 0.18798828125, 0.2236328125, 0.1087646484375, 0.132080078125, 0.2042236328125, 0.16162109375, 0.2078857421875, 0.1292724609375, 0.157958984375, 0.1585693359375, 0.010498046875, 0.02685546875, 0.165771484375, 0.142822265625, 0.02252197265625, 0.10778808...
embed
21564101_c0
21564101
prolog
0
Title: Prolog inheritance confusion Problem title: Prolog inheritance confusion Tags: prolog, inheritance, frame, artificial-intelligence, recursion Problem: Prolog inheritance confusion Just a little confused about this prolog script.. /*frame representation */ frame(name(bird), isa(animal), hasproperty([fly, feathers...
Prolog inheritance confusion Prolog inheritance confusion prolog inheritance frame artificial-intelligence recursion recursion Prolog easily_frightened my_pet barn_owl large_eyes forward_facing Concept Prop Parent NewProp Prolog inheritance confusion Just a little confused about this prolog script.. I understand the fi...
[ 0.0233154296875, 0.00116729736328125, 0.0016021728515625, 0.0233154296875, -0.0108642578125, 0.0036468505859375, 0.00927734375, 0.00726318359375, -0.0023651123046875, -0.038818359375, 0.01007080078125, -0.0123291015625, -0.00518798828125, -0.0091552734375, 0.00579833984375, -0.00267028...
[ 1250, 4867, 23, 3334, 217, 7154, 169463, 502, 123789, 66733, 130687, 195625, 72546, 420, 54969, 33, 297, 759, 5408, 4140, 31, 27751, 21334, 31463, 40225, 91468, 128182, 43796, 170918, 2356, 10752, 254, 10176, 55681, 903, 26499, 28219, 5117, ...
[ 0.205078125, 0.277099609375, 0.10693359375, 0.2254638671875, 0.1768798828125, 0.0721435546875, 0.218994140625, 0.19287109375, 0.2479248046875, 0.0855712890625, 0.1082763671875, 0.1474609375, 0.1512451171875, 0.0765380859375, 0.1419677734375, 0.13134765625, 0.0218658447265625, 0.079...
embed
40654257_c0
40654257
prolog
0
Title: Prolog count numbers of elements Error Problem title: Prolog count numbers of elements Error Tags: prolog, instantiation-error Problem: Prolog count numbers of elements Error I'm learning prolog, and I want to count a specific element occurence in a list. So here is the code - count(_, [], _) := !. count(El, [El...
Prolog count numbers of elements Error Prolog count numbers of elements Error prolog instantiation-error Prolog Error List1 List2 Arguments Exception _G1383 _L155 _G1385 Prolog count numbers of elements Error I'm learning prolog, and I want to count a specific element occurence in a list. So here is the code - so basic...
[ 0.0140380859375, 0.0081787109375, -0.0089111328125, -0.00014400482177734375, 0.015625, 0.00009059906005859375, -0.0128173828125, 0.000782012939453125, 0.026123046875, -0.025146484375, -0.00543212890625, -0.02294921875, 0.01080322265625, 0.010986328125, 0.030029296875, -0.01336669921875...
[ 1250, 4867, 54529, 101935, 111, 80854, 212059, 502, 34648, 14, 188800, 32036, 418, 304, 112140, 63928, 2681, 17168, 119477, 12951, 52080, 3444, 29458, 12830, 74918, 6620, 5303, 18151, 198343, 1884, 27875, 47, 130250, 12765, 82449, 96386, 155761...
[ 0.1612548828125, 0.2242431640625, 0.2030029296875, 0.16650390625, 0.0677490234375, 0.2056884765625, 0.176025390625, 0.1085205078125, 0.05914306640625, 0.029052734375, 0.1422119140625, 0.08990478515625, 0.03363037109375, 0.096435546875, 0.1458740234375, 0.06927490234375, 0.07189941406...
embed
33972402_c0
33972402
prolog
0
Title: Prolog Predicates Problem title: Prolog Predicates Tags: predicate, prolog Problem: Prolog Predicates So I have this knowledge base family(person(name(tom),surname(fox),date(7,may,1950),job(bbc,15200)), person(name(ann),surname(fox),date(9,may,1951),job(unemployed)), children[person(name(pat),surname(fox),date(5...
Prolog Predicates Prolog Predicates predicate prolog Prolog Predicates Prolog Predicates So I have this knowledge base And what I'm trying to do is figure out a way to create a predicate wife/1 that will return all the working wives, and a predicate exists/1 that will return all the unemployed parents that are born bef...
[ 0.031494140625, -0.01458740234375, 0.0025787353515625, 0.0023040771484375, -0.0203857421875, 0.032470703125, -0.0064697265625, 0.01055908203125, -0.003692626953125, -0.034912109375, -0.01007080078125, -0.0103759765625, -0.036865234375, -0.007568359375, 0.005340576171875, 0.00439453125,...
[ 1250, 4867, 7145, 2063, 1636, 1653, 67, 502, 1061, 765, 903, 51359, 3647, 31577, 54, 26366, 3917, 28282, 10, 58386, 11583, 450, 1221, 30646, 756, 20697, 148, 60877, 136, 32316, 51, 212423, 27863, 621, 103122, 8108, 36102, 32233, 3525, 223...
[ 0.1942138671875, 0.2459716796875, 0.1986083984375, 0.263671875, 0.1168212890625, 0.1983642578125, 0.179931640625, 0.12841796875, 0.00830078125, 0.043975830078125, 0.0272369384765625, 0.112548828125, 0.12353515625, 0.1033935546875, 0.032745361328125, 0.1043701171875, 0.0694580078125, ...
embed
65806932_c0
65806932
prolog
0
Title: Prolog does not compute the variable for a list Problem title: Prolog does not compute the variable for a list Tags: prolog Problem: Prolog does not compute the variable for a list I have this assignment in my programming course where I find train connections with their stopovers. That's why I give two variables...
Prolog does not compute the variable for a list Prolog does not compute the variable for a list prolog a Prolog When Start Destination TDeparture TArrival Departure Stops Stop Arrival Query List Should Prolog does not compute the variable for a list I have this assignment in my programming course where I find train con...
[ 0.004119873046875, 0.005859375, 0.0257568359375, 0.0164794921875, 0.00194549560546875, 0.01318359375, -0.02734375, -0.0103759765625, 0.00933837890625, -0.02490234375, 0.007537841796875, 0.0025482177734375, -0.021484375, -0.0107421875, 0.008056640625, -0.00396728515625, 0.006805419921...
[ 1250, 4867, 959, 9969, 6743, 77336, 100, 5303, 502, 13794, 145778, 13, 2500, 1405, 262, 42284, 205545, 141, 58836, 32036, 151117, 95486, 56037, 7413, 25550, 94878, 7279, 5465, 8337, 6626, 1193, 30780, 1733, 990, 4734, 2046, 4420 ]
[ 0.1689453125, 0.2578125, 0.1146240234375, 0.15771484375, 0.145263671875, 0.285888671875, 0.06024169921875, 0.1988525390625, 0.131103515625, 0.08544921875, 0.1435546875, 0.031707763671875, 0.1134033203125, 0.1036376953125, 0.0273895263671875, 0.10003662109375, 0.1043701171875, 0.018...
embed
55512086_c0
55512086
prolog
0
Title: Prolog planning using retract and assert Problem title: Prolog planning using retract and assert Tags: planning, prolog Problem: Prolog planning using retract and assert I wonder, is it possible to do planning in Prolog using the knowledge base modified by retract and assert during the runtime? My idea is as fol...
Prolog planning using retract and assert Prolog planning using retract and assert planning prolog retract Prolog Where What put_on Prolog planning using retract and assert I wonder, is it possible to do planning in Prolog using the knowledge base modified by retract and assert during the runtime? My idea is as follows:...
[ 0.0211181640625, 0.0191650390625, 0.00124359130859375, 0.00104522705078125, -0.00970458984375, 0.0029296875, -0.00897216796875, 0.00616455078125, 0.01104736328125, -0.034423828125, 0.00994873046875, 0.0242919921875, -0.0262451171875, 0.012451171875, 0.00408935546875, -0.007537841796875...
[ 1250, 4867, 58136, 17368, 41499, 15390, 136, 237, 33657, 502, 3884, 191, 7722, 54, 51359, 3647, 73197, 20271, 11675, 6032, 6528, 41591, 3871, 91995, 49878, 141475, 2258, 831, 9844, 61585, 25813, 4092, 3687, 1257, 6044, 18151, 167802, 478, 4...
[ 0.1619873046875, 0.252685546875, 0.224609375, 0.0595703125, 0.195068359375, 0.1749267578125, 0.1090087890625, 0.084228515625, 0.2080078125, 0.0780029296875, 0.0841064453125, 0.0714111328125, 0.0841064453125, 0.0149078369140625, 0.137451171875, 0.10736083984375, 0.09796142578125, 0....
embed
25891788_c0
25891788
prolog
0
Title: Java command-line property names must always start with lower case? Problem title: Java command-line property names must always start with lower case? Tags: java, prolog Problem: Java command-line property names must always start with lower case? Is there a way to make java -DFOOBAR=foobar work? The property val...
Java command-line property names must always start with lower case? Java command-line property names must always start with lower case? java prolog Java DFOOBAR JIP:-invoke java.lang.System java.lang.String Value Yes FOOBAR call_java_class_method Result Java command-line property names must always start with lower case...
[ 0.0087890625, -0.00101470947265625, 0.01190185546875, -0.001708984375, 0.005615234375, -0.0019989013671875, 0.017333984375, -0.0004863739013671875, -0.0003681182861328125, 0.042724609375, 0.00921630859375, 0.04150390625, -0.0220947265625, -0.002532958984375, -0.01226806640625, 0.000797...
[ 41925, 75101, 2256, 57266, 123055, 8110, 11343, 4034, 678, 92319, 7225, 79, 330, 502, 4867, 98411, 30563, 59809, 821, 10931, 73, 23253, 3066, 84293, 71713, 190060, 32635, 563, 11782, 24071, 67413, 1928, 126684, 3917, 38997, 3584, 31, 1299, ...
[ 0.243896484375, 0.19140625, 0.162841796875, 0.2218017578125, 0.182861328125, 0.08489990234375, 0.1181640625, 0.140625, 0.046112060546875, 0.2109375, 0.2054443359375, 0.1627197265625, 0.2237548828125, 0.052032470703125, 0.17724609375, 0.052490234375, 0.11572265625, 0.2381591796875, ...
embed
16599119_c0
16599119
prolog
0
Title: Unification(?) in Prolog Problem title: Unification(?) in Prolog Tags: unification, prolog Problem: Unification(?) in Prolog I have a school project where I have to work with Prolog. This is all new to me, so I'm having some problems. I have a list like this: List = [(_,_,_),(_,_,_),(_,_,_)] I'm supposed to rece...
Unification(?) in Prolog Unification(?) in Prolog unification prolog Unification Prolog List Unification(?) in Prolog I have a school project where I have to work with Prolog. This is all new to me, so I'm having some problems. I have a list like this: I'm supposed to receive from the input information about each membe...
[ 0.004730224609375, 0.018798828125, 0.034912109375, -0.0017242431640625, -0.02685546875, 0.00122833251953125, -0.0021209716796875, 0.00518798828125, 0.005523681640625, -0.0042724609375, -0.004302978515625, 0.01214599609375, 0.013671875, -0.00506591796875, -0.0030670166015625, 0.00720214...
[ 992, 41274, 82600, 23, 1250, 4867, 51, 502, 32036, 10696, 13452, 4488, 3525, 44402, 5303, 1884, 134598, 53299, 107730, 4677, 12638, 32786, 8305, 40368, 1653, 2063, 8110, 28282, 10644, 276, 418, 40101, 304, 707, 363, 1284, 959, 15044, 117249...
[ 0.22802734375, 0.2060546875, 0.058990478515625, 0.05352783203125, 0.1878662109375, 0.244384765625, 0.20703125, 0.1318359375, 0.22119140625, 0.0880126953125, 0.07666015625, 0.03155517578125, 0.00909423828125, 0.060638427734375, 0.181640625, 0.010284423828125, 0.0709228515625, 0.1020...
embed
65386644_c0
65386644
prolog
0
Title: NU-Prolog&#x27;s and Gödel&#x27;s logical and sound `if-then-else` extension Problem title: NU-Prolog&#x27;s and Gödel&#x27;s logical and sound `if-then-else` extension Tags: prolog, logic-programming, logical-purity Problem: NU-Prolog's and Gödel's logical and sound `if-then-else` extension A paper about mercur...
NU-Prolog&#x27;s and Gödel&#x27;s logical and sound `if-then-else` extension NU-Prolog&#x27;s and Gödel&#x27;s logical and sound `if-then-else` extension prolog logic-programming logical-purity NU-Prolog if_ NU-Prolog's and Gödel's logical and sound `if-then-else` extension A paper about mercury says the following: NU-...
[ 0.01904296875, 0.006103515625, 0.0224609375, 0.001220703125, 0.002197265625, 0.01141357421875, -0.001953125, 0.003753662109375, 0.00933837890625, -0.012939453125, 0.004058837890625, 0.004730224609375, -0.021728515625, -0.00927734375, 0.034912109375, 0.0052490234375, 0.02392578125, ...
[ 18057, 10752, 4867, 3768, 136, 23912, 1743, 62775, 289, 45730, 3190, 92733, 5557, 111938, 502, 28966, 4717, 2174, 15122, 1143, 16820, 53, 9, 6713, 43257, 103494, 351, 32087, 7464, 32195, 4865, 6097, 91995, 9035, 765, 60223, 23, 159, 38969, ...
[ 0.21435546875, 0.1734619140625, 0.2418212890625, 0.0467529296875, 0.0740966796875, 0.1568603515625, 0.21484375, 0.180419921875, 0.03253173828125, 0.2076416015625, 0.17578125, 0.1888427734375, 0.22265625, 0.197265625, 0.13232421875, 0.09375, 0.1068115234375, 0.202880859375, 0.0019...
embed
72706366_c1
72706366
prolog
1
], B = (p1, p5, p3). when querying ?- random_knowledge_base(4, 3, 5, 0.5, KB). The output KB = [(p1, -p4, -p5), (p2, p3, p4), (p2, p3, -p5), (p3, -p1, -p4)]. But i want the output to stay int the "Ls" form, meaning that it would look like this KB = [[p1, -p4, -p5], [p2, p3, p4], [p2, p3, -p5], [p3, -p1, -p4]]. Because ...
], B = (p1, p5, p3). when querying ?- random_knowledge_base(4, 3, 5, 0.5, KB). The output KB = [(p1, -p4, -p5), (p2, p3, p4), (p2, p3, -p5), (p3, -p1, -p4)]. But i want the output to stay int the "Ls" form, meaning that it would look like this KB = [[p1, -p4, -p5], [p2, p3, p4], [p2, p3, -p5], [p3, -p1, -p4]]. Because ...
[ 0.032958984375, 0.022216796875, 0.00933837890625, -0.00787353515625, -0.0189208984375, 0.012451171875, -0.00665283203125, -0.0179443359375, 0.000888824462890625, -0.01043701171875, 0.01495361328125, 0.02001953125, -0.017333984375, 0.008544921875, 0.0028839111328125, 0.01287841796875, ...
[ 10114, 335, 2203, 254, 418, 915, 758, 21320, 41, 1294, 705, 96759, 69723, 181606, 37382, 105801, 138, 190, 81730, 30742, 140992, 617, 43317, 304, 363, 29557, 17, 3444, 47, 24765, 18, 866, 7, 3173, 6713, 1884, 88949, 155605, 903, 14858, ...
[ 0.0059814453125, 0.114013671875, 0.0931396484375, 0.021209716796875, 0.023773193359375, 0.0159759521484375, 0.132568359375, 0.081787109375, 0.1395263671875, 0.133056640625, 0.041595458984375, 0.1903076171875, 0.110107421875, 0.153564453125, 0.2091064453125, 0.053619384765625, 0.06494...
embed
33722593_c0
33722593
prolog
0
Title: Prolog &quot;winning position&quot; Problem title: Prolog &quot;winning position&quot; Tags: prolog Problem: Prolog "winning position" This is a game for 2 people to remove numbers from a list. A player will lose if the player picks up the last number. Given the 2 rules of removing numbers in a list, Prolog sear...
Prolog &quot;winning position&quot; Prolog &quot;winning position&quot; prolog Prolog Prolog "winning position" This is a game for 2 people to remove numbers from a list. A player will lose if the player picks up the last number. Given the 2 rules of removing numbers in a list, There is a question, I am really confused...
[ -0.00787353515625, 0.0218505859375, 0.0267333984375, 0.0103759765625, -0.0089111328125, 0.00213623046875, -0.0172119140625, -0.00080108642578125, 0.0106201171875, -0.0072021484375, 0.0120849609375, 0.0120849609375, 0.007568359375, -0.004180908203125, -0.01104736328125, 0.01239013671875...
[ 1250, 4867, 69986, 19069, 502, 3293, 6712, 116, 3395, 87388, 101935, 1295, 5303, 58585, 388, 39580, 1257, 4568, 14012, 91736, 49146, 6496, 9655, 6183, 55681, 5281, 3642, 831, 1197, 4, 58359, 91230, 1614, 39989, 541, 1632, 12830, 4734, 1496,...
[ 0.1805419921875, 0.2474365234375, 0.2330322265625, 0.2391357421875, 0.1307373046875, 0.0192413330078125, 0.1497802734375, 0.0987548828125, 0.06817626953125, 0.1700439453125, 0.170166015625, 0.055023193359375, 0.1761474609375, 0.1036376953125, 0.0885009765625, 0.07000732421875, 0.0115...
embed
19620072_c0
19620072
prolog
0
Title: Prolog Fox, Goose &amp; Grain riddle, not showing output Problem title: Prolog Fox, Goose &amp; Grain riddle, not showing output Tags: river-crossing-puzzle, prolog Problem: Prolog Fox, Goose & Grain riddle, not showing output I'm trying to solve the fox, goose, and grain riddle (where the farmer can only transp...
Prolog Fox, Goose &amp; Grain riddle, not showing output Prolog Fox, Goose &amp; Grain riddle, not showing output river-crossing-puzzle prolog Prolog Fox Goose Grain Farmer_position Fox_position Goose_position Grain_position Prolog Fox, Goose & Grain riddle, not showing output I'm trying to solve the fox, goose, and gr...
[ 0.020751953125, 0.02099609375, -0.015869140625, 0.01806640625, -0.018310546875, 0.0279541015625, -0.006103515625, -0.013916015625, 0.00185394287109375, -0.003387451171875, 0.0030975341796875, -0.0103759765625, -0.00118255615234375, 0.00811767578125, 0.006500244140625, 0.0106201171875, ...
[ 1250, 4867, 49049, 4, 2016, 8364, 619, 25133, 6524, 73, 31351, 19298, 959, 141377, 140992, 96113, 95665, 214, 1766, 13894, 133, 502, 51869, 56, 40322, 86869, 147797, 738, 136, 162048, 171751, 831, 4734, 6181, 66570, 17262, 36880, 25632, 181...
[ 0.1778564453125, 0.257568359375, 0.2025146484375, 0.036590576171875, 0.1392822265625, 0.189208984375, 0.079345703125, 0.07330322265625, 0.2091064453125, 0.09576416015625, 0.147216796875, 0.1646728515625, 0.07647705078125, 0.1689453125, 0.2529296875, 0.162841796875, 0.1441650390625, ...
embed
20337029_c0
20337029
prolog
0
Title: Hashi Puzzle Representation to solve all solutions with Prolog Restrictions Problem title: Hashi Puzzle Representation to solve all solutions with Prolog Restrictions Tags: puzzle, prolog, solver Problem: Hashi Puzzle Representation to solve all solutions with Prolog Restrictions Im trying to write a prolog prog...
Hashi Puzzle Representation to solve all solutions with Prolog Restrictions Hashi Puzzle Representation to solve all solutions with Prolog Restrictions puzzle prolog solver Hashi Puzzle Representation Prolog Restrictions NumberOfConnections ListOfConnections Index ListOfIndex Hashi Puzzle Representation to solve all so...
[ -0.017578125, -0.0177001953125, 0.003265380859375, 0.0218505859375, -0.01611328125, 0.01214599609375, 0.005767822265625, -0.006072998046875, -0.003997802734375, -0.0185546875, -0.0086669921875, -0.0145263671875, 0.004608154296875, 0.0024871826171875, -0.0057373046875, -0.005615234375, ...
[ 162087, 14, 179277, 130877, 47, 86869, 756, 51347, 678, 1250, 4867, 853, 144225, 17514, 104192, 502, 3115, 814, 103332, 132887, 235603, 32036, 31471, 39659, 31577, 33022, 1528, 18811, 51, 86918, 45443, 35166, 7722, 17368, 185190, 3370, 7941, ...
[ 0.179443359375, 0.1812744140625, 0.189208984375, 0.2205810546875, 0.01068115234375, 0.1534423828125, 0.1181640625, 0.1556396484375, 0.051910400390625, 0.13232421875, 0.1763916015625, 0.0706787109375, 0.1842041015625, 0.0552978515625, 0.140380859375, 0.10552978515625, 0.111572265625, ...
embed
30858473_c0
30858473
prolog
0
Title: prolog rules as arguments Problem title: prolog rules as arguments Tags: artificial-intelligence, expert-system, prolog Problem: prolog rules as arguments I'm building an expert system shell based on Luger & Stubblefield's ExShell. In their system, they define rules in the following way: rule((Goal :- (Premise))...
prolog rules as arguments prolog rules as arguments artificial-intelligence expert-system prolog Goal Premise CF_Rule Advice bad_component Rules Threshold CF_premise rule_cf above_threshold prolog rules as arguments I'm building an expert system shell based on Luger & Stubblefield's ExShell. In their system, they defin...
[ 0.0223388671875, 0.0244140625, 0.00274658203125, 0.0087890625, -0.0098876953125, 0.027587890625, -0.0206298828125, -0.0072021484375, -0.004791259765625, -0.03759765625, 0.000476837158203125, -0.007049560546875, -0.023193359375, 0.007568359375, 0.0206298828125, 0.002044677734375, 0.00...
[ 502, 4867, 91736, 237, 10750, 66733, 130687, 26808, 16751, 2016, 289, 38394, 73754, 26951, 133, 3145, 20375, 6494, 54137, 139118, 2109, 16200, 41707, 79986, 67466, 36917, 33976, 5426, 128019, 35509, 57109, 56, 619, 26085, 73163, 28394, 5443, ...
[ 0.17626953125, 0.260498046875, 0.2232666015625, 0.07769775390625, 0.2200927734375, 0.0968017578125, 0.1031494140625, 0.1865234375, 0.1116943359375, 0.0882568359375, 0.00750732421875, 0.1219482421875, 0.1676025390625, 0.18359375, 0.11474609375, 0.036468505859375, 0.1123046875, 0.091...
embed
72753747_c0
72753747
prolog
0
Title: How do I loop through Items from one rule without nesting looping the Rule on the next line? Problem title: How do I loop through Items from one rule without nesting looping the Rule on the next line? Tags: prolog, predicate Problem: How do I loop through Items from one rule without nesting looping the Rule on t...
How do I loop through Items from one rule without nesting looping the Rule on the next line? How do I loop through Items from one rule without nesting looping the Rule on the next line? prolog predicate one How Items Rule Contains Item Connected Enter Place How do I loop through Items from one rule without nesting loop...
[ -0.013916015625, 0.00244140625, 0.0029296875, 0.0137939453125, 0.0115966796875, 0.03759765625, 0, -0.0072021484375, -0.004486083984375, -0.046630859375, 0.0230712890625, -0.00982666015625, -0.006561279296875, -0.005279541015625, -0.00634765625, -0.00128936767578125, 0.015625, 0.014...
[ 11249, 54, 87, 40956, 8305, 78426, 7, 1295, 1632, 79986, 15490, 4909, 1916, 139118, 11737, 13315, 502, 4867, 1653, 2063, 34749, 5425, 62448, 297, 60816, 41076, 1250, 77878, 9351, 17155, 112079, 18, 13379, 112875, 162711, 51359, 3647, 31089, ...
[ 0.0716552734375, 0.0227508544921875, 0.0210418701171875, 0.21923828125, 0.197509765625, 0.2415771484375, 0.09478759765625, 0.117919921875, 0.104736328125, 0.212646484375, 0.1248779296875, 0.09820556640625, 0.05609130859375, 0.2286376953125, 0.066650390625, 0.0985107421875, 0.11474609...
embed
52729401_c0
52729401
prolog
0
Title: How to write a prolog rule that calculates the average salary? Problem title: How to write a prolog rule that calculates the average salary? Tags: prolog Problem: How to write a prolog rule that calculates the average salary? I have this Database in Prolog: family(person( john, cohen, date(17,may,1990), unemploy...
How to write a prolog rule that calculates the average salary? How to write a prolog rule that calculates the average salary? prolog How Children How to write a prolog rule that calculates the average salary? I have this Database in Prolog: The format is: family(husband,wife,[children]). Each person in the family has a...
[ 0.0211181640625, -0.01214599609375, -0.021728515625, -0.00061798095703125, -0.01904296875, 0.0096435546875, -0.01068115234375, 0.0054931640625, 0.00665283203125, -0.01483154296875, -0.0084228515625, -0.01513671875, -0.01226806640625, 0.006378173828125, 0.0262451171875, -0.0098266601562...
[ 11249, 47, 33022, 502, 4867, 79986, 74481, 83080, 4559, 1294, 91345, 10, 1636, 187781, 1250, 9384, 14449, 6378, 8262, 2452, 2242, 237052, 98423, 3445, 9351, 127319, 4488, 95486, 144570, 91736, 601, 18781, 188, 1803, 4153, 45738, 12477, 9969, ...
[ 0.08575439453125, 0.028045654296875, 0.179931640625, 0.161376953125, 0.221435546875, 0.19921875, 0.1488037109375, 0.21533203125, 0.210693359375, 0.1668701171875, 0.175537109375, 0.0183563232421875, 0.01690673828125, 0.142333984375, 0.13916015625, 0.10986328125, 0.1246337890625, 0.0...
embed
65737468_c0
65737468
prolog
0
Title: Prolog: Given a Matrix create the transpose Problem title: Prolog: Given a Matrix create the transpose Tags: prolog Problem: Prolog: Given a Matrix create the transpose I'm trying to learn how to use Prolog. I have a matrix and I should make the transpose of this matrix. I have done in this way: transpose_matrix...
Prolog: Given a Matrix create the transpose Prolog: Given a Matrix create the transpose prolog Prolog Given Matrix transpose_matrix New_Matrix Num_Rows nth0 First_Row Num_Cols Row Col Element Rest Rest1 Current_Row Row1 _Element _Rest Col1 _Matrix _Row _New_Matrix _17602 _17604 _17650 _17652 _17698 _17700 _17658 Prolog...
[ -0.008544921875, 0.0185546875, 0.018310546875, 0.00897216796875, -0.00518798828125, -0.0084228515625, -0.0322265625, 0.0120849609375, 0.003082275390625, -0.030029296875, 0.0194091796875, -0.00958251953125, -0.0107421875, 0.002197265625, -0.006195068359375, 0.0283203125, 0.01550292968...
[ 1250, 4867, 77878, 19, 194234, 28282, 3900, 78381, 502, 192, 87427, 2356, 4613, 52782, 12724, 19725, 2389, 23972, 434, 78457, 96190, 11554, 48325, 49756, 418, 114063, 19929, 525, 46568, 160037, 192066, 10, 30698, 4527, 765, 50944, 425, 3249, ...
[ 0.18505859375, 0.24267578125, 0.1287841796875, 0.0482177734375, 0.2459716796875, 0.1732177734375, 0.2161865234375, 0.232177734375, 0.150634765625, 0.0875244140625, 0.127197265625, 0.03973388671875, 0.07049560546875, 0.061737060546875, 0.0770263671875, 0.015960693359375, 0.03065490722...
embed
60580787_c0
60580787
prolog
0
Title: Sum up data from facts Problem title: Sum up data from facts Tags: prolog, prolog-findall Problem: Sum up data from facts (Given a list of movies, write a PROLOG rule to add and display the total takings.) This is my question I am basically trying to add an integer value give a list of movies from the list below...
Sum up data from facts Sum up data from facts prolog prolog-findall facts Sum air_force_one american_beauty american_pie american_wedding as_good_as_it_gets austin_powers_in_goldmember back_to_the_future back_to_the_future_part_ii back_to_the_future_part_iii bad_boys_ii bad_boys__ii Movies Money Profit ListOfProfit sum...
[ 0, 0.01019287109375, 0.01171875, 0.005645751953125, -0.018310546875, -0.00013637542724609375, -0.0012664794921875, 0.039794921875, 0.01318359375, -0.0181884765625, 0.00030517578125, -0.00970458984375, 0, 0.00494384765625, 0.0086669921875, 0.006256103515625, 0.0169677734375, -0.0100...
[ 36335, 1257, 2053, 1295, 15824, 7, 502, 4867, 111607, 5584, 1831, 50930, 3630, 60680, 217017, 5066, 29495, 214, 237, 70810, 162, 217, 3794, 1312, 2311, 62783, 73, 122558, 39, 27417, 4420, 188, 3125, 6644, 17365, 1573, 6494, 30885, 83896, ...
[ 0.2509765625, 0.1746826171875, 0.1903076171875, 0.16650390625, 0.2225341796875, 0.0723876953125, 0.1556396484375, 0.2364501953125, 0.08251953125, 0.1060791015625, 0.1337890625, 0.1907958984375, 0.1556396484375, 0.1295166015625, 0.1927490234375, 0.1922607421875, 0.1273193359375, 0.1...
embed
75898250_c0
75898250
prolog
0
Title: Unexpected behaviour of prolog program Problem title: Unexpected behaviour of prolog program Tags: prolog, swi-prolog Problem: Unexpected behaviour of prolog program So, I am pretty new to prolog (started just yesterday) and I have next problem: Скласти програму на Пролозі, що встановлює зв’язок по закону Ома (з...
Unexpected behaviour of prolog program Unexpected behaviour of prolog program prolog swi-prolog Unexpected problem2.pl p_ohm b.pl Welcome SWI-Prolog ABSOLUTELY WARRANTY Please www.swi-prolog.org Topic Word ERROR Arguments _14408 _14434 _14442 _14444 _14446 _14450 Users b.pl:25 toplevel_call user:user Cellar toplevel.pl...
[ 0.002166748046875, -0.000667572021484375, -0.004425048828125, 0.01507568359375, 0.002166748046875, -0.0020599365234375, -0.0181884765625, 0.0026702880859375, 0.035400390625, -0.0162353515625, 0.02099609375, 0.0001621246337890625, -0.00799560546875, -0.0301513671875, -0.00543212890625, ...
[ 992, 83613, 13, 89829, 224833, 502, 4867, 1528, 2452, 3454, 2967, 5442, 2424, 915, 454, 10597, 39, 876, 91334, 159, 38969, 10752, 30174, 134912, 22543, 151206, 24638, 112140, 144836, 152697, 161041, 88471, 180730, 60450, 53400, 21224, 2663, 6...
[ 0.0498046875, 0.0947265625, 0.0911865234375, 0.0240020751953125, 0.1732177734375, 0.17724609375, 0.2401123046875, 0.1820068359375, 0.1474609375, 0.12841796875, 0.156005859375, 0.02764892578125, 0.1021728515625, 0.06536865234375, 0.043212890625, 0.14453125, 0.09765625, 0.02249145507...
embed
2573498_c0
2573498
prolog
0
Title: Prolog Program for a recordings database Problem title: Prolog Program for a recordings database Tags: prolog, list Problem: Prolog Program for a recordings database I have three types of facts: album(code, artist, title, date). songs(code, songlist). musicians(code, list). Example: album(123, 'Rolling Stones', ...
Prolog Program for a recordings database Prolog Program for a recordings database prolog list Prolog Program Rolling Stones Beggars Banquet Sympathy Devil Street Fighting Man Mick Jagger Keith Richards Brian Jones Prolog Program for a recordings database I have three types of facts: Example: I need to create these 4 ru...
[ 0.0169677734375, 0.01434326171875, 0.00494384765625, 0.032470703125, -0.0152587890625, 0.02880859375, -0.026123046875, 0.01470947265625, 0.0016021728515625, -0.04443359375, -0.00750732421875, -0.0169677734375, -0.004241943359375, 0.0033721923828125, -0.0096435546875, 0.0242919921875, ...
[ 1250, 4867, 7663, 100, 182304, 7, 63399, 502, 5303, 166693, 47002, 57543, 1970, 5458, 36331, 4843, 39, 192592, 130679, 15130, 106313, 214, 1572, 170313, 2377, 1505, 203314, 22758, 66311, 29304, 17262, 52895, 15824, 89536, 3871, 28282, 201, 91...
[ 0.2044677734375, 0.282958984375, 0.2066650390625, 0.009735107421875, 0.217529296875, 0.1103515625, 0.2386474609375, 0.189208984375, 0.20068359375, 0.12451171875, 0.19580078125, 0.10272216796875, 0.18017578125, 0.0892333984375, 0.147216796875, 0.0215606689453125, 0.1026611328125, 0....
embed
54719622_c0
54719622
prolog
0
Title: Length and Path in Graphs Prolog (avoid infinite recursion for cycles) Problem title: Length and Path in Graphs Prolog (avoid infinite recursion for cycles) Tags: graph-theory, path, prolog, recursion, transitive-closure Problem: Length and Path in Graphs Prolog (avoid infinite recursion for cycles) node(a). nod...
Length and Path in Graphs Prolog (avoid infinite recursion for cycles) Length and Path in Graphs Prolog (avoid infinite recursion for cycles) graph-theory path prolog recursion transitive-closure Length Path Graphs Prolog length_of_path undirected_edge undirected_path Node1 Node2 SomeNode Length and Path in Graphs Prol...
[ 0.0003662109375, 0.0218505859375, -0.0016937255859375, 0.0228271484375, -0.0006866455078125, -0.007354736328125, -0.023681640625, 0.00830078125, 0.0130615234375, -0.059814453125, -0.00323486328125, -0.0040283203125, -0.012939453125, 0.03173828125, 0.025146484375, 0.00823974609375, 0....
[ 77554, 927, 136, 108421, 23, 6524, 11727, 1250, 4867, 14426, 532, 54241, 195625, 1830, 100, 105823, 7, 41382, 2347, 60875, 502, 62621, 5844, 170224, 140909, 4390, 128405, 51, 80581, 297, 438, 418, 112, 304, 31384, 5021, 1542, 1723, 27117, ...
[ 0.160888671875, 0.1339111328125, 0.08941650390625, 0.224609375, 0.0213775634765625, 0.1539306640625, 0.1617431640625, 0.1639404296875, 0.2254638671875, 0.1307373046875, 0.048828125, 0.17041015625, 0.2039794921875, 0.091064453125, 0.012237548828125, 0.1351318359375, 0.000244140625, ...
embed
20830333_c0
20830333
prolog
0
Title: Insert a list into another list given a position P. Prolog Problem title: Insert a list into another list given a position P. Prolog Tags: prolog, list Problem: Insert a list into another list given a position P. Prolog I need to finish a prolog exercise, I have half of it but I need something more to finish it,...
Insert a list into another list given a position P. Prolog Insert a list into another list given a position P. Prolog prolog list Insert Prolog insert_at remove_at What Insert a list into another list given a position P. Prolog I need to finish a prolog exercise, I have half of it but I need something more to finish it...
[ -0.0194091796875, -0.006195068359375, 0.005615234375, -0.016357421875, -0.0233154296875, 0.02001953125, -0.02978515625, -0.009033203125, -0.003082275390625, -0.03857421875, 0.03173828125, 0.00384521484375, -0.00439453125, -0.0048828125, 0.00128173828125, 0.01422119140625, 0.015136718...
[ 360, 33657, 5303, 3934, 15700, 34475, 19069, 436, 1250, 4867, 502, 183540, 257, 87388, 4865, 3871, 67229, 81979, 23552, 1286, 113292, 4358, 19336, 1528, 6626, 339, 418, 304, 4343, 50960, 363, 866, 21320, 27781, 18151, 15400, 2046, 1620, 278...
[ 0.09423828125, 0.209228515625, 0.22021484375, 0.1435546875, 0.099609375, 0.04620361328125, 0.1624755859375, 0.0584716796875, 0.1739501953125, 0.179931640625, 0.12255859375, 0.2166748046875, 0.1298828125, 0.1483154296875, 0.014892578125, 0.053466796875, 0.08563232421875, 0.123779296...
embed
23312180_c0
23312180
prolog
0
Title: How to Find Distance Between Cities In Prolog? Problem title: How to Find Distance Between Cities In Prolog? Tags: prolog, depth-first-search Problem: How to Find Distance Between Cities In Prolog? How to find the possible routes between cities using Depth-First Search Here this is my code : DOMAINS s = symbol. ...
How to Find Distance Between Cities In Prolog? How to Find Distance Between Cities In Prolog? prolog depth-first-search How Find Distance Between Cities Prolog DOMAINS PREDICATES depth_first_search CLAUSES Erbil Koysinjaq Kirkuk Shaqlawa Mosul Akre Duhok Chamchamal Sulaimani Ranya NewDis Dis GOAL PathToGoal Test_Goal F...
[ 0.0220947265625, 0.00341796875, -0.000339508056640625, 0.0185546875, -0.004364013671875, -0.0093994140625, -0.01470947265625, 0.01214599609375, -0.00494384765625, -0.06201171875, 0.003265380859375, -0.0400390625, 0.00689697265625, -0.004638671875, 0.0074462890625, 0.0023345947265625, ...
[ 11249, 47, 26040, 154349, 329, 6300, 1177, 33, 44156, 90, 360, 1250, 4867, 502, 168867, 13448, 271, 86250, 69285, 48026, 134366, 30941, 129636, 78441, 1004, 2721, 1204, 53, 1596, 145, 864, 70605, 2247, 105543, 143, 634, 8455, 202, 2471, 1...
[ 0.06781005859375, 0.04376220703125, 0.1759033203125, 0.278564453125, 0.177001953125, 0.1383056640625, 0.1822509765625, 0.153564453125, 0.1844482421875, 0.0947265625, 0.0885009765625, 0.190185546875, 0.279296875, 0.1390380859375, 0.2027587890625, 0.131591796875, 0.098388671875, 0.17...
embed
41300924_c0
41300924
prolog
0
Title: truthtable split in prolog Problem title: truthtable split in prolog Tags: prolog Problem: truthtable split in prolog Hello stackoverflow community so I am trying to compute this output A B and(A,B) or(A,and(A,B)) true true true true true true false false false false true false false false false false however my...
truthtable split in prolog truthtable split in prolog prolog assert/1 use_module Bindings get_binding X-V Term Args Values GroundTerm _Bindings domain_error Var0-Val0 Val Var0 Val0 missing_binding_for Valuations Valuation Vars pairs_keys_values compute_tt Expr TruthTable term_variables Binding Row Rows pairs_keys Heade...
[ 0.007354736328125, 0.0167236328125, 0.006072998046875, -0.0036468505859375, -0.0274658203125, 0.01239013671875, 0.0022735595703125, 0.01165771484375, 0.0037841796875, -0.007415771484375, -0.01275634765625, 0.01141357421875, 0.0027618408203125, 0.014404296875, 0.018310546875, 0.02514648...
[ 85027, 22819, 65450, 502, 4867, 33657, 11583, 4527, 83279, 1843, 33770, 128239, 1193, 856, 2994, 1172, 9405, 190060, 205540, 35484, 16882, 77758, 188800, 3323, 2389, 42272, 4769, 132283, 34, 80836, 19770, 27494, 9969, 6743, 3062, 60075, 42, 1...
[ 0.1820068359375, 0.2783203125, 0.2247314453125, 0.13134765625, 0.2108154296875, 0.1490478515625, 0.0484619140625, 0.0794677734375, 0.09912109375, 0.051025390625, 0.1346435546875, 0.1612548828125, 0.0158538818359375, 0.15185546875, 0.1177978515625, 0.067626953125, 0.06878662109375, ...
embed
72321311_c0
72321311
prolog
0
Title: Find sum of the third square of the matrix Problem title: Find sum of the third square of the matrix Tags: prolog Problem: Find sum of the third square of the matrix I need to find the sum of the third square of the matrix. That means that there is matrix like 0 0 0 0 0 0 0 0 1 1 0 0 1 1 0 0 and the result must ...
Find sum of the third square of the matrix Find sum of the third square of the matrix prolog Find matrix_data Start Test Sum matrix_main matrix_pro Procedure Matrix Current Rows Counter Accumulator Size Acc Enter row_sum S11 Cr1 Acc1 Calculate List Curent Length Index Line Index1 Entering Houston Aaaaaa Find sum of the...
[ 0.004425048828125, 0.007781982421875, 0.02001953125, -0.00799560546875, 0.00051116943359375, 0.011962890625, -0.0147705078125, 0.03271484375, 0.01031494140625, -0.004119873046875, -0.004791259765625, -0.0098876953125, -0.005767822265625, -0.0157470703125, -0.0023193359375, 0.0238037109...
[ 26040, 10554, 111, 50960, 108047, 50944, 425, 502, 4867, 10135, 8647, 36335, 3454, 170470, 194234, 114063, 96190, 197956, 316, 129073, 60816, 15555, 11832, 1662, 212467, 32036, 17065, 31471, 16777, 33558, 122046, 83151, 70, 3871, 7413, 1884, 16...
[ 0.1124267578125, 0.2408447265625, 0.08447265625, 0.275634765625, 0.2142333984375, 0.1923828125, 0.1019287109375, 0.061279296875, 0.07611083984375, 0.0217742919921875, 0.06475830078125, 0.186767578125, 0.05242919921875, 0.0418701171875, 0.1578369140625, 0.0784912109375, 0.10498046875,...
embed
43332577_c0
43332577
prolog
0
Title: Translate Haskell to Prolog - finding sublist of sum Problem title: Translate Haskell to Prolog - finding sublist of sum Tags: haskell, list-comprehension, prolog-findall, prolog, sublist Problem: Translate Haskell to Prolog - finding sublist of sum I am trying to translate the following Haskell code: -- sublist...
Translate Haskell to Prolog - finding sublist of sum Translate Haskell to Prolog - finding sublist of sum haskell list-comprehension prolog-findall prolog sublist Translate Haskell Prolog x:xs x:tailList List ReList Translate Haskell to Prolog - finding sublist of sum I am trying to translate the following Haskell code...
[ -0.00433349609375, 0.0019073486328125, 0.02880859375, -0.005767822265625, -0.022216796875, 0.013427734375, -0.0169677734375, -0.0006866455078125, 0.0263671875, -0.01092529296875, 0.01226806640625, -0.0140380859375, 0.0054931640625, -0.006866455078125, 0.0159912109375, 0.0286865234375, ...
[ 11062, 19309, 20625, 142508, 47, 1250, 4867, 90791, 1614, 6562, 111, 10554, 1556, 5303, 4692, 3220, 502, 111607, 5584, 46741, 154663, 32036, 853, 31577, 3900, 25632, 18151, 21579, 134598, 8337, 756, 124901, 15190, 30388, 14012, 151117, 133063, ...
[ 0.116455078125, 0.1732177734375, 0.1192626953125, 0.235595703125, 0.08734130859375, 0.124267578125, 0.203125, 0.1109619140625, 0.2030029296875, 0.222900390625, 0.054779052734375, 0.198974609375, 0.116943359375, 0.1854248046875, 0.03948974609375, 0.04913330078125, 0.0882568359375, 0...
embed
21971037_c0
21971037
prolog
0
Title: Prolog removing unique elements only Problem title: Prolog removing unique elements only Tags: list, prolog Problem: Prolog removing unique elements only I want to return a list that removes all unique elements for example remUniqueVals([1,1,2,2,3,4,4,5,6,6,6],Q). Q = [1,1,2,2,4,4,6,6,6]. My problem is that curr...
Prolog removing unique elements only Prolog removing unique elements only list prolog Prolog RestQ NewQ PreviousQ PrevQ Prolog removing unique elements only I want to return a list that removes all unique elements for example My problem is that currently I have code that returns So that only the first instance of these...
[ -0.0024261474609375, 0.01361083984375, 0.0250244140625, -0.0294189453125, -0.01251220703125, -0.000247955322265625, -0.000820159912109375, -0.0123291015625, 0.01287841796875, -0.01483154296875, 0.00775146484375, 0.00506591796875, 0.037841796875, -0.031494140625, -0.0003147125244140625, ...
[ 1250, 4867, 49146, 6496, 36998, 80854, 4734, 5303, 502, 49756, 2737, 2356, 6422, 74717, 3444, 30646, 87388, 756, 27781, 2967, 82424, 18151, 5117, 110527, 351, 34, 45602, 142424, 176377, 1957, 32786, 418, 1052, 525, 35782, 12765, 25568, 617, ...
[ 0.176025390625, 0.260986328125, 0.1363525390625, 0.045166015625, 0.272705078125, 0.2222900390625, 0.1842041015625, 0.1712646484375, 0.12890625, 0.1790771484375, 0.1917724609375, 0.06512451171875, 0.1248779296875, 0.1292724609375, 0.051422119140625, 0.152099609375, 0.169677734375, 0...
embed
40019059_c0
40019059
prolog
0
Title: How can I show the intermediate steps in Prolog of this graph pathfinder? Problem title: How can I show the intermediate steps in Prolog of this graph pathfinder? Tags: prolog-toplevel, prolog Problem: How can I show the intermediate steps in Prolog of this graph pathfinder? I have created this knowledge base in...
How can I show the intermediate steps in Prolog of this graph pathfinder? How can I show the intermediate steps in Prolog of this graph pathfinder? prolog-toplevel prolog How Prolog Time How can I show the intermediate steps in Prolog of this graph pathfinder? I have created this knowledge base in Prolog, which reflect...
[ 0.0181884765625, 0.006866455078125, 0.0120849609375, 0.026123046875, 0.00994873046875, -0.0027008056640625, -0.01104736328125, -0.019287109375, 0.000408172607421875, -0.049072265625, 0.000873565673828125, 0.013427734375, -0.01904296875, 0.015625, 0.00909423828125, 0.00762939453125, -...
[ 11249, 831, 7639, 81814, 2182, 98441, 1250, 4867, 903, 41382, 60875, 168719, 23, 502, 13784, 67919, 19055, 75935, 51359, 3647, 44961, 5324, 14380, 927, 79401, 44677, 137802, 5423, 20028, 26458, 36439, 17721, 6626, 26847, 30646, 7722, 29568, 7...
[ 0.08343505859375, 0.03155517578125, 0.187255859375, 0.2125244140625, 0.14453125, 0.228515625, 0.177001953125, 0.243408203125, 0.0487060546875, 0.17041015625, 0.08184814453125, 0.1922607421875, 0.036865234375, 0.0904541015625, 0.058380126953125, 0.2078857421875, 0.180419921875, 0.01...
embed
57935379_c0
57935379
prolog
0
Title: Predicate to check if a set is a subpart of another set checks correctly but generates only void set Problem title: Predicate to check if a set is a subpart of another set checks correctly but generates only void set Tags: prolog Problem: Predicate to check if a set is a subpart of another set checks correctly b...
Predicate to check if a set is a subpart of another set checks correctly but generates only void set Predicate to check if a set is a subpart of another set checks correctly but generates only void set prolog Predicate Expecting Predicate to check if a set is a subpart of another set checks correctly but generates only...
[ 0.007232666015625, -0.005706787109375, 0.019775390625, 0.0123291015625, -0.0126953125, -0.005401611328125, -0.00244140625, 0.0040283203125, 0.0216064453125, -0.000736236572265625, 0.00494384765625, 0.0174560546875, -0.00015544891357421875, 0.00010061264038085938, -0.00982666015625, -0....
[ 7145, 2063, 67, 12765, 2174, 5423, 83, 1614, 17365, 111, 15700, 26785, 139392, 4734, 2292, 71, 1284, 502, 4867, 60075, 24762, 1250, 32354, 756, 54704, 81979, 18151, 51158, 678, 7612, 77336, 1653, 117414, 5303, 17932, 2967, 51, 10187, 30646,...
[ 0.1402587890625, 0.2049560546875, 0.087158203125, 0.200439453125, 0.058746337890625, 0.2000732421875, 0.0309295654296875, 0.1904296875, 0.1915283203125, 0.039398193359375, 0.0634765625, 0.127685546875, 0.1934814453125, 0.051239013671875, 0.1488037109375, 0.0207366943359375, 0.0079040...
embed
46852623_c0
46852623
prolog
0
Title: SWI-Prolog User Input and Manipulation Problem title: SWI-Prolog User Input and Manipulation Tags: prolog Problem: SWI-Prolog User Input and Manipulation I am currently learning to program in Prolog, and am working on an assignment which involves a world of size n and has 3 blocks that are picked up and moved ba...
SWI-Prolog User Input and Manipulation SWI-Prolog User Input and Manipulation prolog the SWI-Prolog User Input Manipulation World Size _6324 Setting Gets What Length world_length Initial Positions Instructions SWI-Prolog User Input and Manipulation I am currently learning to program in Prolog, and am working on an assi...
[ -0.0020599365234375, 0.020263671875, 0.00927734375, 0.033203125, -0.013916015625, 0.02001953125, 0.0167236328125, 0.0016021728515625, 0.002593994140625, -0.035400390625, 0.0115966796875, 0.017578125, -0.028564453125, -0.0091552734375, -0.0011444091796875, 0.0091552734375, 0.0234375, ...
[ 159, 38969, 9, 10752, 4867, 53400, 360, 7077, 136, 221169, 502, 2320, 6661, 80378, 15748, 2357, 503, 19514, 20779, 4865, 77554, 927, 8999, 23986, 1890, 289, 99428, 72022, 82424, 52080, 1528, 1250, 4, 20697, 98, 142, 95486, 674, 7, 10, 1...
[ 0.1033935546875, 0.2381591796875, 0.013702392578125, 0.156494140625, 0.2393798828125, 0.2177734375, 0.1259765625, 0.148193359375, 0.0594482421875, 0.2242431640625, 0.1263427734375, 0.0262298583984375, 0.1875, 0.2249755859375, 0.2091064453125, 0.2578125, 0.110107421875, 0.0153198242...
embed
61006643_c0
61006643
prolog
0
Title: How to sort a list of strings &quot;a&quot;, &quot;bcd&quot;, &quot;ef&quot;, and &quot;ghij&quot; in descending order of length? Problem title: How to sort a list of strings &quot;a&quot;, &quot;bcd&quot;, &quot;ef&quot;, and &quot;ghij&quot; in descending order of length? Tags: iso-prolog, prolog Problem: How ...
How to sort a list of strings &quot;a&quot;, &quot;bcd&quot;, &quot;ef&quot;, and &quot;ghij&quot; in descending order of length? How to sort a list of strings &quot;a&quot;, &quot;bcd&quot;, &quot;ef&quot;, and &quot;ghij&quot; in descending order of length? iso-prolog prolog How tag_negative_len Str NegLen-Str atom_l...
[ 0.0113525390625, 0.0029754638671875, 0.0086669921875, 0.00872802734375, -0.0252685546875, -0.009521484375, 0.0157470703125, 0.0035247802734375, 0.01458740234375, 0.00180816650390625, 0.00421142578125, 0.00604248046875, -0.00531005859375, -0.00274658203125, 0.0118408203125, -0.011047363...
[ 11249, 12096, 5303, 79315, 7, 11, 65037, 71, 4240, 18651, 170, 60887, 214, 12989, 140909, 47, 23, 13882, 3454, 4867, 502, 7909, 3331, 4935, 1977, 23351, 799, 866, 33, 71713, 34627, 23986, 14194, 6936, 42272, 4769, 988, 53666, 57261, 66448...
[ 0.0738525390625, 0.254150390625, 0.1796875, 0.239013671875, 0.065185546875, 0.162353515625, 0.1058349609375, 0.16650390625, 0.1881103515625, 0.1488037109375, 0.2078857421875, 0.2015380859375, 0.0290679931640625, 0.1363525390625, 0.1290283203125, 0.0273895263671875, 0.03875732421875, ...
embed
52087015_c0
52087015
prolog
0
Title: Prolog list and recursion in finding a graph path Problem title: Prolog list and recursion in finding a graph path Tags: prolog, list, recursion, graph-theory Problem: Prolog list and recursion in finding a graph path I'm a newbie in Prolog and I'm stuck with this exercise, can you give me some advices on how to...
Prolog list and recursion in finding a graph path Prolog list and recursion in finding a graph path prolog list recursion graph-theory Prolog find_any_path Graph Node1 Node2 ListPath Prolog list and recursion in finding a graph path I'm a newbie in Prolog and I'm stuck with this exercise, can you give me some advices o...
[ -0.0174560546875, 0.020751953125, 0.00787353515625, 0.00994873046875, -0.0029754638671875, 0.005828857421875, -0.03173828125, -0.0146484375, 0.01495361328125, -0.04248046875, 0.013916015625, -0.01953125, -0.01324462890625, 0.007476806640625, 0.0152587890625, 0.01409912109375, 0.00376...
[ 1250, 4867, 5303, 195625, 1830, 90791, 41382, 60875, 502, 2347, 30675, 7413, 4848, 128405, 6524, 11727, 438, 112, 418, 304, 32036, 683, 10519, 23, 3525, 9014, 179933, 81979, 67660, 86869, 8781, 2499, 1295, 47, 30646, 5941, 127887, 27781, 14...
[ 0.176025390625, 0.24853515625, 0.186279296875, 0.255859375, 0.109130859375, 0.12158203125, 0.1917724609375, 0.234130859375, 0.1197509765625, 0.017669677734375, 0.002044677734375, 0.1102294921875, 0.1104736328125, 0.2099609375, 0.1121826171875, 0.0751953125, 0.14111328125, 0.1588134...
embed
67644670_c0
67644670
prolog
0
Title: Am I using &quot;cut&quot; too much? Problem title: Am I using &quot;cut&quot; too much? Tags: prolog, prolog-cut Problem: Am I using "cut" too much? I'm new to Prolog and logic programing in general, I'm writing a small theorem prover for fun, and in doing so I wrote a normalization procedure. I wanted this pro...
Am I using &quot;cut&quot; too much? Am I using &quot;cut&quot; too much? prolog prolog-cut normal_false normal_and Am I using "cut" too much? I'm new to Prolog and logic programing in general, I'm writing a small theorem prover for fun, and in doing so I wrote a normalization procedure. I wanted this procedure to be d...
[ 0.02783203125, 0.02734375, 0.00799560546875, 0.0037384033203125, 0.0032501220703125, 0.003631591796875, -0.02099609375, -0.007110595703125, 0.01904296875, -0.026611328125, -0.0069580078125, -0.00946044921875, -0.007171630859375, -0.0233154296875, 0.020263671875, -0.00274658203125, -0...
[ 2022, 87, 17368, 19774, 41502, 5792, 5045, 502, 4867, 3638, 8710, 184, 3525, 1250, 62775, 1528, 32562, 19336, 58391, 814, 7477, 54397, 47691, 50491, 36663, 72694, 48242, 2288, 712, 39473, 9844, 1884, 903, 7108, 3917, 82424, 37202, 4488, 149...
[ 0.043609619140625, 0.0360107421875, 0.120849609375, 0.2181396484375, 0.017364501953125, 0.09967041015625, 0.14013671875, 0.09033203125, 0.1790771484375, 0.1761474609375, 0.07952880859375, 0.0149688720703125, 0.0285186767578125, 0.0948486328125, 0.0924072265625, 0.049652099609375, 0.0...
embed
70059633_c0
70059633
prolog
0
Title: Given a list of lists in Prolog, how to apply a clause on each list? Problem title: Given a list of lists in Prolog, how to apply a clause on each list? Tags: prolog, recursion Problem: Given a list of lists in Prolog, how to apply a clause on each list? Given the following clauses nth_member(0, [Elem|_Tail], El...
Given a list of lists in Prolog, how to apply a clause on each list? Given a list of lists in Prolog, how to apply a clause on each list? prolog recursion Given Prolog nth_member Elem _Tail Index _List _Elem _Head Tail NextIndex nth0 Res List Call _1719 _1720 _1721 _1814 Exit Fail _2013 _2093 _426 _427 _428 _521 Formul...
[ 0.005706787109375, 0.00726318359375, 0.0150146484375, 0.00628662109375, -0.0208740234375, 0.0120849609375, 0.0098876953125, 0.00543212890625, 0.0213623046875, 0.004302978515625, 0.018798828125, 0.0034942626953125, -0.0033721923828125, -0.005767822265625, 0.005096435546875, -0.007873535...
[ 77878, 5303, 1250, 4867, 3642, 59911, 70731, 13, 98, 12638, 502, 195625, 1830, 927, 27417, 195, 9874, 379, 31471, 154663, 13025, 1218, 4997, 39659, 2389, 9624, 32036, 26265, 2489, 2947, 1549, 2592, 5443, 190355, 7735, 11591, 179122, 163137, ...
[ 0.042633056640625, 0.2076416015625, 0.1602783203125, 0.2374267578125, 0.05548095703125, 0.17578125, 0.216064453125, 0.1201171875, 0.0611572265625, 0.10699462890625, 0.11083984375, 0.1575927734375, 0.042449951171875, 0.0244903564453125, 0.115234375, 0.06341552734375, 0.0574951171875, ...
embed
23051418_c0
23051418
prolog
0
Title: Prolog: Read list of sublists from file while keeping elements of each sublist as their original type Problem title: Prolog: Read list of sublists from file while keeping elements of each sublist as their original type Tags: prolog Problem: Prolog: Read list of sublists from file while keeping elements of each s...
Prolog: Read list of sublists from file while keeping elements of each sublist as their original type Prolog: Read list of sublists from file while keeping elements of each sublist as their original type prolog file Prolog Read Chester Bob Andy OPTION STORE hogwarts.txt Stream LOAD Str TOHERE _G316 _G328 Prolog: Read l...
[ 0.033203125, 0.00185394287109375, -0.0019378662109375, 0.01446533203125, -0.0179443359375, 0.0050048828125, -0.00531005859375, 0.0004634857177734375, 0.01141357421875, -0.007415771484375, 0.00665283203125, -0.004119873046875, -0.0252685546875, -0.028564453125, -0.00421142578125, 0.0100...
[ 1250, 4867, 12, 4764, 5303, 1614, 6562, 7, 1295, 11435, 12960, 120260, 80854, 12638, 237, 7311, 10644, 502, 5024, 1515, 25027, 99455, 28023, 35213, 159, 179376, 739, 177, 35710, 124326, 115061, 22215, 23351, 841, 363, 2485, 3882, 2363, 765,...
[ 0.1815185546875, 0.235595703125, 0.0219879150390625, 0.192626953125, 0.1416015625, 0.23193359375, 0.25537109375, 0.034881591796875, 0.09674072265625, 0.1737060546875, 0.05230712890625, 0.1129150390625, 0.1365966796875, 0.05902099609375, 0.0709228515625, 0.0887451171875, 0.17407226562...
embed
75337788_c0
75337788
prolog
0
Title: Prolog programm returns false and i cannot see why Problem title: Prolog programm returns false and i cannot see why Tags: prolog Problem: Prolog programm returns false and i cannot see why My goal is to format the Term exactlyOneIsTrue(ListOfVars) into a regular term. For example, exactlyOneIsTrue([a,b]) would ...
Prolog programm returns false and i cannot see why Prolog programm returns false and i cannot see why prolog Prolog ListOfVars Original Counter Chain Part List Position Positive remove_at Negative simplify_expr element_at Prolog programm returns false and i cannot see why My goal is to format the Term exactlyOneIsTrue(...
[ 0.0244140625, 0.01318359375, 0.00909423828125, 0.03564453125, -0.0113525390625, 0.0047607421875, 0.00885009765625, 0.00592041015625, 0.0361328125, -0.037353515625, -0.002716064453125, 0.0135498046875, 0.005035400390625, 0.017822265625, 0.01611328125, -0.006195068359375, 0.00628662109...
[ 1250, 4867, 28966, 30646, 98320, 53418, 1957, 15400, 7, 502, 32036, 132887, 81827, 34525, 197956, 4841, 16995, 99428, 156060, 87388, 257, 221717, 112892, 18929, 42, 12830, 69236, 9384, 2994, 66161, 62068, 882, 154663, 20324, 13579, 29598, 69347...
[ 0.1651611328125, 0.2490234375, 0.177978515625, 0.1778564453125, 0.2435302734375, 0.035400390625, 0.090576171875, 0.05419921875, 0.003173828125, 0.11572265625, 0.130126953125, 0.142578125, 0.2012939453125, 0.0850830078125, 0.114013671875, 0.0911865234375, 0.1051025390625, 0.14697265...
embed
34342356_c0
34342356
prolog
0
Title: Brute-force Prolog SAT solver for boolean formulas Problem title: Brute-force Prolog SAT solver for boolean formulas Tags: clpb, prolog, sat Problem: Brute-force Prolog SAT solver for boolean formulas I'm trying to write an algorithm that naively looks for models of a boolean formula (NNF, but not CNF). The code...
Brute-force Prolog SAT solver for boolean formulas Brute-force Prolog SAT solver for boolean formulas clpb prolog sat Brute-force Prolog SAT NNF Brute-force Prolog SAT solver for boolean formulas I'm trying to write an algorithm that naively looks for models of a boolean formula (NNF, but not CNF). The code I have can ...
[ -0.006378173828125, 0.002532958984375, -0.006317138671875, -0.0169677734375, 0.002777099609375, -0.005889892578125, 0.006744384765625, -0.019287109375, 0.0054931640625, -0.0419921875, -0.00024127960205078125, 0.00244140625, -0.0001583099365234375, 0.0164794921875, 0.0157470703125, -0.0...
[ 103161, 13, 50930, 1250, 4867, 75210, 3115, 814, 100, 337, 31, 34677, 26168, 254, 275, 502, 11736, 73493, 31577, 33022, 234873, 116392, 33342, 115774, 24455, 919, 959, 18151, 765, 831, 12765, 144573, 3299, 1284, 1181, 35782, 748, 67229, 371...
[ 0.1187744140625, 0.009368896484375, 0.148193359375, 0.11474609375, 0.2054443359375, 0.2041015625, 0.1439208984375, 0.1331787109375, 0.0745849609375, 0.03155517578125, 0.1082763671875, 0.1824951171875, 0.1837158203125, 0.046142578125, 0.09228515625, 0.0799560546875, 0.1309814453125, ...
embed
49121266_c0
49121266
prolog
0
Title: Prolog Recursive Build List of [--I, ++J], while J&gt;0 Problem title: Prolog Recursive Build List of [--I, ++J], while J&gt;0 Tags: prolog, recursion, list Problem: Prolog Recursive Build List of [--I, ++J], while J>0 I'm trying to put together a Prolog program that will take in a number and an output list, and...
Prolog Recursive Build List of [--I, ++J], while J&gt;0 Prolog Recursive Build List of [--I, ++J], while J&gt;0 prolog recursion list Prolog Recursive Build List Lout I-1 Prolog Recursive Build List of [--I, ++J], while J>0 I'm trying to put together a Prolog program that will take in a number and an output list, and e...
[ 0.00168609619140625, 0.01025390625, -0.006378173828125, 0.003662109375, -0.01373291015625, 0.023193359375, -0.0172119140625, 0.01165771484375, 0.02294921875, -0.0135498046875, 0.017822265625, -0.0244140625, -0.022705078125, 0.006591796875, 0.005126953125, 0.001800537109375, 0.0133056...
[ 1250, 4867, 853, 48650, 5844, 121137, 32036, 9, 568, 37223, 1375, 12960, 821, 1230, 5386, 2389, 502, 195625, 1830, 5303, 42225, 18, 87, 5759, 2740, 31577, 25842, 1528, 5646, 14012, 140992, 85590, 3173, 4, 1328, 2203, 541, 18151, 20949, 13...
[ 0.160888671875, 0.25732421875, 0.068115234375, 0.2161865234375, 0.1602783203125, 0.18359375, 0.197509765625, 0.050872802734375, 0.138671875, 0.1715087890625, 0.179443359375, 0.0830078125, 0.1898193359375, 0.023193359375, 0.07733154296875, 0.175537109375, 0.1187744140625, 0.23120117...
embed
55775883_c0
55775883
prolog
0
Title: how to pass argument to fact and find remaining argument in it Problem title: how to pass argument to fact and find remaining argument in it Tags: prolog Problem: how to pass argument to fact and find remaining argument in it i am trying to make expert system in prolog using facts,i have defined some facts and t...
how to pass argument to fact and find remaining argument in it how to pass argument to fact and find remaining argument in it prolog question1:-write Ch1 Ch2 Ch3 Ch4 Ch5 _2345.fever how to pass argument to fact and find remaining argument in it i am trying to make expert system in prolog using facts,i have defined some...
[ 0.0244140625, -0.00360107421875, 0.015625, 0.0189208984375, 0.0037689208984375, 0.00787353515625, 0.000705718994140625, -0.0021820068359375, -0.01007080078125, -0.0238037109375, 0.0111083984375, -0.00665283203125, -0.002777099609375, 0.007171630859375, -0.00084686279296875, -0.01782226...
[ 3642, 27875, 10750, 47, 15824, 136, 7413, 47143, 214, 23, 442, 502, 4867, 434, 18781, 3751, 418, 304, 363, 617, 758, 3742, 4633, 2242, 814, 26808, 5426, 17368, 61924, 9790, 99219, 38937, 107730, 452, 6953, 959, 68772, 34292, 79986, 41206,...
[ 0.08941650390625, 0.170166015625, 0.3115234375, 0.1541748046875, 0.2265625, 0.054779052734375, 0.161865234375, 0.1949462890625, 0.165771484375, 0.0814208984375, 0.044464111328125, 0.1156005859375, 0.18896484375, 0.020538330078125, 0.064208984375, 0.0687255859375, 0.0225830078125, 0...
embed
41228331_c0
41228331
prolog
0
Title: swi prolog standalone executable for mac not working as expected Problem title: swi prolog standalone executable for mac not working as expected Tags: compilation, macos, prolog Problem: swi prolog standalone executable for mac not working as expected I am trying to create a prolog stand alone executable followi...
swi prolog standalone executable for mac not working as expected swi prolog standalone executable for mac not working as expected compilation macos prolog /usr/local/Cellar/swi-prolog/7.2.3_2/libexec/lib/swipl-7.2.3/library/error /usr/local/Cellar/swi-prolog/7.2.3_2/libexec/lib/swipl-7.2.3/library/shlib /usr/local/Cell...
[ 0.01104736328125, 0.00193023681640625, -0.00909423828125, 0.011474609375, -0.008544921875, 0.004119873046875, -0.0079345703125, 0.0042724609375, -0.005126953125, -0.0264892578125, -0.0101318359375, 0.01470947265625, -0.006805419921875, 0.022705078125, 0.0274658203125, -0.0069580078125,...
[ 91, 2452, 502, 4867, 103723, 51684, 71924, 2886, 100, 19138, 959, 20697, 237, 84751, 98352, 291, 7840, 223, 98908, 159360, 320, 7, 3454, 32359, 120883, 45792, 5612, 46480, 2424, 179642, 40061, 150, 2844, 188800, 85779, 6562, 18347, 29822, 1...
[ 0.0977783203125, 0.270263671875, 0.1982421875, 0.24560546875, 0.1595458984375, 0.16845703125, 0.193115234375, 0.1536865234375, 0.07489013671875, 0.1939697265625, 0.0880126953125, 0.166748046875, 0.1143798828125, 0.1422119140625, 0.192626953125, 0.0726318359375, 0.1295166015625, 0.0...
embed
29557841_c0
29557841
prolog
0
Title: Prolog create list of lists Problem title: Prolog create list of lists Tags: list, prolog Problem: Prolog create list of lists I'm having some (or a lot of) trouble with lists of lists in prolog. So I have a list of numbers, say [5,6,1,3] as input. The output should be [[5,25],[6,36],[1,1],[3,9]]. I already have...
Prolog create list of lists Prolog create list of lists list prolog Prolog get_squared_pair Number Result get_squared_value SquareValue return_list Head Tail Add Prolog create list of lists I'm having some (or a lot of) trouble with lists of lists in prolog. So I have a list of numbers, say [5,6,1,3] as input. The outp...
[ -0.0000820159912109375, 0.015625, 0.0002994537353515625, -0.00830078125, 0.00848388671875, 0.0113525390625, -0.01324462890625, -0.004150390625, -0.000293731689453125, -0.02587890625, 0.028076171875, 0.000942230224609375, -0.016845703125, -0.0115966796875, 0.000637054443359375, -0.01342...
[ 1250, 4867, 28282, 5303, 111, 502, 2046, 108047, 71, 109637, 103332, 126684, 27494, 68305, 856, 50770, 30646, 6562, 44816, 1218, 379, 29117, 7, 5915, 63134, 101935, 104629, 96386, 237, 107730, 140992, 5608, 758, 2588, 910, 8659, 125157, 1653,...
[ 0.1595458984375, 0.225341796875, 0.1357421875, 0.2379150390625, 0.0733642578125, 0.1453857421875, 0.07366943359375, 0.1951904296875, 0.08642578125, 0.21044921875, 0.0970458984375, 0.1260986328125, 0.1375732421875, 0.152099609375, 0.1044921875, 0.09442138671875, 0.17333984375, 0.178...
embed
11842933_c0
11842933
prolog
0
Title: ERROR: &quot;Out of global stack&quot; when processing Prolog list of pairs Problem title: ERROR: &quot;Out of global stack&quot; when processing Prolog list of pairs Tags: prolog Problem: ERROR: "Out of global stack" when processing Prolog list of pairs In SWI-Prolog, I have a list whose elements are pairs of t...
ERROR: &quot;Out of global stack&quot; when processing Prolog list of pairs ERROR: &quot;Out of global stack&quot; when processing Prolog list of pairs prolog ERROR Out Prolog all_pairs_lists InputList OutputLists Key Values RCP Key-Value Value ERROR: "Out of global stack" when processing Prolog list of pairs In SWI-Pr...
[ 0.005096435546875, 0.0198974609375, -0.00390625, -0.007232666015625, -0.00799560546875, 0.01129150390625, -0.0277099609375, -0.0023040771484375, -0.0018310546875, -0.0299072265625, 0.037353515625, 0.004058837890625, 0.00909423828125, 0.007415771484375, 0.011962890625, 0.017333984375, ...
[ 151206, 24638, 41502, 79858, 111, 7964, 177261, 3229, 9433, 1250, 4867, 5303, 80836, 214, 502, 13538, 756, 109637, 6562, 360, 7077, 154663, 26824, 190060, 627, 17854, 856, 50770, 159, 38969, 10752, 80854, 3173, 42272, 21049, 6713, 1884, 27198...
[ 0.166015625, 0.151123046875, 0.040069580078125, 0.2156982421875, 0.1839599609375, 0.216064453125, 0.27001953125, 0.0196380615234375, 0.098876953125, 0.1378173828125, 0.229736328125, 0.1756591796875, 0.21728515625, 0.007568359375, 0.1072998046875, 0.193603515625, 0.064697265625, 0.2...
embed
56231615_c0
56231615
prolog
0
Title: Check whether diagonals are the same value Problem title: Check whether diagonals are the same value Tags: prolog Problem: Check whether diagonals are the same value I am trying to write a predicate to remove outer check whether inter diagonal are the same value(int) in prolog For example: same_Diagonal([[0,11,5...
Check whether diagonals are the same value Check whether diagonals are the same value prolog Check same_Diagonal ListOfList parameter1 parameter2 HeadRow TailRow Squares List Head Tail Diagonal Back Check whether diagonals are the same value I am trying to write a predicate to remove outer check whether inter diagonal ...
[ -0.0032958984375, 0.03076171875, -0.0093994140625, 0.004852294921875, -0.01416015625, 0.005767822265625, -0.00897216796875, 0.011962890625, 0.0103759765625, 0.00396728515625, 0.0225830078125, 0.0283203125, 0.00007724761962890625, 0.0025177001953125, 0.001220703125, -0.021240234375, 0...
[ 38679, 36766, 207997, 7, 621, 70, 5701, 34292, 502, 4867, 72838, 6126, 289, 32036, 132887, 154663, 171859, 44816, 12724, 1218, 68305, 379, 26828, 33022, 1653, 2063, 87388, 1810, 56, 12765, 1940, 4288, 2831, 10336, 5117, 12830, 5303, 195625, ...
[ 0.1614990234375, 0.103271484375, 0.272216796875, 0.1302490234375, 0.10418701171875, 0.0823974609375, 0.1666259765625, 0.1689453125, 0.1005859375, 0.181640625, 0.010009765625, 0.112060546875, 0.04510498046875, 0.1199951171875, 0.1204833984375, 0.114013671875, 0.123046875, 0.08581542...
embed
41643904_c0
41643904
prolog
0
Title: Deleting first N prime numbers from a list (Prolog) Problem title: Deleting first N prime numbers from a list (Prolog) Tags: prolog, primes Problem: Deleting first N prime numbers from a list (Prolog) Basically I want to remove the first N numbers from a list, the function that checks whether a number is prime o...
Deleting first N prime numbers from a list (Prolog) Deleting first N prime numbers from a list (Prolog) prolog primes a Deleting Prolog input_list output_list Res N-1 Deleting first N prime numbers from a list (Prolog) Basically I want to remove the first N numbers from a list, the function that checks whether a number...
[ -0.01416015625, 0.00933837890625, 0.02099609375, -0.004302978515625, 0.0029296875, 0, 0.0133056640625, -0.01495361328125, 0.004364013671875, -0.0233154296875, 0.017578125, 0.0018310546875, -0.01031494140625, -0.010986328125, 0.00537109375, -0.0003871917724609375, 0.0166015625, 0.00...
[ 262, 133, 1916, 5117, 541, 20809, 101935, 1295, 5303, 10752, 4867, 502, 1250, 107730, 6562, 140992, 9624, 5759, 3444, 47, 87388, 70, 32354, 12765, 36766, 14012, 83, 707, 959, 37202, 4488, 5299, 1528, 68034, 22027, 18, 304, 80389, 966, 171...
[ 0.06512451171875, 0.1624755859375, 0.051544189453125, 0.162109375, 0.19921875, 0.24755859375, 0.206298828125, 0.1026611328125, 0.1981201171875, 0.1363525390625, 0.2110595703125, 0.1251220703125, 0.1416015625, 0.1767578125, 0.159912109375, 0.09002685546875, 0.083740234375, 0.0961303...
embed
53265023_c0
53265023
prolog
0
Title: Family tree - cousin relationships with repeated names Problem title: Family tree - cousin relationships with repeated names Tags: family-tree, prolog Problem: Family tree - cousin relationships with repeated names I am trying to get my cousin relationship to work accurately. For example when I do the query: cou...
Family tree - cousin relationships with repeated names Family tree - cousin relationships with repeated names family-tree prolog Family alice2 Family tree - cousin relationships with repeated names I am trying to get my cousin relationship to work accurately. For example when I do the query: cousins(X,ron). It returns:...
[ 0.0225830078125, 0.0054931640625, 0.000659942626953125, 0.0157470703125, -0.00054168701171875, 0.0023193359375, -0.01300048828125, 0.0125732421875, 0.005035400390625, -0.033935546875, -0.01019287109375, -0.02783203125, 0.0009918212890625, 0.009521484375, 0.0133056640625, 0.006225585937...
[ 59745, 53201, 193429, 151618, 678, 119140, 297, 123055, 14449, 62600, 502, 4867, 10, 13348, 304, 20, 31577, 2046, 759, 76755, 4488, 152018, 27781, 54, 41, 1294, 7, 1542, 1900, 30646, 1193, 24, 27771, 74, 55, 4902, 5518, 14461, 1510, 18822...
[ 0.07177734375, 0.2322998046875, 0.227294921875, 0.1851806640625, 0.041961669921875, 0.246337890625, 0.1129150390625, 0.178466796875, 0.03973388671875, 0.1646728515625, 0.084228515625, 0.11328125, 0.0297393798828125, 0.1375732421875, 0.1561279296875, 0.00579833984375, 0.0604248046875,...
embed
70631827_c0
70631827
prolog
0
Title: Python: swiplserver load prolog file Problem title: Python: swiplserver load prolog file Tags: prolog, python, swi-prolog, file, load Problem: Python: swiplserver load prolog file Based on this post try to follow the hint with setup some swiplserver from pyswip import Prolog, Functor, Query from swiplserver impo...
Python: swiplserver load prolog file Python: swiplserver load prolog file prolog python swi-prolog file load pyswip Prolog swiplserver PrologMQI Python Functor Query PrologThread prolog.consult logic.pl mqi.create_thread prolog_thread prolog_thread.query m_Proposition_Binary_x_y m_Proposition m_Proposition_Atom Binary ...
[ 0.0272216796875, 0.00555419921875, 0.003448486328125, 0.022216796875, -0.0361328125, -0.005035400390625, 0.0135498046875, -0.0040283203125, -0.005859375, -0.06884765625, 0.00799560546875, 0.011474609375, -0.005401611328125, -0.0242919921875, 0.01171875, 0.000732421875, 0.011840820312...
[ 145581, 2452, 2424, 39642, 72367, 502, 4867, 11435, 17198, 50828, 3454, 57756, 1250, 163514, 28670, 18770, 58836, 39116, 147834, 62775, 109934, 14, 10752, 40322, 73, 12078, 54092, 464, 5122, 169581, 2967, 137043, 3934, 10723, 63805, 4527, 21373...
[ 0.220703125, 0.1649169921875, 0.2174072265625, 0.220458984375, 0.1455078125, 0.1480712890625, 0.1710205078125, 0.10791015625, 0.1058349609375, 0.13818359375, 0.1124267578125, 0.0599365234375, 0.129638671875, 0.111572265625, 0.0280303955078125, 0.0254058837890625, 0.0233612060546875, ...
embed
11629585_c0
11629585
prolog
0
Title: Prolog error in loop Problem title: Prolog error in loop Tags: prolog, golog Problem: Prolog error in loop I would need help about Prolog. I posted my code, the problem is that i do not obtain the expected result. I want planning actions for moving on table all blocks until is possible. To do this I prompt : ?- ...
Prolog error in loop Prolog error in loop prolog golog Prolog Golog golog_swi primitive_action Primitive Action Declarations Successor State Axioms Restore COndition Prolog error in loop I would need help about Prolog. I posted my code, the problem is that i do not obtain the expected result. I want planning actions fo...
[ 0.00335693359375, 0.0120849609375, 0.00469970703125, -0.0028076171875, -0.00140380859375, 0.006744384765625, 0.0022430419921875, 0.003021240234375, 0.00121307373046875, -0.045166015625, 0.0181884765625, 0.017333984375, -0.033935546875, 0.00018978118896484375, 0.0087890625, 0.0258789062...
[ 1250, 4867, 18499, 23, 40956, 502, 738, 527, 14071, 2452, 128489, 44713, 44506, 14, 57945, 98501, 144053, 748, 22836, 5134, 45804, 4607, 4358, 44183, 18151, 2967, 959, 113054, 84751, 16750, 3444, 58136, 61972, 98567, 23180, 756, 46389, 24189,...
[ 0.180908203125, 0.267578125, 0.1796875, 0.1270751953125, 0.2403564453125, 0.1466064453125, 0.052093505859375, 0.0531005859375, 0.2303466796875, 0.08819580078125, 0.11279296875, 0.11962890625, 0.050384521484375, 0.0133056640625, 0.09326171875, 0.09466552734375, 0.12255859375, 0.0320...
embed
34111917_c0
34111917
prolog
0
Title: Prolog Recursion (Factorial of a Power Function) Problem title: Prolog Recursion (Factorial of a Power Function) Tags: parameter-passing, recursion, prolog Problem: Prolog Recursion (Factorial of a Power Function) I am having some troubles with my CS assignment. I am trying to call another rule that I created pr...
Prolog Recursion (Factorial of a Power Function) Prolog Recursion (Factorial of a Power Function) parameter-passing recursion prolog Prolog Recursion Factorial Power Write Prolog Recursion (Factorial of a Power Function) I am having some troubles with my CS assignment. I am trying to call another rule that I created pr...
[ 0.0174560546875, 0.002349853515625, 0.0048828125, 0.029296875, 0.01068115234375, 0.005035400390625, 0.0130615234375, -0.0030975341796875, 0.0025482177734375, 0.0023651123046875, 0.0128173828125, -0.0185546875, -0.0267333984375, -0.008056640625, 0.01361083984375, 0.0185546875, 0.01281...
[ 1250, 4867, 165428, 42, 6889, 135518, 77275, 111, 17170, 28670, 10763, 171859, 13409, 195625, 1830, 502, 117969, 15403, 601, 18781, 63134, 25841, 95486, 31577, 11782, 15700, 79986, 75935, 198395, 28032, 3525, 74481, 31461, 14537, 32354, 26939, ...
[ 0.1636962890625, 0.2445068359375, 0.1595458984375, 0.170166015625, 0.1239013671875, 0.1317138671875, 0.1571044921875, 0.0430908203125, 0.184814453125, 0.1405029296875, 0.03240966796875, 0.1690673828125, 0.1046142578125, 0.2197265625, 0.01025390625, 0.130615234375, 0.170166015625, 0...
embed
56310184_c0
56310184
prolog
0
Title: Generating a sequence of leap years using clpfd Problem title: Generating a sequence of leap years using clpfd Tags: clpfd, prolog Problem: Generating a sequence of leap years using clpfd The code below checks whether a given year is a leap year or not. The arithmetic is formulated using declarative integer arit...
Generating a sequence of leap years using clpfd Generating a sequence of leap years using clpfd clpfd prolog clpfd Generating Year leap_year1 leap_year2 use_module Not Verify Solutions leap_year leap_year_century_fix leap_year3 Generating a sequence of leap years using clpfd The code below checks whether a given year i...
[ 0.0020904541015625, 0.003936767578125, 0.00127410888671875, 0.000606536865234375, 0.00445556640625, 0.006561279296875, -0.00665283203125, -0.0018463134765625, -0.00086212158203125, -0.0023651123046875, -0.025146484375, 0.00982666015625, -0.004119873046875, 0.00628662109375, 0.02490234375...
[ 155370, 40, 944, 3956, 95, 2631, 5369, 17368, 33139, 39557, 71, 502, 4867, 42552, 46799, 418, 304, 4527, 83279, 11205, 1446, 40383, 109339, 16797, 55923, 363, 18151, 35064, 12765, 36766, 34475, 6602, 83, 10, 707, 959, 8962, 282, 26168, 21...
[ 0.153564453125, 0.03521728515625, 0.1363525390625, 0.0711669921875, 0.148193359375, 0.2132568359375, 0.2020263671875, 0.045867919921875, 0.051605224609375, 0.1282958984375, 0.111572265625, 0.087890625, 0.1513671875, 0.171630859375, 0.169189453125, 0.029296875, 0.057098388671875, 0....
embed
32245410_c0
32245410
prolog
0
Title: prolog outcome of a loop Problem title: prolog outcome of a loop Tags: prolog Problem: prolog outcome of a loop Hy i'm trying to build this recursive rule in prolog. The problem is this: I have a tree and i want to cut the tree using some queries. The rule is this: infer(Q):- L_new=[], cut_the_tree(Q,L_new,Class...
prolog outcome of a loop prolog outcome of a loop prolog L_new cut_the_tree Define Prop www.semanticweb.org Inference.owl atom_concat class_properties nth0 Non-Unique Solution Assert Manually rdf_costom_instance_from_class Connect Res Handle KitchenUtensil CleaningDevice Plastic Broom prolog outcome of a loop Hy i'm tr...
[ 0.034912109375, 0.002288818359375, 0.00164794921875, 0.032958984375, 0.01220703125, 0.0240478515625, -0.0224609375, -0.004364013671875, 0.0098876953125, -0.059814453125, -0.002288818359375, -0.013427734375, -0.0101318359375, -0.0086669921875, 0.035888671875, 0.0045166015625, 0.006958...
[ 502, 4867, 184345, 111, 40956, 339, 54936, 59226, 2347, 62600, 64552, 43796, 5765, 109109, 14051, 69988, 27751, 34627, 2271, 4460, 18507, 36290, 56, 927, 2389, 45602, 187895, 33657, 111021, 420, 7840, 5928, 116071, 161063, 67413, 62448, 9624, ...
[ 0.2008056640625, 0.257568359375, 0.254150390625, 0.048797607421875, 0.23486328125, 0.073974609375, 0.1033935546875, 0.17236328125, 0.100830078125, 0.224609375, 0.0771484375, 0.209228515625, 0.009429931640625, 0.0010986328125, 0.039642333984375, 0.139404296875, 0.13134765625, 0.1555...
embed
32771471_c0
32771471
prolog
0
Title: Prolog - Consult actually cleans current state? Problem title: Prolog - Consult actually cleans current state? Tags: prolog, prolog-directive-dynamic Problem: Prolog - Consult actually cleans current state? I had the following code for customer creation and listing: :-dynamic customer/2. load:-consult('C:\\custo...
Prolog - Consult actually cleans current state? Prolog - Consult actually cleans current state? prolog prolog-directive-dynamic Prolog Consult load:-consult customers.txt save:-tell new_customer:-write Name customer_code list_customers John Alicia Prolog - Consult actually cleans current state? I had the following code...
[ 0.0361328125, -0.00421142578125, 0.0233154296875, 0.0234375, -0.00518798828125, 0.0177001953125, -0.01080322265625, 0.0322265625, 0.0164794921875, -0.034912109375, -0.0062255859375, 0.019287109375, -0.00762939453125, -0.0142822265625, 0.031005859375, -0.01263427734375, 0.028442382812...
[ 1250, 4867, 239550, 20653, 46622, 7, 43581, 11341, 502, 936, 100034, 242554, 72367, 147834, 59463, 124326, 30098, 67, 3525, 11680, 5928, 43373, 40899, 5303, 188, 31648, 4939, 2132, 1883, 25632, 18151, 166635, 214, 2060, 4127, 2967, 1286, 2714...
[ 0.169677734375, 0.243896484375, 0.317626953125, 0.1396484375, 0.251708984375, 0.08917236328125, 0.187744140625, 0.1800537109375, 0.10662841796875, 0.033233642578125, 0.0655517578125, 0.1473388671875, 0.1585693359375, 0.265380859375, 0.1883544921875, 0.1712646484375, 0.062347412109375...
embed
20385324_c0
20385324
prolog
0
Title: How can you find a certain condition that matches parameters in Prolog? Problem title: How can you find a certain condition that matches parameters in Prolog? Tags: recursion, prolog Problem: How can you find a certain condition that matches parameters in Prolog? I'm new to Prolog and quite confused. We're just ...
How can you find a certain condition that matches parameters in Prolog? How can you find a certain condition that matches parameters in Prolog? recursion prolog How Prolog Calories Price Burger Fries Shake Salad most_expensive How can you find a certain condition that matches parameters in Prolog? I'm new to Prolog and...
[ 0.00653076171875, 0.007598876953125, -0.0164794921875, 0.004180908203125, -0.00958251953125, 0.016357421875, 0.00250244140625, 0.0089111328125, 0.018310546875, -0.00726318359375, 0.0201416015625, -0.019287109375, 0.01251220703125, -0.006011962890625, 0.009765625, -0.00836181640625, -...
[ 11249, 7413, 24233, 35431, 14858, 90, 171859, 1250, 4867, 831, 195625, 1830, 502, 9113, 31, 48025, 99193, 9173, 68161, 13, 13294, 71, 2684, 83613, 33, 29888, 450, 23, 3525, 55681, 98567, 43032, 66211, 12921, 162515, 4271, 15381, 34475, 1064...
[ 0.0718994140625, 0.185546875, 0.114013671875, 0.2237548828125, 0.1973876953125, 0.123779296875, 0.21484375, 0.1923828125, 0.2744140625, 0.045135498046875, 0.2130126953125, 0.1148681640625, 0.131591796875, 0.109375, 0.08953857421875, 0.117919921875, 0.125732421875, 0.1112060546875, ...
embed
77512708_c1
77512708
prolog
1
], [clear, X], INT, S2). % (ii) move from the table onto a block move_onto_block(X, Y, S1, S2):- member([clear, X], S1), member([on, X, 'table'], S1), substitute([on, X, 'table'], [on, X, Y], S1, INT), substitute([clear, X], [clear, Y], INT, S2). % Define start and goal states start([[on, d, 'table'], [on, c, d], [on, ...
], [clear, X], INT, S2). % (ii) move from the table onto a block move_onto_block(X, Y, S1, S2):- member([clear, X], S1), member([on, X, 'table'], S1), substitute([on, X, 'table'], [on, X, Y], S1, INT), substitute([clear, X], [clear, Y], INT, S2). % Define start and goal states start([[on, d, 'table'], [on, c, d], [on, ...
[ 0.01409912109375, 0.0264892578125, 0.00860595703125, 0.01202392578125, -0.004669189453125, 0.00909423828125, -0.01348876953125, -0.017822265625, 0.01190185546875, -0.01287841796875, 0.0162353515625, 0.021484375, -0.019775390625, 0.00182342529296875, -0.02294921875, 0.00665283203125, ...
[ 10114, 119488, 1193, 4, 59537, 159, 10461, 5, 1745, 1573, 16, 25813, 1295, 23180, 98, 188, 46389, 454, 40863, 81409, 1542, 990, 418, 12, 32786, 17727, 191, 22819, 161740, 132, 262, 64552, 4034, 136, 69236, 117249, 104, 501, 876, 959, 12...
[ 0.09033203125, 0.1732177734375, 0.110595703125, 0.023895263671875, 0.1505126953125, 0.1229248046875, 0.1827392578125, 0.01214599609375, 0.1234130859375, 0.144287109375, 0.0299072265625, 0.2093505859375, 0.14306640625, 0.265869140625, 0.0916748046875, 0.0919189453125, 0.25537109375, ...
embed
72555579_c1
72555579
prolog
1
row % first row is the headings % file structure: line_number,ID,Name,HW1,HW2,HW3,Midterm,Final % round each grade to it's nearest whole number then, % calculate the score of each student % Score = HW1 * 0.1 + HW2 * 0.1 + HW3 * 0.1 + Midterm * 0.3 + Final * 0.4 -> round to nearest integer % print the score of each stu...
row % first row is the headings % file structure: line_number,ID,Name,HW1,HW2,HW3,Midterm,Final % round each grade to it's nearest whole number then, % calculate the score of each student % Score = HW1 * 0.1 + HW2 * 0.1 + HW3 * 0.1 + Midterm * 0.3 + Final * 0.4 -> round to nearest integer % print the score of each stu...
[ -0.0019683837890625, -0.005035400390625, -0.0087890625, 0.0242919921875, -0.0167236328125, 0.006866455078125, 0.02294921875, 0.0223388671875, 0.00011777877807617188, 0.042236328125, -0.005218505859375, -0.011474609375, -0.01531982421875, -0.00070953369140625, 0.0033416748046875, -0.014...
[ 6, 15555, 1745, 5117, 83, 70, 10336, 5180, 11435, 45646, 13315, 2606, 1297, 7146, 163612, 1456, 418, 304, 363, 532, 32166, 6159, 6236, 68807, 12638, 44000, 47, 25, 43573, 525, 28271, 14012, 74481, 47763, 9836, 168071, 572, 107754, 997, 23...
[ 0.00238037109375, 0.26318359375, 0.217041015625, 0.188232421875, 0.1343994140625, 0.050445556640625, 0.20556640625, 0.203125, 0.2242431640625, 0.2266845703125, 0.1470947265625, 0.0867919921875, 0.0885009765625, 0.16455078125, 0.1822509765625, 0.111572265625, 0.07708740234375, 0.174...
embed
77046300_c0
77046300
prolog
0
Title: How do I express and solve this trivial logic puzzle? Problem title: How do I express and solve this trivial logic puzzle? Tags: prolog Problem: How do I express and solve this trivial logic puzzle? I tried to express a more complex logic puzzle and boiled down where I'm failing at to this trivial problem: a Car...
How do I express and solve this trivial logic puzzle? How do I express and solve this trivial logic puzzle? prolog How Car is_ Color How do I express and solve this trivial logic puzzle? I tried to express a more complex logic puzzle and boiled down where I'm failing at to this trivial problem: a Car can be red or gree...
[ 0.00665283203125, -0.00848388671875, 0.005889892578125, 0.002105712890625, -0.0186767578125, 0.02099609375, 0.00732421875, -0.007171630859375, -0.0034332275390625, 0.0030670166015625, -0.0081787109375, 0.010498046875, -0.0098876953125, 0.0108642578125, -0.00116729736328125, 0.007690429...
[ 11249, 54, 87, 36510, 136, 86869, 903, 1927, 686, 289, 62775, 104192, 502, 4867, 3980, 83, 454, 51193, 37842, 1286, 27140, 7565, 35782, 99, 47, 2967, 10, 831, 186, 4842, 707, 50997, 57571, 39, 434, 959, 29806, 876, 3642, 23, 1250, 415...
[ 0.07904052734375, 0.0293426513671875, 0.05401611328125, 0.189697265625, 0.05889892578125, 0.1737060546875, 0.07403564453125, 0.04119873046875, 0.08154296875, 0.0794677734375, 0.1412353515625, 0.194580078125, 0.1202392578125, 0.2197265625, 0.2279052734375, 0.1536865234375, 0.027816772...
embed
54985797_c0
54985797
prolog
0
Title: Prolog doesn&#x27;t terminate after goal reordering Problem title: Prolog doesn&#x27;t terminate after goal reordering Tags: prolog, non-termination, failure-slice, backtracking Problem: Prolog doesn't terminate after goal reordering I'm currently working through the Learn Prolog Now examples and for the one exe...
Prolog doesn&#x27;t terminate after goal reordering Prolog doesn&#x27;t terminate after goal reordering prolog non-termination failure-slice backtracking Prolog Redo _6896 Call Fail Prolog doesn't terminate after goal reordering I'm currently working through the Learn Prolog Now examples and for the one exercise I have...
[ 0.038330078125, 0.0228271484375, 0.005584716796875, 0.01361083984375, 0.000354766845703125, -0.00078582763671875, -0.007293701171875, -0.007781982421875, 0.004364013671875, -0.027099609375, 0.003936767578125, 0.0181884765625, -0.0155029296875, -0.01483154296875, 0.01348876953125, 0.013...
[ 1250, 4867, 22027, 3768, 18, 121011, 13, 7103, 69236, 456, 80596, 502, 351, 720, 91407, 137578, 13348, 4420, 125728, 11648, 26265, 190355, 214, 134031, 14240, 27781, 81979, 30742, 127877, 1810, 4000, 177261, 57278, 15549, 1632, 79986, 41, 129...
[ 0.180908203125, 0.2548828125, 0.04779052734375, 0.06243896484375, 0.097412109375, 0.1727294921875, 0.0965576171875, 0.1324462890625, 0.1915283203125, 0.126708984375, 0.2470703125, 0.1175537109375, 0.06683349609375, 0.06121826171875, 0.060821533203125, 0.1416015625, 0.059173583984375,...
embed
8276510_c0
8276510
prolog
0
Title: Working with 2D arrays in Prolog Problem title: Working with 2D arrays in Prolog Tags: prolog Problem: Working with 2D arrays in Prolog I am asking for help in basic Prolog, a language whose paradigms are difficult for me to grasp. I am very familiar with other languages (C++, Lisp, Java, Assembly, etc.) but am ...
Working with 2D arrays in Prolog Working with 2D arrays in Prolog prolog Working Prolog Color Houses Need Your Working with 2D arrays in Prolog I am asking for help in basic Prolog, a language whose paradigms are difficult for me to grasp. I am very familiar with other languages (C++, Lisp, Java, Assembly, etc.) but am...
[ -0.00445556640625, -0.00811767578125, -0.003265380859375, 0.01220703125, 0.0027008056640625, 0.0308837890625, -0.01092529296875, 0.01519775390625, 0.006378173828125, -0.00799560546875, -0.01123046875, 0.00408935546875, -0.002777099609375, -0.01031494140625, 0.003692626953125, 0.0008926...
[ 27985, 214, 678, 116, 397, 10298, 4778, 1250, 4867, 502, 51193, 13038, 52889, 113292, 4358, 62822, 46876, 124901, 214709, 7, 621, 34844, 100, 163, 27689, 254, 444, 4552, 16031, 37223, 1261, 7008, 41925, 151169, 53, 4, 5, 16, 28484, 95968,...
[ 0.107666015625, 0.010223388671875, 0.1187744140625, 0.14794921875, 0.13330078125, 0.15283203125, 0.12841796875, 0.179443359375, 0.2420654296875, 0.1275634765625, 0.15087890625, 0.1102294921875, 0.07525634765625, 0.036590576171875, 0.09332275390625, 0.0784912109375, 0.1668701171875, ...
embed
48859017_c0
48859017
prolog
0
Title: I am having trouble following the trace function in Prolog. Problem title: I am having trouble following the trace function in Prolog. Tags: trace, prolog Problem: I am having trouble following the trace function in Prolog. I am new to Prolog and computer programming in general. I have been going through the exe...
I am having trouble following the trace function in Prolog. I am having trouble following the trace function in Prolog. trace prolog Prolog H12V12 H14V22 H16V32 H22V14 H24V24 H26V34 H32V16 H34V26 H36V36 Call _5238 _5240 _5242 _5244 _5246 _5248 _5658 _5660 _5662 _5664 _5666 _5668 _5670 Exit Fail Redo I am having trouble...
[ 0.01904296875, -0.00579833984375, -0.0091552734375, 0.020263671875, -0.003692626953125, 0.0238037109375, -0.01190185546875, 0.00531005859375, 0.00665283203125, -0.0238037109375, 0.00946044921875, -0.005401611328125, -0.0172119140625, -0.00848388671875, -0.00921630859375, 0.006469726562...
[ 19441, 63134, 25632, 144851, 32354, 23, 1250, 4867, 502, 572, 1530, 856, 2592, 4015, 2485, 6460, 2357, 4046, 10289, 8659, 26265, 12744, 110763, 89709, 186225, 77622, 180695, 108620, 5443, 217, 190355, 6096, 31, 3525, 13909, 56037, 81979, 1340...
[ 0.01458740234375, 0.1680908203125, 0.2188720703125, 0.30224609375, 0.18603515625, 0.029632568359375, 0.1788330078125, 0.258056640625, 0.1468505859375, 0.0350341796875, 0.1085205078125, 0.08538818359375, 0.0789794921875, 0.07025146484375, 0.07666015625, 0.111572265625, 0.08056640625, ...
embed
30764884_c0
30764884
prolog
0
Title: Evaluate a number in (a few) natural language Problem title: Evaluate a number in (a few) natural language Tags: prolog Problem: Evaluate a number in (a few) natural language Assume a list, each element can be: a) a number 1,2,...9 b) a number 10, 100, 10000, ... (numbers of the form 10^(2^n) with n>=0). It is n...
Evaluate a number in (a few) natural language Evaluate a number in (a few) natural language prolog Evaluate Evaluate a number in (a few) natural language Assume a list, each element can be: a) a number 1,2,...9 b) a number 10, 100, 10000, ... (numbers of the form 10^(2^n) with n>=0). It is need a (as much simple as pos...
[ 0.005462646484375, -0.00057220458984375, -0.002777099609375, 0.038330078125, 0.0078125, 0.01373291015625, -0.009033203125, 0.00286865234375, 0.005889892578125, -0.0262451171875, -0.0026397705078125, 0.00518798828125, -0.013427734375, -0.006134033203125, 0.015625, -0.00897216796875, 0...
[ 151228, 67, 10, 14012, 23, 11, 10846, 6083, 46876, 502, 4867, 66596, 5303, 12638, 12830, 831, 186, 25568, 27, 1126, 876, 209, 805, 4, 77433, 153, 2606, 1297, 3173, 8353, 54753, 19, 653, 2740, 145407, 3871, 8781, 7722, 79986, 151575, 903...
[ 0.291015625, 0.1322021484375, 0.03924560546875, 0.2427978515625, 0.1134033203125, 0.0191497802734375, 0.190673828125, 0.2064208984375, 0.1962890625, 0.1258544921875, 0.1634521484375, 0.1146240234375, 0.185546875, 0.1004638671875, 0.1688232421875, 0.077880859375, 0.06304931640625, 0...
embed
53794232_c0
53794232
prolog
0
Title: Arguments are not sufficiently instantiated prolog Problem title: Arguments are not sufficiently instantiated prolog Tags: instantiation-error, prolog Problem: Arguments are not sufficiently instantiated prolog Trying to write a program that solves this problem: "You are given two jugs, a 5-gallon one and a 3-ga...
Arguments are not sufficiently instantiated prolog Arguments are not sufficiently instantiated prolog instantiation-error prolog Arguments WaterInThree WaterInFive StartNode Sol Visit NextNode PartialSol ERROR _11226 _11252 _11302 _11336 _11388 _11440 Arguments are not sufficiently instantiated prolog Trying to write a...
[ -0.0029296875, 0.02490234375, 0.01080322265625, 0.00634765625, -0.005859375, 0.0111083984375, -0.0257568359375, -0.0172119140625, 0.0087890625, 0.01116943359375, 0.0205078125, 0.002655029296875, -0.01007080078125, 0.024658203125, 0.0185546875, 0.004791259765625, 0.0223388671875, -0...
[ 112140, 7, 959, 129980, 538, 34648, 14, 27686, 502, 4867, 188800, 27646, 4153, 107, 6159, 13794, 5021, 6678, 98684, 4997, 112, 9148, 102588, 151206, 24638, 88438, 4046, 12744, 116597, 9550, 8659, 122545, 141929, 33022, 1528, 86869, 2967, 3447...
[ 0.29052734375, 0.10498046875, 0.1239013671875, 0.2021484375, 0.061431884765625, 0.1514892578125, 0.1231689453125, 0.06903076171875, 0.1768798828125, 0.257080078125, 0.1968994140625, 0.1395263671875, 0.0684814453125, 0.1158447265625, 0.1256103515625, 0.08642578125, 0.1175537109375, ...
embed
39253077_c0
39253077
prolog
0
Title: A positive_integer/1 predicate that works for big numbers Problem title: A positive_integer/1 predicate that works for big numbers Tags: clpfd, integer, prolog Problem: A positive_integer/1 predicate that works for big numbers In my Prolog-inspired language Brachylog , there is the possibility to label CLP(FD)-e...
A positive_integer/1 predicate that works for big numbers A positive_integer/1 predicate that works for big numbers clpfd integer prolog positive_integer CPU Infinite Lips Out ERROR A positive_integer/1 predicate that works for big numbers In my Prolog-inspired language Brachylog , there is the possibility to label CLP...
[ -0.033203125, -0.019287109375, 0.0130615234375, -0.01251220703125, 0.0169677734375, 0.0028076171875, 0.0008087158203125, -0.001922607421875, 0.0014801025390625, -0.06201171875, 0.019775390625, -0.025390625, -0.00885009765625, 0.0064697265625, 0.0294189453125, 0.007415771484375, 0.021...
[ 24491, 6191, 1505, 11583, 1653, 2063, 67, 450, 43240, 100, 6957, 101935, 33139, 39557, 71, 892, 502, 4867, 86039, 134322, 156903, 13538, 151206, 1250, 93685, 46876, 6163, 7668, 207116, 67967, 313, 37352, 98553, 3181, 77336, 38516, 54241, 7775...
[ 0.21484375, 0.15185546875, 0.11181640625, 0.1796875, 0.198486328125, 0.21728515625, 0.1075439453125, 0.0394287109375, 0.154296875, 0.10528564453125, 0.114501953125, 0.1419677734375, 0.060577392578125, 0.10162353515625, 0.1221923828125, 0.1424560546875, 0.118896484375, 0.21081542968...
embed
62619246_c0
62619246
prolog
0
Title: Prolog: Convert tree to order list and check if the list is sorted Problem title: Prolog: Convert tree to order list and check if the list is sorted Tags: tree, arrays, inorder, prolog Problem: Prolog: Convert tree to order list and check if the list is sorted Now I want to check if a tree is a search tree, so t...
Prolog: Convert tree to order list and check if the list is sorted Prolog: Convert tree to order list and check if the list is sorted tree arrays inorder prolog Prolog Convert List Methode Traversel Left Right TODO Check Der Fehler Prolog: Convert tree to order list and check if the list is sorted Now I want to check i...
[ 0.0225830078125, -0.0106201171875, 0.002471923828125, -0.02490234375, 0.002349853515625, 0.00634765625, -0.02197265625, -0.02001953125, -0.01068115234375, -0.0272216796875, -0.00066375732421875, -0.00408935546875, -0.01708984375, -0.003662109375, 0.0211181640625, 0.004547119140625, 0...
[ 1250, 4867, 1657, 11549, 53201, 47, 12989, 5303, 12765, 2174, 83, 17497, 10298, 4778, 23, 80596, 502, 32036, 74644, 4937, 814, 1428, 90911, 9926, 13223, 38679, 1310, 81934, 71, 3444, 33938, 360, 143045, 56, 37317, 13, 82800, 39555, 43240, ...
[ 0.120361328125, 0.210205078125, 0.060699462890625, 0.1309814453125, 0.239501953125, 0.0521240234375, 0.2103271484375, 0.1875, 0.1759033203125, 0.07196044921875, 0.1162109375, 0.2301025390625, 0.106201171875, 0.000030517578125, 0.06170654296875, 0.1795654296875, 0.0660400390625, 0.1...
embed
33184850_c0
33184850
prolog
0
Title: Knowledge Based System of a family tree in SWI-Prolog Problem title: Knowledge Based System of a family tree in SWI-Prolog Tags: prolog Problem: Knowledge Based System of a family tree in SWI-Prolog I have these family facts: male(jerry). male(stuart). male(warren). male(peter). female(kather). female(maryalice)...
Knowledge Based System of a family tree in SWI-Prolog Knowledge Based System of a family tree in SWI-Prolog prolog Knowledge Based System SWI-Prolog parent_of Knowledge Based System of a family tree in SWI-Prolog I have these family facts: And using the base predicates male , female and parent_of I want to define fathe...
[ 0.0322265625, 0.01708984375, 0.000701904296875, 0.005401611328125, -0.01708984375, -0.0020751953125, -0.0230712890625, 0.00043487548828125, -0.012451171875, -0.049560546875, 0.0125732421875, -0.0247802734375, -0.015869140625, 0.0233154296875, 0.0196533203125, 0.0166015625, 0.02673339...
[ 191428, 44978, 12353, 14449, 53201, 159, 38969, 10752, 4867, 502, 49129, 4390, 9, 765, 6097, 15824, 17368, 3647, 1653, 2063, 11280, 117776, 454, 3444, 47, 61924, 67373, 4, 42732, 775, 76849, 78, 79298, 5732, 41, 683, 441, 30646, 1631, 982...
[ 0.1556396484375, 0.160888671875, 0.1719970703125, 0.134765625, 0.2164306640625, 0.054229736328125, 0.1866455078125, 0.123779296875, 0.1953125, 0.09771728515625, 0.267578125, 0.18798828125, 0.011016845703125, 0.006683349609375, 0.005645751953125, 0.1312255859375, 0.040130615234375, ...
embed
31710213_c0
31710213
prolog
0
Title: Creating a list from user input with swi-prolog Problem title: Creating a list from user input with swi-prolog Tags: list, prolog Problem: Creating a list from user input with swi-prolog This is my first experience with Prolog. I am at the beginning stages of writing a program that will take input from the user ...
Creating a list from user input with swi-prolog Creating a list from user input with swi-prolog list prolog user Creating Symptom New_Symptom Answer Creating a list from user input with swi-prolog This is my first experience with Prolog. I am at the beginning stages of writing a program that will take input from the us...
[ 0.01092529296875, -0.00653076171875, 0.01348876953125, 0.016357421875, -0.00188446044921875, 0.0267333984375, -0.006591796875, 0.0238037109375, 0.0003299713134765625, -0.0458984375, 0.0245361328125, 0.0037841796875, -0.0286865234375, -0.021484375, 0.00970458984375, 0.00103759765625, ...
[ 56781, 5303, 1295, 38937, 107730, 91, 2452, 3454, 4867, 678, 502, 149450, 2356, 65183, 2676, 5928, 130373, 5117, 16981, 1250, 86595, 36541, 32562, 1528, 5646, 4861, 4527, 4677, 99219, 70997, 61475, 17569, 28282, 9351, 10336, 153698, 46741, 10...
[ 0.1297607421875, 0.2115478515625, 0.089599609375, 0.147216796875, 0.209228515625, 0.053924560546875, 0.2164306640625, 0.1473388671875, 0.2342529296875, 0.033966064453125, 0.125732421875, 0.199462890625, 0.040008544921875, 0.042572021484375, 0.1346435546875, 0.1092529296875, 0.1439208...
embed
53856614_c0
53856614
prolog
0
Title: Find a element in binary tree in PROLOG Problem title: Find a element in binary tree in PROLOG Tags: prolog, logic, tree Problem: Find a element in binary tree in PROLOG I am trying to implement this with Prolog to find an element in a binary tree. elem1(tree(Element,void,void),Element). elem1(tree(_Element,Left...
Find a element in binary tree in PROLOG Find a element in binary tree in PROLOG prolog logic tree Find PROLOG elem1 Element _Element Left Right Call Exit Fail Redo Find a element in binary tree in PROLOG I am trying to implement this with Prolog to find an element in a binary tree. because I think that elem1 checks if ...
[ 0.0107421875, 0.004730224609375, 0.00933837890625, -0.00113677978515625, 0.0108642578125, 0.021728515625, -0.009765625, -0.0068359375, -0.0235595703125, -0.059814453125, 0.0096435546875, -0.0106201171875, -0.0224609375, 0.0035552978515625, 0.042724609375, -0.013671875, 0.03857421875,...
[ 26040, 12830, 23, 2394, 6635, 53201, 10514, 47510, 502, 4867, 62775, 88, 195, 418, 48325, 647, 19929, 2480, 90911, 26265, 5443, 217, 190355, 6096, 31, 29479, 1250, 7413, 12765, 74855, 33938, 4488, 140992, 195625, 11782, 7108, 3917, 17857, 2...
[ 0.08905029296875, 0.21826171875, 0.05108642578125, 0.157958984375, 0.123291015625, 0.2305908203125, 0.17578125, 0.245849609375, 0.1328125, 0.2066650390625, 0.10498046875, 0.0601806640625, 0.123291015625, 0.0755615234375, 0.1873779296875, 0.032501220703125, 0.158935546875, 0.0545349...
embed
52633334_c0
52633334
prolog
0
Title: Prolog: uncaught exception: error(existence_error(procedure,s/3),top_level/0) Problem title: Prolog: uncaught exception: error(existence_error(procedure,s/3),top_level/0) Tags: prolog, dcg Problem: Prolog: uncaught exception: error(existence_error(procedure,s/3),top_level/0) I know there have been questioned ask...
Prolog: uncaught exception: error(existence_error(procedure,s/3),top_level/0) Prolog: uncaught exception: error(existence_error(procedure,s/3),top_level/0) prolog dcg Prolog existence_error top_level DET PRONOUN Prolog: uncaught exception: error(existence_error(procedure,s/3),top_level/0) I know there have been questio...
[ 0.0146484375, 0.02001953125, -0.0120849609375, -0.0059814453125, -0.00750732421875, 0.015869140625, 0.017333984375, -0.000766754150390625, 0.0157470703125, -0.06298828125, 0.006988525390625, -0.000946044921875, -0.01171875, -0.0172119140625, 0.033447265625, -0.0022125244140625, 0.012...
[ 1250, 4867, 51, 408, 46526, 131527, 18499, 116311, 188800, 232578, 7, 18113, 13784, 67919, 107838, 502, 104, 238, 177, 2663, 105437, 10514, 8575, 14006, 7464, 38246, 18, 19048, 26366, 44691, 31577, 28282, 391, 56367, 28368, 187694, 149067, 67...
[ 0.1702880859375, 0.2288818359375, 0.08587646484375, 0.1212158203125, 0.1322021484375, 0.197509765625, 0.1937255859375, 0.190185546875, 0.2344970703125, 0.1307373046875, 0.04241943359375, 0.240966796875, 0.125, 0.1512451171875, 0.14013671875, 0.14990234375, 0.0284271240234375, 0.029...
embed
79434794_c1
79434794
prolog
1
/2). % role(RoleName, Model, Operation) role(jobuser, jobs, pivot). role(jobadmin, jobs, write). role(jobadmin, jobs, delete). % if the role can write, the role can read role(Role, Model, read) :- role(Role, Model, write). role(Role, Model, Operation) :- inherit(ParentRole, Role), role(ParentRole, Model, Operation). in...
/2). % role(RoleName, Model, Operation) role(jobuser, jobs, pivot). role(jobadmin, jobs, write). role(jobadmin, jobs, delete). % if the role can write, the role can read role(Role, Model, read) :- role(Role, Model, write). role(Role, Model, Operation) :- inherit(ParentRole, Role), role(ParentRole, Model, Operation). in...
[ 0.0133056640625, 0.0208740234375, 0.00323486328125, 0.02294921875, -0.0164794921875, -0.0024871826171875, 0.000469207763671875, -0.000629425048828125, 0.00299072265625, -0.021240234375, 0.0166015625, 0.00201416015625, -0.003509521484375, 0.00182342529296875, -0.01202392578125, 0.023071...
[ 248, 10461, 1745, 31486, 12724, 133, 163612, 13293, 102203, 36791, 65918, 74464, 80953, 18, 194, 135087, 33022, 154109, 2174, 70, 831, 12301, 15772, 4, 3334, 28636, 2517, 2777, 12447, 12765, 15277, 39, 1062, 2189, 1556, 16940, 72018, 52080, ...
[ 0.001007080078125, 0.09490966796875, 0.142333984375, 0.228271484375, 0.161865234375, 0.078857421875, 0.108154296875, 0.1982421875, 0.17529296875, 0.06982421875, 0.160400390625, 0.1514892578125, 0.1405029296875, 0.0828857421875, 0.014373779296875, 0.2333984375, 0.1663818359375, 0.15...
embed
72116577_c0
72116577
prolog
0
Title: prolog max_min_eval/2 solution issue Problem title: prolog max_min_eval/2 solution issue Tags: eclipse-clp, prolog Problem: prolog max_min_eval/2 solution issue I want to create a predicate max_min_eval/2 or max_min_eval(List,Result) which read a list like this [1,min,2,max,4,max,3] -> (((1 min 2) max 4) max 3) ...
prolog max_min_eval/2 solution issue prolog max_min_eval/2 solution issue eclipse-clp prolog max_min_eval seperate_lists List Lets Nums Result max_min_eval_aux NH1 NH2 NewNums NewLets prolog max_min_eval/2 solution issue I want to create a predicate max_min_eval/2 or max_min_eval(List,Result) which read a list like thi...
[ 0.00136566162109375, 0.00372314453125, 0.031005859375, 0.017578125, -0.0126953125, 0.01611328125, 0.01708984375, -0.00872802734375, 0.003143310546875, -0.015380859375, -0.007110595703125, 0.0087890625, 0.0269775390625, -0.0108642578125, 0.03515625, -0.014404296875, -0.00439453125, ...
[ 502, 4867, 18389, 1249, 13, 1405, 12477, 29806, 31089, 106371, 184, 26775, 40, 143870, 6562, 32036, 10842, 52782, 126684, 10442, 47052, 304, 2356, 10321, 124480, 3444, 28282, 1653, 2063, 67, 707, 154663, 7, 7136, 12301, 5303, 1884, 24084, 6...
[ 0.14697265625, 0.2078857421875, 0.179931640625, 0.2318115234375, 0.060028076171875, 0.2432861328125, 0.2041015625, 0.1175537109375, 0.0963134765625, 0.1905517578125, 0.1015625, 0.10430908203125, 0.007659912109375, 0.1204833984375, 0.1722412109375, 0.117431640625, 0.151611328125, 0....
embed
22789275_c1
22789275
prolog
1
1 \= Goose2. step((Man1, Goose, Fox1, Beans), "Fox", (Man2, Goose, Fox2, Beans)) :- valid((Man1, Goose, Fox1, Beans)), valid((Man2, Goose, Fox2, Beans)), Man1 \= Man2, Fox1 \= Fox2. step((Man1, Goose, Fox, Beans1), "Beans", (Man2, Goose, Fox, Beans1)) :- valid((Man1, Goose, Fox, Beans1)), valid((Man2, Goose, Fox, Beans...
1 \= Goose2. step((Man1, Goose, Fox1, Beans), "Fox", (Man2, Goose, Fox2, Beans)) :- valid((Man1, Goose, Fox1, Beans)), valid((Man2, Goose, Fox2, Beans)), Man1 \= Man2, Fox1 \= Fox2. step((Man1, Goose, Fox, Beans1), "Beans", (Man2, Goose, Fox, Beans1)) :- valid((Man1, Goose, Fox, Beans1)), valid((Man2, Goose, Fox, Beans...
[ -0.00213623046875, 0.037353515625, 0.0181884765625, 0.01177978515625, -0.0034332275390625, 0.0223388671875, -0.02001953125, -0.0272216796875, 0.01275634765625, -0.00836181640625, 0.01214599609375, 0.0146484375, -0.014404296875, 0.01300048828125, 0.004058837890625, -0.006103515625, 0....
[ 106, 41872, 1369, 2016, 8364, 5442, 29954, 12662, 418, 4, 49049, 131806, 7, 27591, 425, 304, 15772, 35604, 1572, 6, 6766, 10133, 17727, 58359, 2886, 294, 159, 98684, 191644, 567, 2676, 7013, 959, 27417, 65331, 50478, 4034, 2480, 69236, 54...
[ 0.0604248046875, 0.0150909423828125, 0.013702392578125, 0.1356201171875, 0.211669921875, 0.176513671875, 0.2293701171875, 0.12939453125, 0.1011962890625, 0.040679931640625, 0.1959228515625, 0.20751953125, 0.1015625, 0.146728515625, 0.1358642578125, 0.124755859375, 0.03741455078125, ...
embed
63102087_c0
63102087
prolog
0
Title: Prolog:get the head of the list who contains the most common elements Problem title: Prolog:get the head of the list who contains the most common elements Tags: prolog, list Problem: Prolog:get the head of the list who contains the most common elements I'm doing the game akinator in prolog So I have a list that ...
Prolog:get the head of the list who contains the most common elements Prolog:get the head of the list who contains the most common elements prolog list Prolog:get Description Input Nbcommons Head Prolog:get the head of the list who contains the most common elements I'm doing the game akinator in prolog So I have a list...
[ 0.01409912109375, -0.01806640625, 0.01202392578125, 0.0255126953125, 0.016357421875, 0.0120849609375, 0.0020904541015625, -0.0118408203125, 0.0279541015625, -0.055908203125, 0.0196533203125, 0.0167236328125, 0.005645751953125, 0.0133056640625, -0.003265380859375, -0.0252685546875, 0....
[ 1250, 4867, 12, 3794, 10336, 111, 5303, 2750, 70541, 2684, 39210, 80854, 502, 70643, 360, 7077, 541, 275, 277, 96303, 44816, 20594, 6712, 27255, 4597, 26292, 23, 34153, 11782, 63399, 3884, 237, 121691, 30544, 39624, 66, 2714, 9858, 332, 1...
[ 0.17626953125, 0.2423095703125, 0.013916015625, 0.12158203125, 0.193359375, 0.098876953125, 0.1844482421875, 0.05389404296875, 0.123046875, 0.14111328125, 0.2257080078125, 0.204833984375, 0.1461181640625, 0.273193359375, 0.060394287109375, 0.000885009765625, 0.0207061767578125, 0.0...
embed
41410359_c0
41410359
prolog
0
Title: How can I find count of capital letter, small letters and words in Prolog Problem title: How can I find count of capital letter, small letters and words in Prolog Tags: prolog Problem: How can I find count of capital letter, small letters and words in Prolog I need to read a text file and find the number of capi...
How can I find count of capital letter, small letters and words in Prolog How can I find count of capital letter, small letters and words in Prolog prolog How Prolog Acmak File InputStream get_code CharacterCode LowerCount UpperCount NumberCount SpaceCount WordCount UpperCoun SpaceC NextCharacterCode Harf Sayisi Letter...
[ 0.0125732421875, -0.0257568359375, -0.006622314453125, 0.01531982421875, 0.0030975341796875, -0.008544921875, 0.0135498046875, -0.0113525390625, 0.010009765625, 0.0062255859375, 0.003265380859375, -0.01531982421875, 0.005767822265625, 0.005096435546875, 0.0235595703125, 0.0015029907226...
[ 11249, 831, 87, 7413, 54529, 111, 10323, 31330, 19336, 120820, 136, 34153, 23, 1250, 4867, 502, 9852, 2327, 42724, 7077, 115061, 2046, 40899, 21656, 2263, 114211, 61187, 108210, 26655, 103332, 43045, 22543, 309, 4997, 1950, 420, 25916, 2726, ...
[ 0.038238525390625, 0.051361083984375, 0.0188751220703125, 0.135986328125, 0.2130126953125, 0.1082763671875, 0.176513671875, 0.160888671875, 0.13720703125, 0.169921875, 0.058013916015625, 0.1905517578125, 0.06549072265625, 0.1783447265625, 0.261474609375, 0.1519775390625, 0.0606384277...
embed
46618201_c0
46618201
prolog
0
Title: How to find kth generation of a family tree in Prolog? Problem title: How to find kth generation of a family tree in Prolog? Tags: prolog, family-tree Problem: How to find kth generation of a family tree in Prolog? I am trying to find a list of all the family members for the kth generation of a given family. We ...
How to find kth generation of a family tree in Prolog? How to find kth generation of a family tree in Prolog? prolog family-tree How Prolog How to find kth generation of a family tree in Prolog? I am trying to find a list of all the family members for the kth generation of a given family. We are given the first members...
[ 0.01007080078125, 0.01287841796875, 0.0052490234375, -0.01007080078125, 0.0026092529296875, 0.007080078125, -0.025634765625, -0.0152587890625, -0.004852294921875, -0.035400390625, 0.00323486328125, -0.012939453125, -0.02587890625, 0.00390625, 0.016845703125, -0.01708984375, 0.0009117...
[ 11249, 47, 7413, 472, 927, 58093, 111, 14449, 53201, 23, 1250, 4867, 502, 62600, 31577, 5303, 756, 43032, 100, 34475, 5117, 30742, 208124, 26366, 2046, 70, 2203, 201, 3917, 831, 20028, 41911, 1884, 959, 26785 ]
[ 0.0596923828125, 0.04827880859375, 0.1334228515625, 0.1700439453125, 0.2166748046875, 0.239501953125, 0.0237884521484375, 0.11669921875, 0.2193603515625, 0.07562255859375, 0.157470703125, 0.257568359375, 0.1263427734375, 0.1868896484375, 0.0199737548828125, 0.06927490234375, 0.054565...
embed
34638807_c0
34638807
prolog
0
Title: Prolog backtracking: Arguments are not sufficiently instantiated Problem title: Prolog backtracking: Arguments are not sufficiently instantiated Tags: backtracking, instantiation-error, prolog Problem: Prolog backtracking: Arguments are not sufficiently instantiated I have the following problem: Generate all sub...
Prolog backtracking: Arguments are not sufficiently instantiated Prolog backtracking: Arguments are not sufficiently instantiated backtracking instantiation-error prolog a Prolog Arguments N-M N-1 Prolog backtracking: Arguments are not sufficiently instantiated I have the following problem: Generate all sub-strings of ...
[ 0.0030059814453125, -0.0030059814453125, 0.005035400390625, -0.00982666015625, -0.004913330078125, 0.0054931640625, -0.006591796875, -0.003936767578125, 0.0279541015625, -0.01226806640625, 0.0145263671875, -0.006378173828125, 0.0147705078125, 0.0091552734375, 0.0107421875, -0.024169921...
[ 1250, 4867, 4420, 125728, 112140, 7, 621, 959, 129980, 538, 34648, 14, 214, 188800, 502, 541, 594, 5759, 27686, 2967, 155370, 756, 1614, 91693, 140909, 116, 1639, 21748, 100, 142424, 757, 707, 68940, 10, 418, 304, 58745, 11, 1300, 2203, ...
[ 0.1470947265625, 0.2127685546875, 0.1258544921875, 0.2215576171875, 0.25634765625, 0.081787109375, 0.045654296875, 0.1181640625, 0.1796875, 0.0772705078125, 0.1202392578125, 0.12548828125, 0.00494384765625, 0.157958984375, 0.0882568359375, 0.0172576904296875, 0.078125, 0.0972900390...
embed
32586326_c0
32586326
prolog
0
Title: Building a logical expression from structure data for clpb Problem title: Building a logical expression from structure data for clpb Tags: clpb, prolog Problem: Building a logical expression from structure data for clpb I have data in the following form: :-use_module(library(clpb)). %inputs are ids that will hav...
Building a logical expression from structure data for clpb Building a logical expression from structure data for clpb clpb prolog structure other inputs Building use_module i10 i11 i12 i13 i14 i15 i16 i17 i18 i19 i20 i21 i22 i23 and_gate ListOfInputs and1 and2 and3 or1 or2 and4 or3 and5 or_gate or4 device_structure OnO...
[ 0.01708984375, 0.0181884765625, 0.00077056884765625, 0.0107421875, 0.007781982421875, 0.0272216796875, 0.00616455078125, -0.00164794921875, -0.001312255859375, -0.04736328125, -0.0184326171875, -0.009765625, -0.005584716796875, -0.0142822265625, 0.00927734375, 0.00396728515625, -0.00...
[ 104919, 62775, 289, 125195, 1295, 45646, 2053, 33139, 254, 275, 502, 4867, 107730, 4527, 83279, 963, 1662, 1530, 2681, 2592, 1837, 2485, 2489, 1819, 2947, 1549, 3117, 4015, 3742, 42118, 32036, 132887, 4153, 136, 707, 758, 617, 75186, 137656...
[ 0.13037109375, 0.156494140625, 0.0950927734375, 0.2039794921875, 0.03814697265625, 0.2230224609375, 0.156494140625, 0.0506591796875, 0.09222412109375, 0.145263671875, 0.0911865234375, 0.162841796875, 0.1605224609375, 0.13037109375, 0.1129150390625, 0.135009765625, 0.10052490234375, ...
embed
53814478_c0
53814478
prolog
0
Title: Towers of Hanoi using Lists Prolog Problem title: Towers of Hanoi using Lists Prolog Tags: prolog, list, towers-of-hanoi Problem: Towers of Hanoi using Lists Prolog I know that there is already sample programs floating around that cover this, but I need to do the towers of hanoi with 6 discs a specific way for a...
Towers of Hanoi using Lists Prolog Towers of Hanoi using Lists Prolog prolog list towers-of-hanoi Lists Towers Hanoi Prolog Post StartNode Sol Visit NextNode PartialSol Towers of Hanoi using Lists Prolog I know that there is already sample programs floating around that cover this, but I need to do the towers of hanoi w...
[ 0.00457763671875, 0.0002155303955078125, 0.0091552734375, 0.014892578125, -0.010498046875, -0.004974365234375, -0.03466796875, 0.002960205078125, -0.003997802734375, -0.02197265625, 0.030029296875, 0.0198974609375, -0.017578125, 0.01171875, 0.00421142578125, -0.0019378662109375, 0.00...
[ 68718, 7, 111, 2548, 5380, 17368, 32036, 1250, 4867, 502, 5303, 47, 42844, 4390, 1121, 13794, 5021, 6678, 98684, 4997, 9148, 102588, 21771, 121413, 103391, 29256, 3871, 54, 777, 678, 305, 17116, 29458, 3917, 95486, 63134, 28864, 82424, 3506...
[ 0.2047119140625, 0.0743408203125, 0.1319580078125, 0.15185546875, 0.191162109375, 0.06829833984375, 0.188720703125, 0.1129150390625, 0.1956787109375, 0.07037353515625, 0.1624755859375, 0.1326904296875, 0.163818359375, 0.003875732421875, 0.07012939453125, 0.0509033203125, 0.0940551757...
embed
61768707_c0
61768707
prolog
0
Title: How can I display the results of an SWI-Prolog program in a table? (CLP problem) Problem title: How can I display the results of an SWI-Prolog program in a table? (CLP problem) Tags: clp, prolog Problem: How can I display the results of an SWI-Prolog program in a table? (CLP problem) I am trying to solve a CLP p...
How can I display the results of an SWI-Prolog program in a table? (CLP problem) How can I display the results of an SWI-Prolog program in a table? (CLP problem) clp prolog How SWI-Prolog CLP Constraint Logic Programming use_module Your All Egressy Fenyvesi Gallyas Jeney Vadkerti Edina Frida Gabriella Jozsef Vince Buda...
[ 0.0107421875, -0.01385498046875, 0.006195068359375, 0.00148773193359375, -0.00811767578125, -0.000598907470703125, 0.0022430419921875, -0.0002155303955078125, 0.01104736328125, -0.00665283203125, 0.006500244140625, -0.006927490234375, -0.00421142578125, 0.002532958984375, 0.0062866210937...
[ 11249, 44116, 50339, 159, 38969, 10752, 4867, 1528, 23, 23180, 37352, 2967, 10, 33139, 254, 502, 9, 2816, 4288, 50592, 27958, 4527, 83279, 14804, 3164, 19623, 53, 299, 67334, 21713, 395, 845, 10186, 10414, 1728, 118, 17156, 76, 9173, 2520...
[ 0.023223876953125, 0.208740234375, 0.197265625, 0.050445556640625, 0.2139892578125, 0.1517333984375, 0.2125244140625, 0.1715087890625, 0.051513671875, 0.251220703125, 0.215087890625, 0.1632080078125, 0.024749755859375, 0.035003662109375, 0.095947265625, 0.093505859375, 0.012420654296...
embed
19857072_c0
19857072
prolog
0
Title: How to find blood relatives only in prolog Problem title: How to find blood relatives only in prolog Tags: prolog Problem: How to find blood relatives only in prolog Using recursion i need to find all blood relatives of any person in the family tree. My attempt so far has failed. Here is my code, with my attempt...
How to find blood relatives only in prolog How to find blood relatives only in prolog prolog How Cousin Parent Here Relative Rela Child How to find blood relatives only in prolog Using recursion i need to find all blood relatives of any person in the family tree. My attempt so far has failed. Here is my code, with my a...
[ -0.00147247314453125, 0.020263671875, 0.0279541015625, 0.00494384765625, -0.00927734375, -0.002227783203125, -0.0224609375, -0.00040435791015625, -0.007049560546875, -0.04541015625, 0.0014495849609375, -0.0277099609375, 0.00113677978515625, 0.015625, 0.0301513671875, 0.00982666015625, ...
[ 11249, 7413, 59714, 35845, 7, 4734, 23, 502, 4867, 1311, 223, 73, 170918, 11853, 231839, 13, 29690, 123829, 195625, 1830, 3871, 47, 756, 2499, 3445, 14449, 53201, 81887, 2060, 165523, 18151, 103136, 53666, 43240, 179933, 54241, 40956, 3564 ]
[ 0.057342529296875, 0.137939453125, 0.22705078125, 0.2196044921875, 0.1104736328125, 0.14794921875, 0.052490234375, 0.1580810546875, 0.2218017578125, 0.07049560546875, 0.126708984375, 0.1116943359375, 0.1593017578125, 0.1309814453125, 0.19189453125, 0.0343017578125, 0.1536865234375, ...
embed
57207781_c0
57207781
prolog
0
Title: Using PySwip to query Prolog database from python Problem title: Using PySwip to query Prolog database from python Tags: python, prolog Problem: Using PySwip to query Prolog database from python I have written a program in Prolog and I want to access its results in python. I had tried to write my code using pyDa...
Using PySwip to query Prolog database from python Using PySwip to query Prolog database from python python prolog python pyswip Prolog Using atom_concat Output Input Out prolog.consult knowledge_base.pl prolog.query Using PySwip to query Prolog database from python I have written a program in Prolog and I want to acces...
[ 0.030517578125, 0.023681640625, -0.0002689361572265625, 0.02783203125, -0.0185546875, 0.0189208984375, -0.0181884765625, 0.0032196044921875, -0.0037841796875, -0.058349609375, 0.00457763671875, -0.01544189453125, -0.0018463134765625, -0.01385498046875, -0.02392578125, -0.00714111328125...
[ 27512, 294, 2452, 254, 41, 1294, 1250, 4867, 63399, 1295, 17198, 50828, 502, 57756, 34627, 2271, 4460, 13538, 147834, 51359, 37382, 2424, 944, 59121, 1528, 17203, 50339, 33022, 18151, 137989, 2967, 5809, 959, 86869, 31577, 75463, 21771, 75935...
[ 0.188720703125, 0.092041015625, 0.2303466796875, 0.204833984375, 0.1087646484375, 0.078369140625, 0.150146484375, 0.209228515625, 0.1802978515625, 0.051483154296875, 0.06982421875, 0.1578369140625, 0.1002197265625, 0.0673828125, 0.1593017578125, 0.0197601318359375, 0.155517578125, ...
embed
58743139_c0
58743139
prolog
0
Title: How to get output from stdout using python subprocess? Problem title: How to get output from stdout using python subprocess? Tags: prolog, python-3.x, python, subprocess, swi-prolog Problem: How to get output from stdout using python subprocess? I am trying to use python's (3.8) subprocess library to communicate...
How to get output from stdout using python subprocess? How to get output from stdout using python subprocess? prolog python-3.x python subprocess swi-prolog stdout python os signal subprocess How NOTE subprocess.PIPE subprocess.Popen universal_newlines p.stdin.write Age Car Cost p.stdout.read p.kill python-3.x How to g...
[ 0.025146484375, 0.0244140625, 0.0037994384765625, 0.004119873046875, -0.010498046875, -0.00732421875, 0.020263671875, -0.009033203125, -0.0096435546875, -0.02783203125, 0.001983642578125, 0.038818359375, -0.0311279296875, 0.01226806640625, -0.003448486328125, -0.00787353515625, 0.021...
[ 11249, 2046, 140992, 1295, 6138, 246, 1003, 17368, 17198, 50828, 1614, 63923, 502, 4867, 8316, 425, 2452, 3454, 362, 26073, 212963, 15185, 21907, 127642, 33, 32813, 54936, 59801, 271, 3035, 434, 18781, 72944, 3980, 63099, 39116, 119261, 13552...
[ 0.044708251953125, 0.13720703125, 0.286376953125, 0.141357421875, 0.195068359375, 0.12939453125, 0.24560546875, 0.06085205078125, 0.1346435546875, 0.149169921875, 0.222900390625, 0.1929931640625, 0.0955810546875, 0.201416015625, 0.10888671875, 0.04486083984375, 0.162353515625, 0.12...
embed
9030462_c0
9030462
prolog
0
Title: 3-jugs of water in prolog doesn&#x27;t work Problem title: 3-jugs of water in prolog doesn&#x27;t work Tags: water-jug-problem, prolog Problem: 3-jugs of water in prolog doesn't work I have 3 jugs of water problem to solve but with a little trick.I dont have to use an algorithm but to have a 'function' that allo...
3-jugs of water in prolog doesn&#x27;t work 3-jugs of water in prolog doesn&#x27;t work water-jug-problem prolog cur_state end_state State D1-N D2-N D3-N D11 D22 D33 Arxikh Telikh Move1 Move2 Move3 NextState Bravo Eiste 3-jugs of water in prolog doesn't work I have 3 jugs of water problem to solve but with a little tri...
[ 0.01153564453125, 0.0196533203125, 0.0126953125, 0.0106201171875, -0.0166015625, 0.005157470703125, -0.0263671875, 0.0152587890625, -0.0084228515625, -0.006744384765625, 0.01336669921875, 0.019287109375, 0.006072998046875, 0.0084228515625, 0.003021240234375, -0.003021240234375, 0.016...
[ 5691, 461, 9405, 111, 7401, 23, 502, 4867, 22027, 3768, 18, 4488, 177, 38953, 9709, 61340, 3564, 22836, 20268, 839, 18504, 27495, 1662, 4015, 9185, 41336, 9344, 135828, 418, 304, 363, 4997, 135206, 85115, 4435, 138, 103863, 2967, 86869, 1...
[ 0.236572265625, 0.2471923828125, 0.1622314453125, 0.117919921875, 0.2083740234375, 0.06097412109375, 0.19970703125, 0.261474609375, 0.09820556640625, 0.059844970703125, 0.112060546875, 0.1783447265625, 0.1513671875, 0.1597900390625, 0.07257080078125, 0.1866455078125, 0.075439453125, ...
embed
50979115_c0
50979115
prolog
0
Title: Prolog, how to limit &quot;generate and test&quot; when generating an infinite sequence Problem title: Prolog, how to limit &quot;generate and test&quot; when generating an infinite sequence Tags: prolog Problem: Prolog, how to limit "generate and test" when generating an infinite sequence I'm trying to write a ...
Prolog, how to limit &quot;generate and test&quot; when generating an infinite sequence Prolog, how to limit &quot;generate and test&quot; when generating an infinite sequence prolog Prolog Unpacked Rest compress2 _904 Large Small Packed _658 _1162 _1168 Prolog, how to limit "generate and test" when generating an infin...
[ -0.0004405975341796875, 0.01519775390625, 0.0128173828125, 0.017578125, 0.00738525390625, 0.004608154296875, 0.01513671875, 0.0003604888916015625, 0.02880859375, -0.01123046875, 0.000762939453125, 0.02490234375, 0.01104736328125, 0.0018463134765625, 0.003997802734375, 0.010498046875, ...
[ 1250, 4867, 17475, 48281, 67, 136, 3034, 12663, 54241, 40, 944, 502, 29102, 49756, 375, 11856, 304, 5039, 105508, 56607, 192066, 16028, 3642, 3229, 1916, 33022, 1653, 2063, 40251, 885, 148390, 171763, 5303, 80854, 33342, 43240, 6782, 153161, ...
[ 0.1541748046875, 0.1947021484375, 0.234375, 0.1708984375, 0.06500244140625, 0.120849609375, 0.2203369140625, 0.1497802734375, 0.1392822265625, 0.034881591796875, 0.115966796875, 0.0811767578125, 0.1224365234375, 0.0926513671875, 0.09283447265625, 0.1839599609375, 0.001556396484375, ...
embed
23730009_c0
23730009
prolog
0
Title: How can I include a value to be included inside a coin counter currency program for Prolog? Problem title: How can I include a value to be included inside a coin counter currency program for Prolog? Tags: eclipse-clp, prolog Problem: How can I include a value to be included inside a coin counter currency program...
How can I include a value to be included inside a coin counter currency program for Prolog? How can I include a value to be included inside a coin counter currency program for Prolog? eclipse-clp prolog a How Prolog Values Coins init_vars coin_cons Pockets clever_cons Min List Next Rest How can I include a value to be ...
[ -0.002227783203125, -0.00970458984375, 0.01104736328125, 0.014404296875, -0.01055908203125, 0.00909423828125, -0.01409912109375, 0.0035400390625, 0.0218505859375, -0.029052734375, 0.0026702880859375, 0.006011962890625, -0.0020294189453125, 0.0118408203125, 0.020751953125, 0.01031494140...
[ 11249, 831, 26698, 10, 34292, 99201, 46132, 43780, 105416, 226649, 1528, 1250, 4867, 100, 106371, 184, 26775, 502, 190060, 76123, 217, 1961, 25553, 158226, 27571, 4211, 32036, 4997, 49756, 5426, 74481, 10846, 525, 41170, 382, 12921, 142424, 1...
[ 0.0360107421875, 0.03167724609375, 0.206787109375, 0.036712646484375, 0.21044921875, 0.1927490234375, 0.139892578125, 0.1702880859375, 0.213134765625, 0.1837158203125, 0.1771240234375, 0.1744384765625, 0.26708984375, 0.0216827392578125, 0.1546630859375, 0.10430908203125, 0.1242675781...
embed
50417278_c1
50417278
prolog
1
d,H3e,H3f,H3g), V1b = H1b, V1d = H2b, V1f = H3b, V2b = H1d, V2d = H2d, V2f = H3d, V3b = H1f, V3d = H2f, V3f = H3f, not(V1 = V2), not(V1 = V3), not(V1 = H1), not(V1 = H2), not(V1 = H3), not(V2 = V3), not(V2 = H1), not(V2 = H2), not(V2 = H3), not(V3 = H1), not(V3 = H2), not(V3 = H3), not(H1 = H2), not(H1 = H3), not(H2 = ...
d,H3e,H3f,H3g), V1b = H1b, V1d = H2b, V1f = H3b, V2b = H1d, V2d = H2d, V2f = H3d, V3b = H1f, V3d = H2f, V3f = H3f, not(V1 = V2), not(V1 = V3), not(V1 = H1), not(V1 = H2), not(V1 = H3), not(V2 = V3), not(V2 = H1), not(V2 = H2), not(V2 = H3), not(V3 = H1), not(V3 = H2), not(V3 = H3), not(H1 = H2), not(H1 = H3), not(H2 = ...
[ -0.000621795654296875, 0.00151824951171875, 0.00057220458984375, 0.0108642578125, -0.005767822265625, 0.00830078125, -0.018310546875, -0.00384521484375, 0.0240478515625, -0.00634765625, -0.0126953125, -0.004913330078125, 0.034423828125, 0.01220703125, -0.025390625, 0.01092529296875, ...
[ 104, 841, 363, 13, 420, 177, 247, 310, 418, 275, 2203, 572, 71, 304, 959, 10461, 21320, 856, 1650, 43240, 41421, 47416, 163, 6626, 7722, 108802, 1766, 13894, 133, 230612, 4966, 2422, 12708, 29786, 22088, 7432, 26859, 12319, 16188, 128239,...
[ 0.1168212890625, 0.05352783203125, 0.10650634765625, 0.0733642578125, 0.1041259765625, 0.060150146484375, 0.0145263671875, 0.09814453125, 0.02142333984375, 0.0909423828125, 0.1014404296875, 0.0584716796875, 0.0955810546875, 0.0394287109375, 0.080322265625, 0.0623779296875, 0.12988281...
embed
34807625_c0
34807625
prolog
0
Title: On mixing Prolog coroutining (freeze/2, when/2) and DCG Problem title: On mixing Prolog coroutining (freeze/2, when/2) and DCG Tags: prolog, prolog-coroutining, dcg Problem: On mixing Prolog coroutining (freeze/2, when/2) and DCG In my previous answer to the recent question " Prolog binary search tree test - unw...
On mixing Prolog coroutining (freeze/2, when/2) and DCG On mixing Prolog coroutining (freeze/2, when/2) and DCG prolog prolog-coroutining dcg Prolog DCG lazy_chain use_module R_2 instantiation_error clpfd:chain_relation lazy_chain_aux domain_error chain_relation lazy_chain_aux_ in_order Zs0 On mixing Prolog coroutining...
[ 0.01544189453125, -0.0191650390625, -0.00011730194091796875, -0.004852294921875, 0.021484375, 0.010498046875, 0.006378173828125, 0.01470947265625, 0.0228271484375, -0.048095703125, -0.00537109375, 0.005859375, 0.0020599365234375, 0.02001953125, 0.030029296875, 0.00958251953125, -0.02...
[ 17664, 1250, 4867, 88909, 7130, 592, 32087, 731, 12477, 3229, 391, 56367, 214, 502, 6056, 14653, 21, 3285, 115097, 83279, 627, 304, 34648, 14, 188800, 57860, 10442, 77758, 121293, 80596, 567, 2389, 2394, 33938, 53201, 3034, 3206, 27863, 491...
[ 0.1624755859375, 0.1248779296875, 0.1943359375, 0.0758056640625, 0.116943359375, 0.06982421875, 0.1075439453125, 0.0865478515625, 0.1663818359375, 0.04925537109375, 0.047607421875, 0.1514892578125, 0.011688232421875, 0.0731201171875, 0.124755859375, 0.1182861328125, 0.078125, 0.132...
embed
66197193_c0
66197193
prolog
0
Title: PROLOG Internals Problem title: PROLOG Internals Tags: prolog Problem: PROLOG Internals Q: How can I grab every term in PROLOG, then write it out? Q: something like : prolog_term(X,Functor,Arg1,Arg2) and prolog_term(X,Functor,Arg1) (I'm only interested in /1 and /2 arities). I think that I want to know how to se...
PROLOG Internals PROLOG Internals prolog PROLOG Internals line6 write_out bounding_box_left bounding_box_top bounding_box_right bounding_box_bottom PROLOG Internals Q: How can I grab every term in PROLOG, then write it out? Q: something like : prolog_term(X,Functor,Arg1,Arg2) and prolog_term(X,Functor,Arg1) (I'm only i...
[ 0.0341796875, 0.0166015625, -0.002838134765625, 0.019775390625, -0.0194091796875, 0.0213623046875, 0.00653076171875, 0.00152587890625, -0.00011777877807617188, -0.0296630859375, 0.023681640625, 0.00927734375, -0.017822265625, -0.00885009765625, 0.00823974609375, 0.01373291015625, 0.0...
[ 10514, 47510, 106745, 8080, 502, 4867, 13315, 910, 33022, 6056, 20802, 33770, 11728, 2480, 13784, 54969, 9190, 11249, 831, 59102, 11907, 13579, 23, 7068, 442, 1810, 32166, 1542, 97249, 7614, 10461, 18770, 17727, 60892, 11583, 12477, 187, 3107...
[ 0.2056884765625, 0.29931640625, 0.15087890625, 0.083251953125, 0.1695556640625, 0.26953125, 0.094482421875, 0.060302734375, 0.197509765625, 0.2044677734375, 0.08355712890625, 0.117431640625, 0.189697265625, 0.042144775390625, 0.061767578125, 0.03485107421875, 0.02349853515625, 0.05...
embed
45938866_c0
45938866
prolog
0
Title: Questions about solving integer constraints in CLP Problem title: Questions about solving integer constraints in CLP Tags: clpfd, prolog Problem: Questions about solving integer constraints in CLP I'm working on a constraint solver for finite set theory known as {log} ('setlog'). For some reasons {log} formulas ...
Questions about solving integer constraints in CLP Questions about solving integer constraints in CLP clpfd prolog Questions CLP Questions about solving integer constraints in CLP I'm working on a constraint solver for finite set theory known as {log} ('setlog'). For some reasons {log} formulas allow integer constraint...
[ -0.01263427734375, 0.002105712890625, 0.01300048828125, 0.01385498046875, -0.00531005859375, 0.0224609375, 0.0128173828125, -0.01495361328125, -0.004058837890625, -0.03076171875, -0.00640869140625, 0.0093994140625, -0.01458740234375, 0.0164794921875, 0.0079345703125, 0.006256103515625,...
[ 68185, 3115, 6496, 892, 1505, 158, 2816, 4288, 313, 37352, 39557, 71, 502, 4867, 23, 20697, 814, 94418, 5423, 154453, 3509, 26168, 63769, 10588, 98, 98553, 3871, 1286, 31351, 128239, 77758, 756, 77336, 5426, 164789, 31635, 26255, 31577, 273...
[ 0.10137939453125, 0.129150390625, 0.03619384765625, 0.1337890625, 0.08917236328125, 0.1002197265625, 0.1995849609375, 0.10467529296875, 0.0628662109375, 0.248291015625, 0.010772705078125, 0.03497314453125, 0.06805419921875, 0.18359375, 0.024444580078125, 0.017822265625, 0.10577392578...
embed
16970790_c0
16970790
prolog
0
Title: Prolog inserting multiple elements into list Problem title: Prolog inserting multiple elements into list Tags: prolog Problem: Prolog inserting multiple elements into list I want to implement a predicate (vecLine2BitLine) which does the following: get two lists and a number the first list is the length of blocks...
Prolog inserting multiple elements into list Prolog inserting multiple elements into list prolog Prolog vecLine2BitLine BitLine my_flatten is_list insert_at_mul insert_at get_num_spaces N-S generate_spaces vecLine2BitLineAux Tail1 Tail2 Lnew Prolog inserting multiple elements into list I want to implement a predicate (...
[ -0.0244140625, -0.002685546875, 0.005035400390625, 0.01129150390625, -0.00982666015625, 0.03857421875, -0.01129150390625, -0.0107421875, 0.004608154296875, -0.0294189453125, -0.0184326171875, 0.0019378662109375, 0.004241943359375, -0.031005859375, -0.005401611328125, 0.018798828125, ...
[ 1250, 4867, 183540, 48716, 80854, 3934, 5303, 502, 22834, 93232, 304, 217, 27774, 759, 150632, 510, 83, 6562, 257, 15458, 2046, 2606, 65421, 541, 9, 294, 139392, 6077, 1218, 379, 54936, 3444, 29479, 1653, 2063, 67, 35259, 571, 6626, 14012...
[ 0.182861328125, 0.22802734375, 0.240234375, 0.1966552734375, 0.1883544921875, 0.08880615234375, 0.20458984375, 0.1383056640625, 0.1939697265625, 0.215576171875, 0.113037109375, 0.0928955078125, 0.082275390625, 0.057708740234375, 0.1239013671875, 0.1827392578125, 0.00579833984375, 0...
embed
50766565_c0
50766565
prolog
0
Title: prolog graph depth first search Problem title: prolog graph depth first search Tags: prolog, graph-theory, depth-first-search Problem: prolog graph depth first search I've seen other questions about depth first search but my problem is slightly different and I really don't get it. In prolog, I represent my undir...
prolog graph depth first search prolog graph depth first search prolog graph-theory depth-first-search visited.insert Graph Node-Neighbor Node-Neighbors Visited Node Visisted Now Node1 Neighbors Then Node1-Neighbors1 prolog graph depth first search I've seen other questions about depth first search but my problem is sl...
[ -0.0072021484375, 0.0162353515625, 0.004638671875, -0.00823974609375, 0.00101470947265625, 0.0011444091796875, -0.03515625, -0.00341796875, 0.006317138671875, -0.045654296875, 0.00634765625, -0.010009765625, -0.0084228515625, 0.0264892578125, 0.0220947265625, 0.0162353515625, -0.0038...
[ 502, 4867, 41382, 168867, 5117, 33938, 2347, 13448, 271, 86250, 36997, 71, 33657, 6524, 11727, 438, 112, 6958, 3422, 98684, 28896, 14437, 14240, 20268, 418, 2967, 12921, 6183, 2301, 18, 2046, 33636, 51, 80581, 2389, 57626, 5691, 216969, 896...
[ 0.171875, 0.2474365234375, 0.202880859375, 0.241455078125, 0.155029296875, 0.20458984375, 0.0279388427734375, 0.1004638671875, 0.03515625, 0.1534423828125, 0.216064453125, 0.047515869140625, 0.0643310546875, 0.108642578125, 0.078857421875, 0.074951171875, 0.0911865234375, 0.0760498...
embed