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
4496072_c0
4496072
prolog
0
Title: Instantiate type variable in Haskell Problem title: Instantiate type variable in Haskell Tags: haskell, prolog, successor-arithmetics, typeclass, unification Problem: Instantiate type variable in Haskell EDIT: Solved. I was unware that enabling a language extension in the source file did not enable the language ...
Instantiate type variable in Haskell Instantiate type variable in Haskell haskell prolog successor-arithmetics typeclass unification Instantiate Haskell FlexibleContexts Fac Mult Pow Non Instantiate type variable in Haskell EDIT: Solved. I was unware that enabling a language extension in the source file did not enable ...
[ 0.02001953125, 0.0206298828125, 0.01220703125, 0.01104736328125, -0.001129150390625, -0.019775390625, -0.01806640625, -0.015625, -0.0025177001953125, -0.0186767578125, 0.005615234375, -0.044189453125, 0.003143310546875, -0.0108642578125, -0.0101318359375, -0.0016021728515625, 0.01104...
[ 166945, 101426, 10644, 77336, 20625, 142508, 1556, 502, 4867, 39457, 42, 8962, 67413, 51, 180842, 2661, 11935, 22829, 75436, 81212, 53982, 3775, 6678, 15876, 46876, 111938, 31344, 11435, 22, 2886, 527, 73265, 14, 29806, 3509, 134053, 21635, 6...
[ 0.198486328125, 0.2015380859375, 0.2374267578125, 0.266357421875, 0.1534423828125, 0.25927734375, 0.1295166015625, 0.1009521484375, 0.2362060546875, 0.14013671875, 0.003509521484375, 0.05841064453125, 0.1329345703125, 0.061309814453125, 0.1361083984375, 0.10498046875, 0.0110778808593...
embed
67834046_c0
67834046
prolog
0
Title: Tree tournament in prolog Problem title: Tree tournament in prolog Tags: prolog Problem: Tree tournament in prolog Could u help me please? I want to make a knockout tournament. I don't know the prologue very well, so i don’t know how this is could implemented in the prologue. tournament:- consult("E:\\teams.txt"...
Tree tournament in prolog Tree tournament in prolog prolog Tree teams.txt start0 one_screen2 Sc1 PlayerScore1 Sc2 PlayerScore2 Sc3 PlayerScore3 Sc4 PlayerScore4 Sc5 PlayerScore5 TeamRating start1 menu2 Tree tournament in prolog Could u help me please? I want to make a knockout tournament. I don't know the prologue very...
[ 0.01904296875, -0.001068115234375, -0.0067138671875, 0.005523681640625, 0.0003204345703125, 0.0034637451171875, -0.0174560546875, 0.007293701171875, -0.010986328125, -0.029541015625, 0.0086669921875, 0.010498046875, 0.00244140625, -0.00927734375, 0.02001953125, -0.00014019012451171875,...
[ 101344, 233547, 23, 502, 4867, 87199, 124326, 4034, 1632, 86667, 60560, 30854, 11399, 12248, 1916, 8026, 4358, 22936, 3444, 3249, 186015, 6056, 3714, 4083, 179554, 29479, 63399, 15190, 26847, 92865, 26548, 3789, 25647, 37397, 47, 43780, 7175, ...
[ 0.294921875, 0.2430419921875, 0.050689697265625, 0.170166015625, 0.17578125, 0.1591796875, 0.136962890625, 0.040191650390625, 0.003631591796875, 0.04718017578125, 0.07379150390625, 0.06378173828125, 0.118896484375, 0.0772705078125, 0.03125, 0.1185302734375, 0.05255126953125, 0.0052...
embed
42865381_c1
42865381
prolog
1
confused. Once the 1st clause is executed, does the 2nd clause automatically get executed as well, then adding succ() to the first argument? Also, how does the program terminate, and why doesn't it just keep adding succ() to the first and 3rd arguments infinitely? Explanation from LearnPrologNow.com (which I don't und...
confused. Once the 1st clause is executed, does the 2nd clause automatically get executed as well, then adding succ() to the first argument? Also, how does the program terminate, and why doesn't it just keep adding succ() to the first and 3rd arguments infinitely? Explanation from LearnPrologNow.com (which I don't und...
[ 0.00182342529296875, 0.0262451171875, 0.006866455078125, 0.01953125, -0.00921630859375, 0.025390625, -0.00107574462890625, -0.008544921875, 0.006134033203125, -0.0274658203125, 0.0225830078125, -0.0123291015625, -0.0235595703125, 0.01116943359375, 0.01300048828125, 0.000438690185546875...
[ 55681, 5281, 76556, 106, 271, 70731, 13, 71924, 116, 2208, 191082, 2046, 154107, 166, 10060, 132, 5117, 10750, 3642, 1528, 121011, 15400, 13695, 138, 4216, 54241, 5868, 10752, 4867, 137594, 28219, 29954, 3917, 1250, 9433, 90, 903, 41, 1294,...
[ 0.0908203125, 0.0338134765625, 0.036590576171875, 0.042022705078125, 0.043792724609375, 0.1912841796875, 0.0709228515625, 0.15478515625, 0.0364990234375, 0.03594970703125, 0.1767578125, 0.00274658203125, 0.120849609375, 0.1705322265625, 0.259033203125, 0.09918212890625, 0.11181640625...
embed
38809071_c0
38809071
prolog
0
Title: Member in combination with recursion Problem title: Member in combination with recursion Tags: computer-science, declarative-programming, unification, prolog Problem: Member in combination with recursion I learn Prolog at university and keep stumbling on someting rather odd during the home excercises. I wrote fo...
Member in combination with recursion Member in combination with recursion computer-science declarative-programming unification prolog Member Edges Edge InL OutL Result List _G610 Member in combination with recursion I learn Prolog at university and keep stumbling on someting rather odd during the home excercises. I wro...
[ 0.003936767578125, 0.00933837890625, 0.00872802734375, 0.0013427734375, -0.00994873046875, -0.0002727508544921875, -0.0213623046875, 0.01214599609375, 0.0064697265625, -0.038818359375, 0.0225830078125, -0.0224609375, 0.01214599609375, -0.0003566741943359375, 0.024169921875, 0.004241943...
[ 74057, 162515, 678, 195625, 1830, 175201, 21635, 28966, 51, 41274, 502, 4867, 69030, 360, 866, 13538, 126684, 32036, 910, 963, 30698, 1250, 152363, 70270, 5368, 3443, 54397, 70731, 90, 1528, 4527, 15824, 1957, 11192, 7514, 98363, 6626, 110, ...
[ 0.2281494140625, 0.173583984375, 0.042205810546875, 0.198974609375, 0.064453125, 0.0579833984375, 0.0955810546875, 0.0697021484375, 0.15283203125, 0.06085205078125, 0.1002197265625, 0.2340087890625, 0.138916015625, 0.044586181640625, 0.033172607421875, 0.08978271484375, 0.14477539062...
embed
40833457_c0
40833457
prolog
0
Title: Not getting a theory in Aleph for SWI Prolog Problem title: Not getting a theory in Aleph for SWI Prolog Tags: aleph-ilp, inductive-logic-programming, prolog, swi-prolog Problem: Not getting a theory in Aleph for SWI Prolog I'm trying to get Aleph to work and induce a simple theory: grandparent(X,Z):- father(X, ...
Not getting a theory in Aleph for SWI Prolog Not getting a theory in Aleph for SWI Prolog aleph-ilp inductive-logic-programming prolog swi-prolog Not Aleph SWI Prolog use_module begin_bg end_bg begin_in_pos end_in_pos begin_in_neg end_in_neg aleph_read_all Rule Pos Neg Not getting a theory in Aleph for SWI Prolog I'm t...
[ 0.017578125, 0.01190185546875, 0.0145263671875, 0.02880859375, -0.0322265625, 0.033447265625, 0.028076171875, 0.01153564453125, -0.000522613525390625, -0.054443359375, 0.007171630859375, -0.00372314453125, -0.02099609375, 0.0003910064697265625, 0.0169677734375, -0.0022125244140625, 0...
[ 11205, 20949, 10, 154453, 23, 4733, 11727, 100, 159, 38969, 1250, 4867, 662, 254, 135989, 4935, 137043, 28966, 502, 2452, 3454, 4527, 83279, 9842, 11821, 3564, 73, 7522, 86, 39116, 5584, 139118, 13498, 799, 177, 31577, 4488, 8781, 9963, 9...
[ 0.05242919921875, 0.0897216796875, 0.0654296875, 0.2236328125, 0.01177978515625, 0.109619140625, 0.1968994140625, 0.03125, 0.0250396728515625, 0.177978515625, 0.1141357421875, 0.156005859375, 0.06378173828125, 0.08245849609375, 0.1312255859375, 0.0186767578125, 0.08001708984375, 0....
embed
29994400_c1
29994400
prolog
1
). squirrel(X):- rodent(X), has_bushy_tail(X). raccoon(X):- omnivore(X), lives_near_water(X), has_bushy_tail(X). rat(x):- rodent(X), ^(has_bushy_tail(X)), \+striped(X). chipmunk(X):- rodent(X), striped(X), \+has_bushy_tail(X). wolverine(X):- mammal(X), carnivore(X), has_bushy_tail(X). bird(X):- has_feathers(X). eagle(X...
). squirrel(X):- rodent(X), has_bushy_tail(X). raccoon(X):- omnivore(X), lives_near_water(X), has_bushy_tail(X). rat(x):- rodent(X), ^(has_bushy_tail(X)), \+striped(X). chipmunk(X):- rodent(X), striped(X), \+has_bushy_tail(X). wolverine(X):- mammal(X), carnivore(X), has_bushy_tail(X). bird(X):- has_feathers(X). eagle(X...
[ 0.0016326904296875, 0.0274658203125, -0.008056640625, -0.00127410888671875, -0.01324462890625, 0.0201416015625, 0.0020904541015625, -0.005584716796875, 0.002349853515625, 0.002349853515625, 0.00799560546875, -0.0184326171875, 0.014892578125, -0.004913330078125, 0.006683349609375, -0.00...
[ 194, 91, 3181, 42, 7962, 1542, 2077, 9, 66397, 660, 247, 1556, 4223, 3038, 46741, 673, 13400, 191, 58035, 104297, 132, 60742, 86, 147, 36448, 12540, 425, 10557, 454, 16, 6, 41872, 1328, 7655, 20051, 59420, 60267, 43613, 297, 13924, 814,...
[ 0.1279296875, 0.036102294921875, 0.13671875, 0.0682373046875, 0.2174072265625, 0.1668701171875, 0.04644775390625, 0.040130615234375, 0.123779296875, 0.129638671875, 0.03118896484375, 0.1357421875, 0.1136474609375, 0.09991455078125, 0.2318115234375, 0.058746337890625, 0.166748046875, ...
embed
27458856_c0
27458856
prolog
0
Title: Prolog recursion always ends with no Problem title: Prolog recursion always ends with no Tags: recursion, prolog Problem: Prolog recursion always ends with no I have this code where I want to print a board in the console. The code is working as expected in terms of printing it but in the end of doing so it retur...
Prolog recursion always ends with no Prolog recursion always ends with no recursion prolog Prolog Size Indice IndiceNovo Numeros Topos BarrelIndex TopoIndex1 TopoIndex2 TopsTemp Indice2 Index1 Index2 Linha Index21 Index22 Linha2 NovoBarrelIndex Board Size1 Prolog recursion always ends with no I have this code where I w...
[ -0.00885009765625, 0.00384521484375, 0.01300048828125, -0.0027008056640625, -0.018310546875, -0.006256103515625, 0.0024871826171875, -0.0035858154296875, 0.007080078125, -0.0103759765625, 0.00008630752563476562, -0.007415771484375, -0.007110595703125, -0.0033416748046875, 0.01708984375, ...
[ 1250, 4867, 195625, 1830, 11343, 3564, 678, 110, 502, 80378, 22420, 62329, 93511, 4792, 232, 108634, 39659, 159065, 31471, 55120, 11, 22695, 25267, 7962, 62554, 18151, 28412, 45443, 130250, 20697, 84751, 2448, 1284, 30646, 157, 64457, 72272, ...
[ 0.1546630859375, 0.244384765625, 0.202392578125, 0.0927734375, 0.15380859375, 0.128662109375, 0.06805419921875, 0.2039794921875, 0.1046142578125, 0.08642578125, 0.083251953125, 0.003143310546875, 0.0163116455078125, 0.08148193359375, 0.0614013671875, 0.0665283203125, 0.08978271484375...
embed
47264226_c0
47264226
prolog
0
Title: Some good answers by the rule, but cannot get them all Problem title: Some good answers by the rule, but cannot get them all Tags: list, infinite-loop, failure-slice, matrix, prolog Problem: Some good answers by the rule, but cannot get them all These are my rules, where my problem lies: get_row([H|_],1,H):-!. g...
Some good answers by the rule, but cannot get them all Some good answers by the rule, but cannot get them all list infinite-loop failure-slice matrix prolog Some get_row I-1 get_column good_by_coulmns Solution Length all_distinct Domain Row Domains _8544 _8550 _8556 _8562 _8532 _8538 Some good answers by the rule, but ...
[ 0.00579833984375, 0.0016021728515625, 0.006317138671875, 0.018310546875, -0.00173187255859375, -0.0150146484375, -0.006927490234375, 0.01348876953125, 0.0260009765625, -0.035888671875, -0.00160980224609375, 0.001220703125, -0.006927490234375, 0.00836181640625, -0.00579833984375, 0.0027...
[ 4127, 35166, 390, 79986, 1284, 53418, 2046, 2856, 756, 5303, 54241, 13, 28354, 137578, 13348, 50944, 425, 502, 4867, 15555, 87, 5759, 8447, 316, 1272, 187895, 38893, 93702, 96190, 156204, 617, 12951, 2525, 136462, 10837, 6460, 10991, 91736, ...
[ 0.130615234375, 0.1728515625, 0.0176849365234375, 0.1495361328125, 0.053558349609375, 0.1146240234375, 0.0865478515625, 0.035186767578125, 0.09259033203125, 0.0850830078125, 0.110595703125, 0.013885498046875, 0.1761474609375, 0.21923828125, 0.14501953125, 0.1641845703125, 0.110229492...
embed
64851764_c0
64851764
prolog
0
Title: Prolog: I keep getting errors when trying to compile a simple program Problem title: Prolog: I keep getting errors when trying to compile a simple program Tags: prolog, dcg Problem: Prolog: I keep getting errors when trying to compile a simple program I'm trying to make a simple grammar parser that checks whethe...
Prolog: I keep getting errors when trying to compile a simple program Prolog: I keep getting errors when trying to compile a simple program prolog dcg Prolog Tail Head Prolog: I keep getting errors when trying to compile a simple program I'm trying to make a simple grammar parser that checks whether a specific sentence...
[ 0.0279541015625, 0.01043701171875, -0.0184326171875, 0.032470703125, -0.02294921875, 0.017578125, -0.024169921875, 0.004150390625, -0.0020904541015625, -0.03857421875, 0.00732421875, -0.01495361328125, -0.007293701171875, -0.00396728515625, 0.019287109375, 0.0146484375, 0.00939941406...
[ 1250, 4867, 13695, 18499, 7, 31577, 9969, 1340, 8781, 1528, 20949, 502, 177, 1218, 379, 44816, 122092, 147, 366, 2189, 12765, 36766, 29458, 149357, 103510, 35604, 959, 91736, 33949, 42154, 133, 32108, 748, 106, 757, 351, 30524, 159, 384, ...
[ 0.1380615234375, 0.2366943359375, 0.0987548828125, 0.185302734375, 0.0325927734375, 0.0791015625, 0.1148681640625, 0.1317138671875, 0.1080322265625, 0.1358642578125, 0.013458251953125, 0.127197265625, 0.049591064453125, 0.06854248046875, 0.036865234375, 0.1534423828125, 0.10290527343...
embed
77304035_c0
77304035
prolog
0
Title: A* search in 8-puzzle prolog Problem title: A* search in 8-puzzle prolog Tags: depth-first-search, heuristics, prolog, sliding-tile-puzzle Problem: A* search in 8-puzzle prolog I need to create program in prolog that solves the 8-puzzle game, I already figured out the moves and have some code on the search, but ...
A* search in 8-puzzle prolog A* search in 8-puzzle prolog depth-first-search heuristics prolog sliding-tile-puzzle line_matching list_count wrong_position Line heuristic_count Old PresentState GoalState SolutionPath dfs1 PathSoFar Path Next A* search in 8-puzzle prolog I need to create program in prolog that solves the...
[ -0.0048828125, -0.01495361328125, 0.001434326171875, 0.005126953125, -0.0264892578125, 0.0068359375, -0.041259765625, 0.002471923828125, -0.00274658203125, -0.03955078125, 0.005706787109375, -0.001953125, 0.001190185546875, 0.0078125, -0.00677490234375, -0.017578125, 0.01519775390625...
[ 62, 1639, 33938, 15045, 1766, 13894, 133, 502, 4867, 23, 168867, 13448, 271, 86250, 764, 62210, 41637, 132692, 214, 44555, 13315, 98753, 5303, 71013, 44691, 40322, 16777, 474, 48242, 25074, 97721, 135206, 2016, 289, 187895, 683, 10519, 17447,...
[ 0.1141357421875, 0.1444091796875, 0.22607421875, 0.2047119140625, 0.10382080078125, 0.1162109375, 0.0693359375, 0.1619873046875, 0.2220458984375, 0.0316162109375, 0.1519775390625, 0.073486328125, 0.0225677490234375, 0.173095703125, 0.110595703125, 0.1583251953125, 0.0562744140625, ...
embed
34251833_c0
34251833
prolog
0
Title: Prolog: what does a 's' before a variable name stand for? Problem title: Prolog: what does a 's' before a variable name stand for? Tags: prolog, operators Problem: Prolog: what does a 's' before a variable name stand for? I'm coding a Mastermind solver in Prolog (I'm using SWI-Prolog) as part...
Prolog: what does a 's' before a variable name stand for? Prolog: what does a 's' before a variable name stand for? prolog operators Prolog determine_blacks Color Try ReducedTry ReducedCode Black Color1 Color2 Prolog: what does a 's' before a variable name stand for? I'm coding a Mastermind solver i...
[ 0.0120849609375, 0.0164794921875, 0.011474609375, 0.01123046875, 0.00194549560546875, 0.0062255859375, -0.0023651123046875, 0.007568359375, 0.0098876953125, -0.0059814453125, 0.00323486328125, 0.0162353515625, 0.0093994140625, -0.0005645751953125, 0.00665283203125, 0.005279541015625, ...
[ 1250, 4867, 12, 2367, 10, 54764, 3768, 74, 7, 8108, 77336, 9351, 9157, 100, 502, 39933, 83324, 151675, 51193, 40858, 6096, 34, 37534, 1294, 114211, 10074, 418, 304, 242, 552, 18897, 36904, 3115, 814, 38969, 10752, 152363, 64209, 8306, 266...
[ 0.1651611328125, 0.24755859375, 0.015472412109375, 0.06536865234375, 0.041290283203125, 0.034576416015625, 0.13232421875, 0.0728759765625, 0.193115234375, 0.184326171875, 0.2327880859375, 0.149169921875, 0.1243896484375, 0.102294921875, 0.1060791015625, 0.1351318359375, 0.13830566406...
embed
36641297_c1
36641297
prolog
1
ocytcocis.'. rule(kb_da(UserId,DataCom,PersData, [Symptoms,FullBloodTest,SpecBloodTest,ElectricalHb]), Diagnosis) :- symptoms(Symptoms,symptPos), check_WBC_PLT(FullBloodTest,noPancytopenia) , check_RTC(FullBloodTest,rtcUp2), check_HBS(ElectricalHb,hbsUpZero), Diagnosis = 'Drepanocytocis.'. rule(kb_da(UserId,DataCom,Per...
ocytcocis.'. rule(kb_da(UserId,DataCom,PersData, [Symptoms,FullBloodTest,SpecBloodTest,ElectricalHb]), Diagnosis) :- symptoms(Symptoms,symptPos), check_WBC_PLT(FullBloodTest,noPancytopenia) , check_RTC(FullBloodTest,rtcUp2), check_HBS(ElectricalHb,hbsUpZero), Diagnosis = 'Drepanocytocis.'. rule(kb_da(UserId,DataCom,Per...
[ 0.00982666015625, 0.00823974609375, -0.00933837890625, 0.0220947265625, -0.01361083984375, 0.01446533203125, -0.000560760498046875, 0.0291748046875, 0.00897216796875, -0.00531005859375, 0.006805419921875, 0.0052490234375, 0.0036468505859375, -0.01434326171875, 0.01104736328125, -0.0223...
[ 36, 2408, 18, 587, 10794, 5, 79986, 275, 85, 1062, 2189, 568, 71, 137989, 10770, 15277, 7, 4, 65183, 2676, 5928, 121962, 91841, 111337, 47107, 8996, 89319, 141, 841, 268, 247, 6, 128198, 164, 16, 15772, 153698, 4650, 6328, 7192, 12765, ...
[ 0.1004638671875, 0.1429443359375, 0.03851318359375, 0.135498046875, 0.21923828125, 0.058258056640625, 0.1632080078125, 0.0750732421875, 0.08203125, 0.0703125, 0.1221923828125, 0.043853759765625, 0.0841064453125, 0.1380615234375, 0.1429443359375, 0.06829833984375, 0.006622314453125, ...
embed
13679228_c0
13679228
prolog
0
Title: list shift in Prolog Problem title: list shift in Prolog Tags: list, prolog, failure-slice Problem: list shift in Prolog The following code results in an infinite loop with an eventual "Out of Local Stack" error Basically I am decrementing the value of GX until it is the same as MX. Sample input [[m,g,b],[w,w,w]...
list shift in Prolog list shift in Prolog list prolog failure-slice Prolog Cell Maps Path NewMap FINDS COORDINATES GHOST Found Tail Pacman Base Case SAME COLUMN Rest ROW First list shift in Prolog The following code results in an infinite loop with an eventual "Out of Local Stack" error Basically I am decrementing the ...
[ -0.00185394287109375, 0.02880859375, 0.01416015625, -0.0022125244140625, 0.0022125244140625, -0.006103515625, -0.02783203125, 0.005950927734375, 0.01104736328125, 0.003936767578125, 0.021240234375, 0.0233154296875, -0.0106201171875, 0.0052490234375, 0.00250244140625, 0.0260009765625, ...
[ 5303, 122925, 1250, 4867, 23, 502, 137578, 13348, 80743, 103033, 108421, 2356, 166179, 67227, 8244, 36639, 13933, 41877, 34274, 215624, 1218, 379, 49085, 669, 44978, 43731, 70171, 80134, 49756, 19452, 23972, 25632, 18151, 50339, 54241, 40956, 5...
[ 0.212646484375, 0.2498779296875, 0.17431640625, 0.264404296875, 0.03399658203125, 0.1119384765625, 0.21875, 0.131103515625, 0.1676025390625, 0.2349853515625, 0.1534423828125, 0.04949951171875, 0.1871337890625, 0.053680419921875, 0.044403076171875, 0.1402587890625, 0.104736328125, 0...
embed
16845217_c1
16845217
prolog
1
be used by others predicates and not in the Prolog shell and I can't use it into an other predicate. I have create the following execute/2 predicate that try to use it: execute([FirstToken|Tail], TokenValue, OccurrencesPlaces) :- write(FirstToken), arg(2, FirstToken, TokenValue), atom_codes(Atom, TokenValue), makeQuer...
be used by others predicates and not in the Prolog shell and I can't use it into an other predicate. I have create the following execute/2 predicate that try to use it: execute([FirstToken|Tail], TokenValue, OccurrencesPlaces) :- write(FirstToken), arg(2, FirstToken, TokenValue), atom_codes(Atom, TokenValue), makeQuer...
[ 0.00299072265625, 0.006103515625, -0.002685546875, 0.03515625, 0.016357421875, 0.00238037109375, -0.0011444091796875, 0.0162353515625, 0.0033111572265625, -0.04052734375, 0.00836181640625, 0.035400390625, 0.005035400390625, -0.01544189453125, -0.000629425048828125, 0.0072021484375, 0...
[ 186, 11814, 390, 27060, 1653, 2063, 1636, 959, 1250, 4867, 128019, 831, 18, 4527, 442, 3934, 3789, 67, 28282, 25632, 71924, 13, 12477, 9790, 207263, 7763, 1098, 58745, 9874, 379, 717, 856, 50770, 180, 238, 64240, 143, 33022, 79459, 54753,...
[ 0.1065673828125, 0.167236328125, 0.1058349609375, 0.161865234375, 0.1744384765625, 0.18603515625, 0.05047607421875, 0.0604248046875, 0.13525390625, 0.215576171875, 0.177001953125, 0.081298828125, 0.033599853515625, 0.1407470703125, 0.05963134765625, 0.05328369140625, 0.04779052734375...
embed
29489262_c0
29489262
prolog
0
Title: Using SVG for visualization Problem title: Using SVG for visualization Tags: data-visualization, prolog, svg, xml Problem: Using SVG for visualization When writing an answer to the recent question Prolog Constraint Processing : Packing Squares I wanted to visualize the answers that Prolog + clpfd gave me. To do ...
Using SVG for visualization Using SVG for visualization data-visualization prolog svg xml Using SVG drawBoxesWithIM_at_pix Sizes Positions Colors ff0000 ffff00 ff00ff nth1 Color sb0 P-3 Using SVG for visualization When writing an answer to the recent question Prolog Constraint Processing : Packing Squares I wanted to v...
[ -0.00021266937255859375, 0.0172119140625, -0.005401611328125, -0.005828857421875, -0.00616455078125, 0.002166748046875, -0.0059814453125, -0.0048828125, -0.006500244140625, -0.002349853515625, 0.024169921875, 0.0179443359375, -0.00701904296875, -0.01611328125, -0.00165557861328125, 0.0...
[ 345, 159, 79855, 100, 21176, 47691, 2053, 1824, 20605, 502, 4867, 12669, 177, 131492, 79442, 72295, 194583, 17199, 257, 66535, 80378, 99428, 51193, 26472, 28568, 7049, 4902, 927, 2389, 436, 8316, 1250, 2816, 4288, 123996, 56607, 68305, 35166,...
[ 0.0821533203125, 0.1234130859375, 0.3076171875, 0.047210693359375, 0.19140625, 0.1246337890625, 0.08441162109375, 0.1182861328125, 0.1563720703125, 0.1121826171875, 0.201904296875, 0.187255859375, 0.1243896484375, 0.1822509765625, 0.103759765625, 0.16015625, 0.03631591796875, 0.089...
embed
19641694_c0
19641694
prolog
0
Title: How do I reinstate constraints collected with copy_term/3 in SICStus Prolog? Problem title: How do I reinstate constraints collected with copy_term/3 in SICStus Prolog? Tags: constraint-programming, clpfd, sicstus-prolog, prolog Problem: How do I reinstate constraints collected with copy_term/3 in SICStus Prolog...
How do I reinstate constraints collected with copy_term/3 in SICStus Prolog? How do I reinstate constraints collected with copy_term/3 in SICStus Prolog? constraint-programming clpfd sicstus-prolog prolog How copy_term SICStus Prolog Term Copy Body nfr:resubmit_eq use_module Old CTR Instantiation _90 _95 _100 _113 How ...
[ -0.000942230224609375, 0.0223388671875, -0.0005645751953125, 0.03173828125, 0.006103515625, -0.004638671875, 0.0120849609375, 0.004302978515625, 0.006866455078125, -0.032958984375, 0.0030517578125, 0.005401611328125, -0.0205078125, 0.001617431640625, 0.024658203125, -0.013671875, 0.0...
[ 11249, 19574, 61340, 158, 2816, 4288, 43799, 43658, 32166, 18113, 159, 102198, 2143, 1250, 4867, 28966, 39557, 26536, 18253, 3454, 502, 2994, 146930, 43960, 7079, 22144, 864, 4527, 83279, 25074, 28981, 166945, 14, 5039, 8821, 3559, 116597, 20...
[ 0.024566650390625, 0.1512451171875, 0.200927734375, 0.0843505859375, 0.2008056640625, 0.1680908203125, 0.1710205078125, 0.16162109375, 0.19970703125, 0.1864013671875, 0.059051513671875, 0.06597900390625, 0.1829833984375, 0.110595703125, 0.1881103515625, 0.059722900390625, 0.002563476...
embed
47006411_c0
47006411
prolog
0
Title: Prolog: compilation failed Problem title: Prolog: compilation failed Tags: prolog, compiler-errors Problem: Prolog: compilation failed I am new to prolog so please excuse me if its a simple to fix. First part of code before "member" work without any errors of compiling. After that i dont know instructions are co...
Prolog: compilation failed Prolog: compilation failed prolog compiler-errors Prolog Solve Head Tail Prolog: compilation failed I am new to prolog so please excuse me if its a simple to fix. First part of code before "member" work without any errors of compiling. After that i dont know instructions are correctly wrote o...
[ -0.005401611328125, 0.00872802734375, 0.018310546875, 0.005523681640625, -0.017578125, 0.004974365234375, -0.0185546875, 0.0166015625, -0.00005555152893066406, -0.03173828125, -0.005523681640625, -0.001983642578125, 0.038818359375, -0.00177001953125, 0.01263427734375, 0.003463745117187...
[ 1250, 4867, 98352, 165523, 502, 9969, 34759, 188800, 6678, 272, 44816, 1218, 379, 1363, 3525, 133207, 8781, 30022, 23972, 2831, 18151, 8108, 39, 27417, 4488, 15490, 18499, 49725, 13319, 167934, 26785, 9790, 49814, 497, 831, 186, 25842, 707, ...
[ 0.1661376953125, 0.258544921875, 0.2142333984375, 0.1900634765625, 0.1383056640625, 0.14453125, 0.1297607421875, 0.1219482421875, 0.1102294921875, 0.065185546875, 0.1124267578125, 0.0972900390625, 0.10443115234375, 0.0256805419921875, 0.0219573974609375, 0.0289154052734375, 0.0165252...
embed
78277624_c0
78277624
prolog
0
Title: Prolog can't perform arithmetic using "=" but using "is" throws instantiation error Problem title: Prolog can't perform arithmetic using "=" but using "is" throws instantiation error Tags: logic, prolog Problem: Prolog can't perform arithmetic using "=" but using...
Prolog can't perform arithmetic using "=" but using "is" throws instantiation error Prolog can't perform arithmetic using "=" but using "is" throws instantiation error logic prolog Prolog Prolog can't perform arithmetic using "=" but using "is" throws instantiation erro...
[ 0.00927734375, 0.00787353515625, 0.003448486328125, 0.00494384765625, -0.0036468505859375, 0.007598876953125, 0.004974365234375, 0.01055908203125, 0.002410888671875, -0.034912109375, 0.005035400390625, -0.002227783203125, -0.0047607421875, 0.00994873046875, 0.0206298828125, -0.00933837...
[ 1250, 4867, 831, 3768, 18, 51339, 187, 8962, 282, 9523, 17368, 41502, 1369, 1230, 164, 104250, 34648, 14, 2320, 18499, 62775, 502, 44, 22422, 1284, 31577, 86869, 104192, 26818, 20697, 40494, 11675, 1528, 15190, 101935, 25842, 28412, 997, 17...
[ 0.182861328125, 0.26025390625, 0.0919189453125, 0.0692138671875, 0.07861328125, 0.1309814453125, 0.03253173828125, 0.14111328125, 0.1173095703125, 0.07257080078125, 0.1041259765625, 0.07537841796875, 0.1611328125, 0.001312255859375, 0.2164306640625, 0.1724853515625, 0.1275634765625, ...
embed
35957101_c0
35957101
prolog
0
Title: How to convert vectors to arrays in ECLiPSe (CLP)? (or Prolog) Problem title: How to convert vectors to arrays in ECLiPSe (CLP)? (or Prolog) Tags: eclipse-clp, arrays, prolog Problem: How to convert vectors to arrays in ECLiPSe (CLP)? (or Prolog) I have to solve Sudoku puzzles in the format of a vector containin...
How to convert vectors to arrays in ECLiPSe (CLP)? (or Prolog) How to convert vectors to arrays in ECLiPSe (CLP)? (or Prolog) eclipse-clp arrays prolog How ECLiPSe CLP Prolog Sudoku array_list _Var1 _Var2 Rest Count NewCount How to convert vectors to arrays in ECLiPSe (CLP)? (or Prolog) I have to solve Sudoku puzzles i...
[ 0.00347900390625, 0.000614166259765625, 0.005615234375, 0.00872802734375, -0.0189208984375, 0.0002841949462890625, -0.01904296875, -0.0115966796875, -0.01043701171875, -0.032958984375, -0.005462646484375, 0.0106201171875, 0.0008544921875, 0.0013427734375, -0.003387451171875, -0.0122070...
[ 11249, 96760, 22834, 22230, 47, 10298, 4778, 59947, 9506, 9059, 13, 37352, 1250, 4867, 23, 441, 28, 106371, 184, 26775, 502, 313, 15334, 38067, 53, 6562, 81827, 304, 49756, 108210, 2356, 86869, 104192, 9384, 173, 18770, 70541, 483, 140909, ...
[ 0.077880859375, 0.1973876953125, 0.26611328125, 0.2117919921875, 0.1036376953125, 0.203857421875, 0.2052001953125, 0.1236572265625, 0.1783447265625, 0.175048828125, 0.1932373046875, 0.2308349609375, 0.1484375, 0.234619140625, 0.024322509765625, 0.03143310546875, 0.007415771484375, ...
embed
37691739_c0
37691739
prolog
0
Title: Prolog task with pigs, exception error Problem title: Prolog task with pigs, exception error Tags: logic, prolog Problem: Prolog task with pigs, exception error I've got this pig riddle...what do I do wrong here? it fails with the uncaught exception (below!). I need to output what does each pig eat and where it ...
Prolog task with pigs, exception error Prolog task with pigs, exception error logic prolog Prolog all_pigs Kunekune Landrasse Schwarzfussschwein Haegenauchschwein Kunekune_land Kunekune_food Landrasse_land Landrasse_food Schwarzfussschwein_land Schwarzfussschwein_food Haegenauchschwein_land Haegenauchschwein_food All P...
[ 0.01409912109375, 0.022705078125, -0.00189208984375, 0.006561279296875, -0.018310546875, 0.016357421875, -0.021240234375, 0.0072021484375, 0.006927490234375, -0.0172119140625, 0.00848388671875, 0.01226806640625, -0.00177001953125, -0.0016632080078125, 0.0152587890625, 0.001457214355468...
[ 1250, 4867, 66211, 678, 53408, 7, 131527, 18499, 62775, 502, 756, 1434, 9405, 5900, 343, 1811, 6557, 2701, 184, 89383, 74563, 127081, 1391, 1409, 12665, 1760, 49558, 3164, 903, 31351, 19298, 124409, 87, 54, 44691, 3688, 35782, 51, 408, 46...
[ 0.150146484375, 0.2073974609375, 0.1639404296875, 0.10699462890625, 0.2164306640625, 0.10089111328125, 0.213134765625, 0.199462890625, 0.131103515625, 0.10302734375, 0.07861328125, 0.1094970703125, 0.11181640625, 0.07861328125, 0.0234222412109375, 0.1473388671875, 0.00640869140625, ...
embed
29153818_c0
29153818
prolog
0
Title: Prolog get items between the items supplied from a list PROLOG Problem title: Prolog get items between the items supplied from a list PROLOG Tags: list, prolog Problem: Prolog get items between the items supplied from a list PROLOG I am trying to build a list function in prolog which will hopefully do the follow...
Prolog get items between the items supplied from a list PROLOG Prolog get items between the items supplied from a list PROLOG list prolog a Prolog Start Finish List Split Index Front Back Get Result nth1 FromI nth0 ToI List1 List2 Prolog get items between the items supplied from a list PROLOG I am trying to build a lis...
[ -0.02490234375, 0.0030364990234375, 0.00714111328125, 0.0026702880859375, -0.0238037109375, 0.03076171875, -0.00970458984375, 0.001220703125, 0.015625, -0.006011962890625, 0.01068115234375, 0.002288818359375, -0.01806640625, 0.032958984375, 0.021728515625, 0.004241943359375, 0.020996...
[ 1250, 4867, 2046, 55769, 17721, 70, 120384, 297, 1295, 5303, 10514, 47510, 502, 13794, 13316, 4745, 32036, 46474, 31471, 43643, 26828, 20779, 126684, 927, 28090, 2389, 717, 568, 304, 31577, 45367, 32354, 219736, 25632, 3884, 756, 108975, 6626...
[ 0.14697265625, 0.226318359375, 0.1092529296875, 0.2281494140625, 0.259765625, 0.011260986328125, 0.206298828125, 0.03094482421875, 0.1173095703125, 0.2099609375, 0.126708984375, 0.186767578125, 0.13671875, 0.109619140625, 0.1041259765625, 0.0546875, 0.193359375, 0.1533203125, 0.1...
embed
40961304_c1
40961304
prolog
1
I, X, [H|R]):- I > -1, NI is I-1, replace(T, NI, X, R), !. replace(L, _, _, L). increment_nth_in_list( [] , [],_ ) .%Increment element in ARG1, return as ARG2, increment element on ARG3 position increment_nth_in_list( [X|Xs] , [Y|Ys],N) :- (N=0->Y is X+1,N1 is N-1; N1 is N-1,Y is X), increment_nth_in_list(Xs,Ys,N1). d...
I, X, [H|R]):- I > -1, NI is I-1, replace(T, NI, X, R), !. replace(L, _, _, L). increment_nth_in_list( [] , [],_ ) .%Increment element in ARG1, return as ARG2, increment element on ARG3 position increment_nth_in_list( [X|Xs] , [Y|Ys],N) :- (N=0->Y is X+1,N1 is N-1; N1 is N-1,Y is X), increment_nth_in_list(Xs,Ys,N1). d...
[ -0.01513671875, -0.0001659393310546875, 0.0027923583984375, -0.00159454345703125, -0.0016937255859375, 0.0185546875, -0.0250244140625, -0.005706787109375, 0.01904296875, 0.01141357421875, 0.0133056640625, 0.0025482177734375, -0.00823974609375, 0.0052490234375, 0.01153564453125, -0.0223...
[ 87, 4, 1193, 841, 58745, 1052, 2077, 9, 977, 68940, 20001, 83, 5759, 91995, 618, 627, 711, 5, 866, 101, 339, 6, 158661, 19, 927, 73, 6562, 3949, 4153, 7612, 674, 12830, 62, 48802, 418, 30646, 237, 304, 98, 363, 19069, 1542, 1723, ...
[ 0.1700439453125, 0.05029296875, 0.179443359375, 0.1365966796875, 0.1424560546875, 0.1395263671875, 0.108154296875, 0.0265960693359375, 0.1663818359375, 0.1903076171875, 0.2147216796875, 0.1182861328125, 0.1866455078125, 0.2174072265625, 0.11962890625, 0.145751953125, 0.1036376953125,...
embed
76086183_c0
76086183
prolog
0
Title: My_append function in prolog not working? Problem title: My_append function in prolog not working? Tags: prolog Problem: My_append function in prolog not working? I have a code that at the end returns a list, to which I have to add an 'o' at the end, but my_append function works when testing it but it doesn't wh...
My_append function in prolog not working? My_append function in prolog not working? prolog My_append Color Rule State Rules Cells Sols Result Creates triplets_helper Triplets Sol apply_rule Applies My_append function in prolog not working? I have a code that at the end returns a list, to which I have to add an 'o' at t...
[ -0.01031494140625, -0.0013275146484375, 0.017333984375, 0.0145263671875, -0.004180908203125, 0.007659912109375, -0.010009765625, 0.025146484375, 0.0186767578125, -0.0208740234375, 0.006378173828125, -0.0029296875, -0.005401611328125, 0.003570556640625, 0.0189208984375, -0.0096435546875...
[ 2646, 9007, 3611, 32354, 23, 502, 4867, 959, 20697, 454, 51193, 139118, 22836, 80743, 6678, 126684, 151313, 162738, 933, 73866, 56, 55903, 1974, 59911, 882, 133, 5659, 18151, 3564, 30646, 5303, 15190, 31, 759, 43240, 134234, 22027, 18, 1167...
[ 0.189208984375, 0.153564453125, 0.2406005859375, 0.2152099609375, 0.048919677734375, 0.1700439453125, 0.24072265625, 0.09423828125, 0.138671875, 0.0173797607421875, 0.1431884765625, 0.1585693359375, 0.058197021484375, 0.109619140625, 0.132568359375, 0.07940673828125, 0.0159912109375,...
embed
9203241_c0
9203241
prolog
0
Title: Prolog, counter Problem title: Prolog, counter Tags: prolog, counter Problem: Prolog, counter I want to calculate , in two lists (same lenght), the number of elements that are equal and in the same position. For example: Lets say we have the lists A = [3,6,7,9] and B = [2,6,4,9], i want to be printed in the scre...
Prolog, counter Prolog, counter prolog counter Prolog Counter NewCounter List1 List2 ERROR Arguments Prolog, counter I want to calculate , in two lists (same lenght), the number of elements that are equal and in the same position. For example: Lets say we have the lists A = [3,6,7,9] and B = [2,6,4,9], i want to be pri...
[ 0.00567626953125, 0.007110595703125, 0.0072021484375, 0.00933837890625, -0.01513671875, 0.0234375, 0.0031890869140625, 0.005706787109375, 0.01953125, -0.01092529296875, -0.0050048828125, 0.0019683837890625, 0.017333984375, 0.00823974609375, 0.0245361328125, -0.0240478515625, 0.026367...
[ 1250, 4867, 105416, 502, 197956, 2356, 108210, 56, 32036, 418, 304, 151206, 24638, 112140, 3444, 74481, 67, 23, 6626, 5303, 40175, 37473, 9703, 14012, 80854, 450, 105950, 136, 5701, 19069, 70, 62, 122101, 136555, 1126, 335, 189126, 127915, ...
[ 0.1951904296875, 0.25146484375, 0.25830078125, 0.1478271484375, 0.239501953125, 0.1201171875, 0.178955078125, 0.0838623046875, 0.1947021484375, 0.06024169921875, 0.155029296875, 0.109375, 0.043304443359375, 0.198486328125, 0.0863037109375, 0.2484130859375, 0.1221923828125, 0.105834...
embed
4636586_c0
4636586
prolog
0
Title: Prolog: DCGS - Converting numbers to English Problem title: Prolog: DCGS - Converting numbers to English Tags: dcg, prolog Problem: Prolog: DCGS - Converting numbers to English I'm practicing using DCGs in Prolog. I take an integer like 123, 'explode' it into a list i.e. [1,2,3] and then I want to use DCG rules ...
Prolog: DCGS - Converting numbers to English Prolog: DCGS - Converting numbers to English dcg prolog Prolog DCGS Converting English Res Exploded Explosion Inter Test NewN0 NewN1 e.g i.e Rev Word Prolog: DCGS - Converting numbers to English I'm practicing using DCGs in Prolog. I take an integer like 123, 'explode' it in...
[ 0.00885009765625, -0.003082275390625, -0.0019989013671875, 0.01300048828125, -0.006591796875, 0.03271484375, -0.013671875, -0.00087738037109375, 0.00909423828125, -0.0166015625, -0.0220947265625, -0.01470947265625, 0.00537109375, 0.00848388671875, 0.019775390625, 0.01708984375, -0.00...
[ 1250, 4867, 31455, 34162, 1657, 814, 1916, 101935, 47, 14941, 104, 238, 177, 502, 9624, 98873, 48141, 6889, 5337, 8647, 2356, 2389, 839, 418, 80893, 22543, 74082, 214, 17368, 391, 56367, 7, 5646, 892, 1505, 1884, 37638, 111118, 112, 442, ...
[ 0.156005859375, 0.2354736328125, 0.1031494140625, 0.21337890625, 0.06060791015625, 0.127685546875, 0.0151519775390625, 0.1734619140625, 0.1158447265625, 0.2176513671875, 0.010528564453125, 0.0272674560546875, 0.09228515625, 0.1148681640625, 0.140625, 0.16015625, 0.06744384765625, 0...
embed
28240679_c0
28240679
prolog
0
Title: prolog, i have list of structure how to Extract data and return new list of other structure? Problem title: prolog, i have list of structure how to Extract data and return new list of other structure? Tags: prolog, list Problem: prolog, i have list of structure how to Extract data and return new list of other st...
prolog, i have list of structure how to Extract data and return new list of other structure? prolog, i have list of structure how to Extract data and return new list of other structure? prolog list the Extract number_of_children_couple _list number_of_children_person _list28 list_person _num _father _mother _child _chi...
[ 0.03369140625, 0.0076904296875, -0.001434326171875, 0.024658203125, -0.008056640625, 0.023193359375, -0.0084228515625, 0.007568359375, 0.0264892578125, -0.035888671875, -0.01513671875, -0.038330078125, -0.0216064453125, 0.0240478515625, 0.00726318359375, -0.0078125, 0.01495361328125,...
[ 502, 4867, 17, 765, 5303, 111, 45646, 3642, 31501, 15390, 2053, 136, 30646, 3525, 3789, 14012, 4390, 237052, 12600, 8705, 6562, 30816, 3882, 2606, 1021, 9319, 206, 38472, 140909, 418, 29479, 59745, 1528, 2967, 91736, 79986, 5117, 10750, 179...
[ 0.1591796875, 0.2265625, 0.058990478515625, 0.0718994140625, 0.1824951171875, 0.05096435546875, 0.180419921875, 0.039459228515625, 0.181884765625, 0.1380615234375, 0.1488037109375, 0.029083251953125, 0.191162109375, 0.0872802734375, 0.07489013671875, 0.1197509765625, 0.06195068359375...
embed
35214826_c0
35214826
prolog
0
Title: How to use dynamic databases in Prolog? Problem title: How to use dynamic databases in Prolog? Tags: prolog, prolog-assert, list, lis, clpfd Problem: How to use dynamic databases in Prolog? I have written the following program, which calculates the longest non-decreasing sub-sequence of input array. The sub-prog...
How to use dynamic databases in Prolog? How to use dynamic databases in Prolog? prolog prolog-assert list lis clpfd the How Prolog Find LengthsT ListOfLists Max Lengths max_list Longest Len optimum_solution List Ans CPU Lips Without How to use dynamic databases in Prolog? I have written the following program, which cal...
[ 0.023193359375, 0.017822265625, 0.005645751953125, 0.002655029296875, -0.017578125, 0.00396728515625, -0.005828857421875, 0.003814697265625, 0.01214599609375, -0.04248046875, 0.00567626953125, 0.02294921875, 0.0034332275390625, -0.0057373046875, 0.034912109375, -0.0076904296875, 0.02...
[ 11249, 4527, 84079, 63399, 7, 23, 1250, 4867, 502, 162, 33657, 5303, 400, 39557, 71, 26040, 77554, 927, 32036, 132887, 154663, 9920, 18389, 6562, 14407, 525, 18226, 15572, 316, 166589, 86039, 156903, 177417, 59121, 1528, 74481, 4989, 351, 1...
[ 0.0660400390625, 0.12158203125, 0.2406005859375, 0.2498779296875, 0.06005859375, 0.06787109375, 0.177978515625, 0.2529296875, 0.108154296875, 0.005523681640625, 0.1219482421875, 0.161376953125, 0.014739990234375, 0.0227203369140625, 0.0147247314453125, 0.0897216796875, 0.108032226562...
embed
74208192_c0
74208192
prolog
0
Title: PROLOG rule stops after finding first match Problem title: PROLOG rule stops after finding first match Tags: prolog-toplevel, prolog Problem: PROLOG rule stops after finding first match I am completely new to Prolog and self teaching out of interest. Very sorry to bring such a basic question to you, but the Manu...
PROLOG rule stops after finding first match PROLOG rule stops after finding first match prolog-toplevel prolog PROLOG i.e Brand item_brand _Aisle _Cost PROLOG rule stops after finding first match I am completely new to Prolog and self teaching out of interest. Very sorry to bring such a basic question to you, but the M...
[ 0.006134033203125, 0.01220703125, 0.00604248046875, 0.0159912109375, -0.00384521484375, 0.0272216796875, 0.0047607421875, -0.0062255859375, 0.00616455078125, -0.0238037109375, 0.0196533203125, -0.006683349609375, 0.0037384033203125, -0.0024566650390625, 0.0167236328125, 0.0145874023437...
[ 10514, 47510, 79986, 7279, 7103, 90791, 5117, 14858, 502, 4867, 13784, 67919, 23243, 35735, 43264, 164, 133, 441, 5510, 1250, 15970, 128169, 33946, 62822, 111021, 38969, 10752, 17306, 15400, 1957, 224833, 75169, 10932, 1653, 2063, 48716, 142424...
[ 0.19921875, 0.271728515625, 0.2176513671875, 0.1956787109375, 0.09765625, 0.1536865234375, 0.1544189453125, 0.2408447265625, 0.114990234375, 0.2412109375, 0.0634765625, 0.1005859375, 0.1650390625, 0.1644287109375, 0.1524658203125, 0.06268310546875, 0.07122802734375, 0.0227203369140...
embed
26856973_c0
26856973
prolog
0
Title: Board Assembly with constraints Problem title: Board Assembly with constraints Tags: clpfd, prolog Problem: Board Assembly with constraints I am doing this problem but I am completely new to Prolog and I have no idea how to do it. Nine parts of an electronic board have square shape, the same size and each edge o...
Board Assembly with constraints Board Assembly with constraints clpfd prolog Board Assembly Configuration Variables all_different Board Assembly with constraints I am doing this problem but I am completely new to Prolog and I have no idea how to do it. Nine parts of an electronic board have square shape, the same size ...
[ 0.0054931640625, -0.0240478515625, -0.00009250640869140625, 0.00994873046875, -0.023681640625, -0.0089111328125, -0.00072479248046875, 0.0103759765625, 0.0194091796875, -0.02294921875, -0.0380859375, -0.0106201171875, 0.0125732421875, -0.0159912109375, 0.007080078125, -0.00058364868164...
[ 62554, 151169, 53, 678, 158, 2816, 4288, 39557, 71, 502, 4867, 59994, 111477, 756, 238778, 2967, 1250, 6528, 3642, 54, 442, 1520, 86, 63920, 65133, 45443, 108047, 115700, 5701, 13267, 12638, 121303, 11907, 2831, 94419, 31330, 1001, 26948, 2...
[ 0.217529296875, 0.2032470703125, 0.0235595703125, 0.0771484375, 0.07830810546875, 0.1533203125, 0.1002197265625, 0.0301361083984375, 0.0474853515625, 0.089111328125, 0.2279052734375, 0.1004638671875, 0.096923828125, 0.043670654296875, 0.177734375, 0.07025146484375, 0.1527099609375, ...
embed
16488143_c0
16488143
prolog
0
Title: Converting propositional logic argument to Prolog Problem title: Converting propositional logic argument to Prolog Tags: syntax, proof, prolog, predicate, logic Problem: Converting propositional logic argument to Prolog How do I translate the following argument into Prolog? It seems like it doesn't need predicat...
Converting propositional logic argument to Prolog Converting propositional logic argument to Prolog syntax proof prolog predicate logic Converting Prolog Converting propositional logic argument to Prolog How do I translate the following argument into Prolog? It seems like it doesn't need predicates. (Note: I use & for ...
[ 0.0179443359375, 0.01483154296875, 0.007293701171875, 0.006439208984375, -0.00970458984375, 0.03564453125, -0.01513671875, -0.018310546875, -0.01373291015625, -0.02587890625, -0.0035858154296875, 0.0091552734375, -0.02294921875, 0.01080322265625, 0.00244140625, 0.0030975341796875, 0....
[ 1657, 814, 1916, 89261, 289, 62775, 10750, 47, 1250, 4867, 6002, 86531, 98869, 502, 1653, 2063, 3900, 19309, 25632, 3934, 3871, 4527, 619, 17043, 136, 58745, 75463, 63399, 83324, 724, 33079, 627, 83, 98320, 56649, 12960, 18244, 16030, 23534...
[ 0.03985595703125, 0.118896484375, 0.002960205078125, 0.2161865234375, 0.0867919921875, 0.1976318359375, 0.23095703125, 0.06683349609375, 0.17724609375, 0.243408203125, 0.018218994140625, 0.1163330078125, 0.1328125, 0.1356201171875, 0.123779296875, 0.164306640625, 0.1087646484375, 0...
embed
75237803_c0
75237803
prolog
0
Title: How to access unique pairs from a list in Prolog? Problem title: How to access unique pairs from a list in Prolog? Tags: prolog Problem: How to access unique pairs from a list in Prolog? I have a list L = [a, b, c] and I want to pick all unique non-repeating pairs: [a, b], [a, c], [b, c] . If I simply use the me...
How to access unique pairs from a list in Prolog? How to access unique pairs from a list in Prolog? prolog a How Prolog pick_pair List unique_pairs Result list_to_set my_pairs How to access unique pairs from a list in Prolog? I have a list L = [a, b, c] and I want to pick all unique non-repeating pairs: [a, b], [a, c],...
[ -0.0194091796875, 0.01953125, 0.0274658203125, -0.022216796875, -0.017333984375, 0.00726318359375, -0.0206298828125, -0.0135498046875, 0.01373291015625, -0.03955078125, 0.01116943359375, 0.0205078125, 0.0281982421875, -0.0216064453125, -0.016845703125, 0.020263671875, -0.010986328125...
[ 11249, 17203, 36998, 80836, 7, 1295, 5303, 23, 1250, 4867, 502, 10, 39580, 109637, 32036, 126684, 3509, 759, 339, 876, 501, 3444, 756, 351, 1081, 26518, 32786, 32354, 11907, 561, 22062, 1653, 2063, 43032, 914, 9319, 3934, 26531, 16750, 13...
[ 0.07470703125, 0.2442626953125, 0.296142578125, 0.31103515625, 0.103271484375, 0.123779296875, 0.2325439453125, 0.07244873046875, 0.1884765625, 0.255615234375, 0.1134033203125, 0.0250244140625, 0.170166015625, 0.27197265625, 0.156494140625, 0.0877685546875, 0.13037109375, 0.0932617...
embed
5614044_c0
5614044
prolog
0
Title: SWI Prolog: difference lists - fifo Problem title: SWI Prolog: difference lists - fifo Tags: queue, prolog, list, fifo Problem: SWI Prolog: difference lists - fifo I am learning Prolog and difference lists are super new to me and looks like from hell, especially that I am definitely poor simple-minded C++ guy :)...
SWI Prolog: difference lists - fifo SWI Prolog: difference lists - fifo queue prolog list fifo SWI Prolog lifo_empty lifo_addall fifo_empty fifo_addall _G3761 fifo_put _G3922 X-X X-Xs fifo_get fifo_append lifo_append Goal SWI Prolog: difference lists - fifo I am learning Prolog and difference lists are super new to me ...
[ 0.038818359375, 0.00787353515625, -0.0081787109375, 0.00628662109375, -0.020263671875, -0.0206298828125, -0.0294189453125, -0.0025177001953125, 0.00171661376953125, -0.0206298828125, 0.0198974609375, 0.017578125, -0.0067138671875, 0.0133056640625, 0.01300048828125, -0.0146484375, 0.0...
[ 159, 38969, 1250, 4867, 60212, 5303, 809, 3584, 12, 41, 13388, 502, 400, 33548, 1181, 724, 10945, 11540, 7077, 131564, 304, 1193, 1542, 3794, 9007, 3611, 2016, 52080, 1601, 3525, 33342, 1884, 1295, 33600, 70425, 8781, 36904, 37223, 48948, ...
[ 0.03912353515625, 0.2113037109375, 0.135986328125, 0.208251953125, 0.2301025390625, 0.2205810546875, 0.119384765625, 0.1934814453125, 0.003570556640625, 0.07562255859375, 0.0892333984375, 0.0975341796875, 0.0982666015625, 0.10888671875, 0.0966796875, 0.0266265869140625, 0.10614013671...
embed
15102474_c0
15102474
prolog
0
Title: My Prolog "translator" script returns an empty list Problem title: My Prolog "translator" script returns an empty list Tags: list, prolog Problem: My Prolog "translator" script returns an empty list I am trying to write a simple translator, where you enter a list of numerical numbers and it r...
My Prolog "translator" script returns an empty list My Prolog "translator" script returns an empty list list prolog Prolog Call _G2219 _G2301 Exit _G2304 My Prolog "translator" script returns an empty list I am trying to write a simple translator, where you enter a list of numerical numbers and it r...
[ 0.0186767578125, -0.005035400390625, -0.000965118408203125, 0.00186920166015625, -0.00154876708984375, 0.01483154296875, -0.01434326171875, -0.01470947265625, 0.007293701171875, -0.02099609375, -0.00099945068359375, -0.0235595703125, -0.0172119140625, -0.01416015625, -0.00147247314453125...
[ 2646, 1250, 4867, 30145, 143, 1290, 26499, 30646, 201505, 5303, 502, 26265, 4015, 2947, 3742, 6746, 5443, 7709, 31577, 33022, 8781, 3900, 30957, 54744, 101935, 79315, 142424, 19309, 133063, 96386, 1193, 3630, 6626, 17262, 18151, 43240, 144851, ...
[ 0.0462646484375, 0.1522216796875, 0.2193603515625, 0.1446533203125, 0.1771240234375, 0.1485595703125, 0.1788330078125, 0.1341552734375, 0.1693115234375, 0.193359375, 0.0872802734375, 0.0487060546875, 0.00469970703125, 0.1207275390625, 0.030242919921875, 0.09185791015625, 0.0319824218...
embed
40240828_c0
40240828
prolog
0
Title: Fixing list output in Prolog Problem title: Fixing list output in Prolog Tags: dutch-national-flag-problem, prolog Problem: Fixing list output in Prolog I'm trying to make a solver for the Dutch National flag problem. Basically, given a list, I want to sort them in the order of Red-White-Blue. Red, White and Blu...
Fixing list output in Prolog Fixing list output in Prolog dutch-national-flag-problem prolog Fixing Prolog Red White Blue Rest Acc Fixing list output in Prolog I'm trying to make a solver for the Dutch National flag problem. Basically, given a list, I want to sort them in the order of Red-White-Blue. Red, White and Blu...
[ 0.0103759765625, -0.0159912109375, 0.03271484375, -0.00628662109375, -0.00543212890625, 0.005523681640625, -0.018798828125, 0.0035400390625, -0.01190185546875, 0.01068115234375, 0.0108642578125, 0.005401611328125, -0.0211181640625, -0.016845703125, -0.00299072265625, -0.000299453735351...
[ 96746, 214, 5303, 140992, 1250, 4867, 23, 30712, 206, 122772, 190872, 38953, 502, 6096, 22392, 22928, 49756, 29899, 31577, 3115, 814, 174705, 9907, 49938, 2967, 34475, 3444, 47, 12096, 2856, 12989, 111, 173473, 114567, 61924, 390, 2363, 1653,...
[ 0.2000732421875, 0.03424072265625, 0.19140625, 0.2120361328125, 0.1527099609375, 0.255615234375, 0.036956787109375, 0.12255859375, 0.05682373046875, 0.092529296875, 0.2125244140625, 0.165283203125, 0.08740234375, 0.16796875, 0.1593017578125, 0.156982421875, 0.177001953125, 0.111450...
embed
42316066_c0
42316066
prolog
0
Title: Search for a result obtained, and find the lowest value in prolog Problem title: Search for a result obtained, and find the lowest value in prolog Tags: prolog Problem: Search for a result obtained, and find the lowest value in prolog I'm new to prolog, so lets go, I made a rule that returns me several result, I...
Search for a result obtained, and find the lowest value in prolog Search for a result obtained, and find the lowest value in prolog prolog Search Path Cost Visitados Custo1 Cam Custo Custo2 CustoResto Path1 Cost1 Search for a result obtained, and find the lowest value in prolog I'm new to prolog, so lets go, I made a r...
[ 0.0118408203125, 0.0078125, 0.005767822265625, 0.01263427734375, 0.003936767578125, -0.008056640625, -0.0002384185791015625, -0.018310546875, 0.0167236328125, -0.02978515625, 0.015869140625, 0.00006008148193359375, -0.02197265625, -0.0021820068359375, 0.00122833251953125, 0.01062011718...
[ 33086, 100, 16750, 113054, 7413, 459, 25617, 34292, 23, 502, 4867, 108421, 63099, 113767, 1140, 3003, 2785, 418, 10071, 304, 4332, 70, 3525, 79986, 30646, 8305, 50339, 3714, 3642, 140909, 5303, 11034, 202, 77336, 3444, 199, 2189, 54940, 260...
[ 0.1929931640625, 0.056671142578125, 0.182861328125, 0.1168212890625, 0.101806640625, 0.1800537109375, 0.23779296875, 0.18408203125, 0.0594482421875, 0.1580810546875, 0.2261962890625, 0.1649169921875, 0.170654296875, 0.19970703125, 0.1044921875, 0.09375, 0.1156005859375, 0.022750854...
embed
17501104_c0
17501104
prolog
0
Title: Sicstus Prolog custom labeling by use of variable(Sel) and value(Enum) Problem title: Sicstus Prolog custom labeling by use of variable(Sel) and value(Enum) Tags: sicstus-prolog, clpfd, prolog Problem: Sicstus Prolog custom labeling by use of variable(Sel) and value(Enum) Let's say I pass the following list of d...
Sicstus Prolog custom labeling by use of variable(Sel) and value(Enum) Sicstus Prolog custom labeling by use of variable(Sel) and value(Enum) sicstus-prolog clpfd prolog Sicstus Prolog Sel Enum Y3.......Xn put_atts type_var is_xvar is_yvar Sicstus Prolog custom labeling by use of variable(Sel) and value(Enum) Let's say...
[ -0.006988525390625, -0.0140380859375, -0.01336669921875, -0.00025177001953125, -0.0238037109375, 0.0125732421875, -0.021728515625, 0.0107421875, 0.006805419921875, -0.015869140625, 0.0027008056640625, -0.004974365234375, 0.0003147125244140625, -0.01373291015625, 0.01190185546875, -0.01...
[ 63457, 18253, 1250, 4867, 114122, 67967, 214, 4527, 77336, 104475, 136, 34292, 2606, 647, 26536, 3454, 71, 502, 11623, 357, 316, 990, 363, 3884, 27639, 10644, 1961, 83, 27875, 5303, 77758, 1653, 2063, 3444, 55076, 5117, 8108, 19686, 1193, ...
[ 0.1568603515625, 0.219482421875, 0.1278076171875, 0.19873046875, 0.1595458984375, 0.2255859375, 0.04339599609375, 0.0572509765625, 0.2418212890625, 0.200927734375, 0.03692626953125, 0.1688232421875, 0.203125, 0.030059814453125, 0.09619140625, 0.0718994140625, 0.019012451171875, 0.0...
embed
74372263_c0
74372263
prolog
0
Title: How to write in a file N times in Prolog? Problem title: How to write in a file N times in Prolog? Tags: prolog Problem: How to write in a file N times in Prolog? I am trying to write in a file N times in Prolog. I came up with this solution: response(M,Out,N) :- write('How do you feel ?'), open('output.txt',wri...
How to write in a file N times in Prolog? How to write in a file N times in Prolog? prolog How Prolog Out output.txt ERROR Uninstantiated Users Desktop _10234 suggestsong.pl:14 suggestsong.pl:18 toplevel_call user:user Applications SWI Prolog.app Contents toplevel.pl:1158 Exception _9654 _9306 _9308 How to write in a f...
[ 0.0030364990234375, 0.007354736328125, 0.01055908203125, -0.01214599609375, 0.0164794921875, 0.0198974609375, -0.0023040771484375, 0.0162353515625, 0.00396728515625, -0.0250244140625, 0.0185546875, 0.00946044921875, -0.007476806640625, 0.01141357421875, 0.047119140625, -0.0108032226562...
[ 11249, 47, 33022, 23, 11435, 541, 20028, 1250, 4867, 502, 13538, 140992, 124326, 151206, 992, 143034, 14, 53400, 141423, 10289, 42459, 35821, 22635, 24033, 2663, 67919, 85763, 38937, 65918, 104921, 38969, 9007, 10057, 63928, 11648, 12338, 11591...
[ 0.06500244140625, 0.0526123046875, 0.21142578125, 0.205078125, 0.1915283203125, 0.194580078125, 0.26611328125, 0.155029296875, 0.227783203125, 0.070556640625, 0.1539306640625, 0.2239990234375, 0.1895751953125, 0.04681396484375, 0.0032958984375, 0.081298828125, 0.028045654296875, 0....
embed
52095969_c0
52095969
prolog
0
Title: Parsing JSON with json_read_dict Problem title: Parsing JSON with json_read_dict Tags: swi-prolog, prolog, json Problem: Parsing JSON with json_read_dict I am working on the scripting program with Prolog, where they talk through the pipe and JSON-formatted data. Everything works fine except the json_read_dict/2 ...
Parsing JSON with json_read_dict Parsing JSON with json_read_dict swi-prolog prolog json Parsing JSON json_read_dict fcn_addr fcn_last type_num type2_num entry0 ERROR Arguments get_code _1324 _1326 json:json_value _1356 _1358 _1360 json_options lib64 swipl-7.6.4 json.pl:260 json:json_read_dict _1404 json.pl:934 Note Re...
[ 0.0007781982421875, -0.00311279296875, -0.009765625, 0.006927490234375, -0.01007080078125, -0.011962890625, -0.00048065185546875, 0.0019378662109375, -0.0174560546875, -0.0242919921875, 0.0220947265625, 0.023193359375, -0.03125, -0.02197265625, 0.0380859375, -0.01708984375, 0.0072937...
[ 2392, 6953, 821, 58627, 678, 1647, 1681, 39116, 61669, 91, 2452, 3454, 4867, 502, 1238, 27765, 7569, 19777, 10644, 2606, 304, 42805, 2389, 151206, 24638, 112140, 2046, 40899, 2681, 2357, 4046, 170, 27494, 13683, 10057, 4598, 109585, 25474, ...
[ 0.146484375, 0.02880859375, 0.1607666015625, 0.229248046875, 0.0692138671875, 0.120361328125, 0.190185546875, 0.204833984375, 0.21923828125, 0.003082275390625, 0.153564453125, 0.0958251953125, 0.20263671875, 0.091064453125, 0.00518798828125, 0.081298828125, 0.07861328125, 0.0698242...
embed
66061202_c0
66061202
prolog
0
Title: How to express a disjunction of inequalities compactly without redundant answers/solutions Problem title: How to express a disjunction of inequalities compactly without redundant answers/solutions Tags: prolog-dif, prolog Problem: How to express a disjunction of inequalities compactly without redundant answers/s...
How to express a disjunction of inequalities compactly without redundant answers/solutions How to express a disjunction of inequalities compactly without redundant answers/solutions prolog-dif prolog How dif_to_orto dif:dif How to express a disjunction of inequalities compactly without redundant answers/solutions Consi...
[ 0.00176239013671875, -0.0233154296875, 0.017578125, 0.0167236328125, -0.01275634765625, -0.0211181640625, -0.0152587890625, 0.0098876953125, 0.00048065185546875, -0.0098876953125, -0.009033203125, 0.00732421875, 0.0145263671875, 0.013916015625, 0.00653076171875, 0.00982666015625, 0.0...
[ 11249, 36510, 2837, 17043, 10763, 23, 13, 71723, 31075, 94928, 538, 15490, 35405, 35166, 166589, 111, 502, 4867, 428, 420, 45755, 188, 93376, 37842, 80934, 5885, 21635, 70541, 5941, 28969, 1127, 117538, 87062, 959, 19713, 3688, 7225, 4842, ...
[ 0.041534423828125, 0.173583984375, 0.052581787109375, 0.182861328125, 0.08258056640625, 0.07708740234375, 0.05841064453125, 0.1710205078125, 0.1031494140625, 0.185791015625, 0.07421875, 0.0941162109375, 0.142578125, 0.12646484375, 0.131103515625, 0.03643798828125, 0.09619140625, 0....
embed
48817133_c0
48817133
prolog
0
Title: Move elements between lists by index number? Problem title: Move elements between lists by index number? Tags: prolog, move, list, element Problem: Move elements between lists by index number? I'm trying to move elements between Lists in LoL (list-of-list) structure. I can figure out how to select the list and m...
Move elements between lists by index number? Move elements between lists by index number? prolog move list element Move State NewState NP1 NP2 NP3 nth1 move_elem NewFL NewTL LoL NewLoL Move elements between lists by index number? I'm trying to move elements between Lists in LoL (list-of-list) structure. I can figure ou...
[ -0.02734375, -0.00701904296875, -0.005950927734375, -0.0012054443359375, -0.01611328125, 0.01806640625, 0.003936767578125, 0.01953125, 0.017578125, -0.0037689208984375, -0.00160980224609375, -0.001617431640625, -0.0091552734375, 0.00106048583984375, -0.00030517578125, -0.03759765625, ...
[ 135828, 80854, 17721, 5303, 7, 390, 63262, 14012, 502, 4867, 25813, 12830, 22836, 2356, 135206, 28814, 418, 304, 363, 927, 27889, 69466, 41445, 2091, 866, 15363, 31577, 32036, 23, 6562, 4390, 45646, 26366, 36849, 72856, 44188, 36716, 16750, ...
[ 0.2164306640625, 0.2305908203125, 0.2193603515625, 0.242919921875, 0.0758056640625, 0.116455078125, 0.224609375, 0.221923828125, 0.1202392578125, 0.1888427734375, 0.2208251953125, 0.189697265625, 0.109130859375, 0.062744140625, 0.0865478515625, 0.07177734375, 0.0303955078125, 0.033...
embed
72761167_c0
72761167
prolog
0
Title: Similarity measures for WordNet in Prolog Problem title: Similarity measures for WordNet in Prolog Tags: prolog Problem: Similarity measures for WordNet in Prolog I would like to be able to check if two words are similar (using the path similarity) in WordNet with Prolog. I found on the internet this article doi...
Similarity measures for WordNet in Prolog Similarity measures for WordNet in Prolog prolog Similarity WordNet Prolog wn_word_info wn_path Word1 Word2 Degree Similarity measures for WordNet in Prolog I would like to be able to check if two words are similar (using the path similarity) in WordNet with Prolog. I found on ...
[ 0.0020751953125, -0.0027923583984375, -0.0179443359375, 0.01611328125, -0.010986328125, 0.0091552734375, -0.0029754638671875, -0.004150390625, 0.0096435546875, -0.06201171875, -0.0026702880859375, 0.03759765625, -0.003753662109375, -0.01287841796875, -0.0021820068359375, -0.00418090820...
[ 209683, 2481, 72350, 22543, 24447, 1250, 4867, 502, 148, 19, 47416, 7319, 128405, 418, 304, 7134, 19048, 12765, 2174, 6626, 34153, 21373, 223, 60875, 23, 678, 98441, 4488, 4857, 17596, 11389, 1179, 40899, 1507, 15246, 132265, 108049, 3454, ...
[ 0.2154541015625, 0.1201171875, 0.17431640625, 0.1712646484375, 0.238525390625, 0.1533203125, 0.2222900390625, 0.0823974609375, 0.08905029296875, 0.134521484375, 0.128173828125, 0.1932373046875, 0.1683349609375, 0.050048828125, 0.1104736328125, 0.10076904296875, 0.025390625, 0.21398...
embed
19686222_c0
19686222
prolog
0
Title: ERROR: Type error: `file_path' expected Problem title: ERROR: Type error: `file_path' expected Tags: swi-prolog, prolog Problem: ERROR: Type error: `file_path' expected This part of a simple Prolog program I'm working on is supposed to find a list of coordinates that are at most some distance away from...
ERROR: Type error: `file_path' expected ERROR: Type error: `file_path' expected swi-prolog prolog ERROR Type file_path nearby_places Places Position Signal NearbyPlaces is_reachable Target manhattan_distance Distance ADx ADy ERROR: Type error: `file_path' expected This part of a simple Prolog program I'm work...
[ 0.01275634765625, 0.028076171875, -0.01239013671875, -0.005828857421875, -0.0257568359375, 0.010986328125, -0.00592041015625, 0.00604248046875, -0.009033203125, -0.0224609375, 0.00102996826171875, -0.03466796875, -0.0015411376953125, -0.00128173828125, 0.001922607421875, 0.002075195312...
[ 151206, 24638, 60457, 18499, 29822, 128405, 3768, 84751, 91, 2452, 3454, 4867, 502, 11435, 43573, 1272, 23935, 41076, 99428, 144000, 147, 143, 83, 70443, 2886, 160017, 332, 121978, 19, 56883, 154349, 19831, 425, 53, 12, 2831, 8781, 1250, 15...
[ 0.1566162109375, 0.09619140625, 0.204833984375, 0.208740234375, 0.195068359375, 0.2191162109375, 0.121826171875, 0.259521484375, 0.0472412109375, 0.1829833984375, 0.122802734375, 0.1910400390625, 0.1239013671875, 0.1502685546875, 0.104248046875, 0.163330078125, 0.1063232421875, 0.1...
embed
21318110_c0
21318110
prolog
0
Title: Prolog Craftsmen puzzle: predicate not defined Problem title: Prolog Craftsmen puzzle: predicate not defined Tags: prolog, puzzle Problem: Prolog Craftsmen puzzle: predicate not defined I'm trying to resolve the craftsmen puzle in SWI-Prolog. Things are not going very good. %1. There are 5 craftsmen. A 'fierar',...
Prolog Craftsmen puzzle: predicate not defined Prolog Craftsmen puzzle: predicate not defined prolog puzzle bigger assert/1 Prolog Craftsmen There Fieraru Brutaru Croitoru Gradinaru Paduraru None Salaries What Prima Nume Meserie Salariu Meseriasi Predicatul salariu_mai_mare Meserias1 Meserias2 Lista_meseriasilor Warnin...
[ 0.00677490234375, -0.0169677734375, -0.0013427734375, 0.013671875, 0.00396728515625, 0.002288818359375, -0.032470703125, 0.010498046875, 0.014892578125, -0.00390625, -0.01177978515625, -0.0130615234375, 0.00015354156494140625, 0.01287841796875, 0.0294189453125, 0.0113525390625, -0.00...
[ 1250, 4867, 34734, 2480, 7, 1055, 104192, 1653, 2063, 67, 959, 61924, 71, 502, 167785, 33657, 11583, 8622, 100621, 72494, 103161, 24727, 26111, 34, 22453, 885, 882, 436, 44250, 13294, 19012, 1429, 1215, 32832, 36538, 12021, 25435, 172, 7145...
[ 0.1221923828125, 0.1776123046875, 0.1192626953125, 0.1597900390625, 0.049560546875, 0.1541748046875, 0.1947021484375, 0.1470947265625, 0.1900634765625, 0.0775146484375, 0.0819091796875, 0.1829833984375, 0.037811279296875, 0.09576416015625, 0.08843994140625, 0.1103515625, 0.0267486572...
embed
32245410_c1
32245410
prolog
1
),nth0(V,K,Class)). case(K,W,Class):- ((W=2),L_new=K,cut_the_tree(Q,L_new,Class)). inter([], _, []). inter([H1|T1], L2, [H1|Res]) :- member(H1, L2), inter(T1, L2, Res). inter([_|T1], L2, Res) :- inter(T1, L2, Res). test(L,L_new,K):-((length(L_new,J),J\=0,inter(L,L_new,K),!);K=L). When i run the rule i start asking for ...
),nth0(V,K,Class)). case(K,W,Class):- ((W=2),L_new=K,cut_the_tree(Q,L_new,Class)). inter([], _, []). inter([H1|T1], L2, [H1|Res]) :- member(H1, L2), inter(T1, L2, Res). inter([_|T1], L2, Res) :- inter(T1, L2, Res). test(L,L_new,K):-((length(L_new,J),J\=0,inter(L,L_new,K),!);K=L). When i run the rule i start asking for ...
[ 0.0030670166015625, -0.004119873046875, 0.01483154296875, 0.0111083984375, 0.0174560546875, 0.018310546875, -0.0274658203125, -0.0257568359375, 0.0213623046875, -0.054931640625, -0.0034027099609375, 0.00799560546875, -0.00041961669921875, -0.0130615234375, 0.013916015625, 0.017578125, ...
[ 247, 927, 2389, 856, 605, 140803, 7225, 1456, 55257, 866, 54936, 19774, 2347, 62600, 2737, 1940, 841, 418, 618, 76172, 339, 304, 4332, 32786, 10461, 9624, 3034, 23986, 1375, 145407, 10433, 38, 1369, 11675, 79986, 4034, 113292, 57266, 5426, ...
[ 0.007843017578125, 0.080078125, 0.07452392578125, 0.154541015625, 0.10516357421875, 0.186767578125, 0.09063720703125, 0.0953369140625, 0.092529296875, 0.0906982421875, 0.15673828125, 0.16015625, 0.08203125, 0.1954345703125, 0.134765625, 0.1719970703125, 0.033111572265625, 0.0411987...
embed
30402131_c0
30402131
prolog
0
Title: Dijkstra path (not only distance) Problem title: Dijkstra path (not only distance) Tags: prolog, logic-programming Problem: Dijkstra path (not only distance) I have the code that calculates the minimum distance of Dijkstra path. Can you help me edit my code in order to not only print the minimum distance, but th...
Dijkstra path (not only distance) Dijkstra path (not only distance) prolog logic-programming Dijkstra min_dist Graph Start MinDist Start-0 Value V1-E ClosedVertices OpenVertices Distances Closed Open choose_v V-D RestOpen NewNB NewOpen VertexToExpand RestOpenVertices MinV Rest choose_minv V1-D1 NextM ListOfVertices Lis...
[ 0.0185546875, -0.00225830078125, 0.0068359375, 0.00098419189453125, -0.008544921875, 0.01031494140625, -0.00848388671875, -0.0155029296875, 0.001678466796875, -0.032470703125, 0.0203857421875, -0.0031890869140625, -0.005096435546875, -0.009521484375, 0.0166015625, 0.0157470703125, 0....
[ 212946, 2816, 60875, 4734, 62488, 502, 4867, 62775, 28966, 881, 46295, 6524, 11727, 13794, 4211, 397, 1419, 23320, 190060, 310, 20268, 647, 153335, 15896, 24494, 13527, 154349, 55076, 334, 49756, 103264, 49321, 1446, 24371, 114363, 856, 1249, ...
[ 0.1878662109375, 0.2391357421875, 0.2420654296875, 0.0148468017578125, 0.27197265625, 0.1080322265625, 0.1646728515625, 0.1080322265625, 0.087890625, 0.18701171875, 0.1966552734375, 0.1075439453125, 0.054290771484375, 0.10650634765625, 0.1622314453125, 0.03851318359375, 0.19970703125...
embed
56886193_c0
56886193
prolog
0
Title: Six seats at the table Problem title: Six seats at the table Tags: prolog Problem: Six seats at the table I'd like to limit the number of people sitting at a table (6 to be precise) but with prolog I can't figure out how to do it I have already tried to use between (0, 5, W), but I don't understand why every tim...
Six seats at the table Six seats at the table prolog Six nb_setval family1 nb_getval Countval Six seats at the table I'd like to limit the number of people sitting at a table (6 to be precise) but with prolog I can't figure out how to do it I have already tried to use between (0, 5, W), but I don't understand why every...
[ 0.006683349609375, -0.01055908203125, -0.004974365234375, 0.00738525390625, -0.00885009765625, 0.00112152099609375, 0.0125732421875, -0.0028076171875, 0.0159912109375, -0.0517578125, 0.010009765625, 0.0096435546875, 0.00128173828125, 0.01513671875, 0.03173828125, 0.003173828125, 0.03...
[ 84247, 40, 9821, 99, 23180, 70, 502, 4867, 275, 3509, 1405, 14449, 3794, 108210, 1884, 47, 17475, 14012, 3395, 129842, 10, 16156, 134995, 831, 26366, 54, 37842, 4527, 17721, 22085, 190, 601, 28219, 15400, 11907, 1733, 36457, 144851, 1957, ...
[ 0.209716796875, 0.2225341796875, 0.201171875, 0.1162109375, 0.255615234375, 0.010040283203125, 0.1649169921875, 0.2130126953125, 0.05743408203125, 0.091552734375, 0.2098388671875, 0.093505859375, 0.031494140625, 0.07476806640625, 0.0714111328125, 0.07421875, 0.2432861328125, 0.1235...
embed
39599069_c0
39599069
prolog
0
Title: distances between vectors contained in a list in prolog Problem title: distances between vectors contained in a list in prolog Tags: distance, prolog, vector, list Problem: distances between vectors contained in a list in prolog I am quite new to prolog and I am trying to write a predicate distance_all(List, Lis...
distances between vectors contained in a list in prolog distances between vectors contained in a list in prolog distance prolog vector list distance_all List List_of_distances distances between vectors contained in a list in prolog I am quite new to prolog and I am trying to write a predicate whose input is a list of l...
[ 0.0126953125, 0.0010833740234375, -0.00030517578125, 0.011962890625, -0.00311279296875, -0.004730224609375, -0.0033111572265625, -0.000820159912109375, 0.005950927734375, -0.03515625, 0.00909423828125, -0.00115203857421875, 0.006317138671875, -0.00189971923828125, -0.01904296875, 0.012...
[ 62488, 7, 17721, 22834, 22230, 70541, 23, 5303, 502, 4867, 173, 18770, 5584, 32036, 4390, 56883, 297, 3525, 31577, 33022, 1653, 2063, 67, 107730, 176866, 5881, 124599, 82449, 188523, 163090, 140992, 756, 12638, 6275, 3789, 17569, 74189, 40899...
[ 0.2489013671875, 0.004302978515625, 0.2054443359375, 0.22900390625, 0.182861328125, 0.1759033203125, 0.036376953125, 0.209228515625, 0.1739501953125, 0.229736328125, 0.1873779296875, 0.1881103515625, 0.1683349609375, 0.136962890625, 0.07122802734375, 0.2005615234375, 0.0081787109375,...
embed
13879670_c0
13879670
prolog
0
Title: A simple AMZI prolog recursion, but is not giving the correct result as expected Problem title: A simple AMZI prolog recursion, but is not giving the correct result as expected Tags: prolog, recursion Problem: A simple AMZI prolog recursion, but is not giving the correct result as expected So this is my .pro fil...
A simple AMZI prolog recursion, but is not giving the correct result as expected A simple AMZI prolog recursion, but is not giving the correct result as expected prolog recursion AMZI tastes_yucky is_located_in A simple AMZI prolog recursion, but is not giving the correct result as expected So this is my .pro file cont...
[ -0.00127410888671875, 0.0267333984375, 0.01129150390625, 0.020751953125, 0.00677490234375, 0.00897216796875, -0.022705078125, 0.0001468658447265625, 0.00732421875, -0.039794921875, 0.0220947265625, -0.0093994140625, -0.0252685546875, -0.015869140625, 0.019775390625, -0.0000963211059570...
[ 8781, 9677, 21752, 502, 4867, 195625, 1830, 1284, 959, 68772, 26785, 16750, 237, 84751, 90365, 7, 9076, 25160, 83, 116292, 297, 73, 5, 3454, 11435, 10941, 8922, 10514, 47510, 3444, 69307, 4527, 1542, 65024, 110, 17311, 12989, 26698, 8966, ...
[ 0.1279296875, 0.1494140625, 0.246337890625, 0.1546630859375, 0.1922607421875, 0.1905517578125, 0.058746337890625, 0.03607177734375, 0.054901123046875, 0.036834716796875, 0.09234619140625, 0.1234130859375, 0.02850341796875, 0.0849609375, 0.22509765625, 0.111328125, 0.14453125, 0.253...
embed
27844141_c0
27844141
prolog
0
Title: How to write IF ELSE conditions in Prolog Problem title: How to write IF ELSE conditions in Prolog Tags: prolog, if-statement Problem: How to write IF ELSE conditions in Prolog I am a C# guy and very new to prolog. I need to write a prolog program for the following scenario. Can anyone please help to achieve it....
How to write IF ELSE conditions in Prolog How to write IF ELSE conditions in Prolog prolog if-statement How Prolog person1 person2 drawer1 drawer2 drawer3 drawer4 belongs_to phone2 phone_in How to write IF ELSE conditions in Prolog I am a C# guy and very new to prolog. I need to write a prolog program for the following...
[ -0.004669189453125, 0.0274658203125, 0.01171875, 0.02685546875, -0.0111083984375, 0.0142822265625, -0.003631591796875, 0.018798828125, -0.00927734375, -0.0181884765625, 0.00116729736328125, 0.004608154296875, -0.00396728515625, -0.000850677490234375, 0.018310546875, 0.0014801025390625,...
[ 11249, 47, 33022, 55449, 96922, 27289, 23, 1250, 4867, 502, 2174, 61340, 3445, 418, 304, 79442, 56, 363, 617, 10617, 24089, 73, 313, 4904, 48948, 1528, 106117, 4358, 69307, 32964, 12008, 290, 271, 1314, 5024, 201, 18186, 6488, 15270, 138,...
[ 0.07489013671875, 0.0133056640625, 0.208740234375, 0.22900390625, 0.23681640625, 0.27294921875, 0.04742431640625, 0.18212890625, 0.269287109375, 0.1583251953125, 0.1868896484375, 0.145263671875, 0.1038818359375, 0.003021240234375, 0.036834716796875, 0.1522216796875, 0.097900390625, ...
embed
45942886_c0
45942886
prolog
0
Title: Returning a list from a recursive predicate in Prolog Problem title: Returning a list from a recursive predicate in Prolog Tags: undirected-graph, recursion, prolog, list Problem: Returning a list from a recursive predicate in Prolog I've written a predicate called find_path(S,T,Visited,Path) that can search my ...
Returning a list from a recursive predicate in Prolog Returning a list from a recursive predicate in Prolog undirected-graph recursion prolog list a S Returning Prolog find_path Visited Path Check direct_path Find Add Recursively Start Returning a list from a recursive predicate in Prolog I've written a predicate calle...
[ 0.00188446044921875, 0.025390625, 0.0133056640625, -0.00128173828125, -0.004241943359375, 0.01177978515625, -0.025390625, 0.00616455078125, -0.00482177734375, -0.04541015625, 0.01953125, -0.00677490234375, -0.022216796875, -0.0003509521484375, 0.0267333984375, 0.01611328125, 0.002639...
[ 173340, 5303, 1295, 195625, 5844, 1653, 2063, 67, 1250, 4867, 51, 80581, 41382, 502, 159, 7413, 128405, 98684, 108421, 38679, 8951, 26040, 29117, 853, 48650, 13794, 59121, 294, 618, 65331, 10519, 33938, 60875, 110, 47, 384, 30646, 121303, 1...
[ 0.2308349609375, 0.19287109375, 0.11181640625, 0.21044921875, 0.1279296875, 0.177001953125, 0.240478515625, 0.1026611328125, 0.150146484375, 0.2239990234375, 0.027862548828125, 0.1395263671875, 0.1650390625, 0.0999755859375, 0.06610107421875, 0.120849609375, 0.1861572265625, 0.1291...
embed
24274412_c1
24274412
prolog
1
illows). author_fore(jrr) :-book(the_hobbit). However when querying the KB with say ?- cat_num(222), book(X). it does not return the result I want (lord_of_the_flies). Any guidance in where I'm going wrong would be greatly appreciated. After doing the changes suggested, I have reached another hurdle: how do I set a rul...
illows). author_fore(jrr) :-book(the_hobbit). However when querying the KB with say ?- cat_num(222), book(X). it does not return the result I want (lord_of_the_flies). Any guidance in where I'm going wrong would be greatly appreciated. After doing the changes suggested, I have reached another hurdle: how do I set a rul...
[ 0.017333984375, 0.01171875, -0.00701904296875, 0.010009765625, 0.0089111328125, 0.020263671875, -0.01116943359375, -0.0118408203125, 0.0159912109375, -0.015380859375, 0.00677490234375, -0.028564453125, -0.007720947265625, 0.00128936767578125, 0.0146484375, -0.0118408203125, 0.0067138...
[ 17, 41566, 7, 194, 42179, 89700, 29161, 14137, 2347, 497, 22155, 18, 33306, 41, 1294, 70, 30742, 678, 705, 7515, 2606, 54753, 89647, 12877, 1542, 14602, 959, 30646, 16750, 87, 3444, 1484, 4390, 36361, 90, 196219, 7730, 44691, 77947, 65572...
[ 0.09356689453125, 0.248779296875, 0.09765625, 0.043670654296875, 0.1600341796875, 0.151123046875, 0.05517578125, 0.1617431640625, 0.03302001953125, 0.07220458984375, 0.1968994140625, 0.1014404296875, 0.0609130859375, 0.1151123046875, 0.0977783203125, 0.035247802734375, 0.244995117187...
embed
61887014_c0
61887014
prolog
0
Title: Making Prolog's CLPFD aware of permutations and other symmetries Problem title: Making Prolog's CLPFD aware of permutations and other symmetries Tags: clpfd, combinatorics, prolog, permutation Problem: Making Prolog's CLPFD aware of permutations and other symmetries use_module(library(clpfd)). CLPFD se...
Making Prolog's CLPFD aware of permutations and other symmetries Making Prolog's CLPFD aware of permutations and other symmetries clpfd combinatorics prolog permutation Making Prolog CLPFD use_module all_distinct N..N Making Prolog's CLPFD aware of permutations and other symmetries use_module(library(clpfd))....
[ -0.01251220703125, 0.0068359375, 0.009033203125, -0.0026397705078125, -0.0020599365234375, -0.01153564453125, -0.01531982421875, -0.0010528564453125, 0.01129150390625, -0.068359375, -0.0118408203125, -0.005767822265625, 0.0294189453125, 0.0130615234375, 0.0016632080078125, 0.0251464843...
[ 13676, 214, 1250, 4867, 3768, 46323, 41265, 397, 107419, 117, 14311, 21094, 230612, 33139, 39557, 71, 22321, 502, 561, 4527, 83279, 756, 46295, 38893, 541, 839, 2844, 34937, 63773, 14823, 37842, 140909, 866, 13956, 339, 615, 10554, 1193, 67...
[ 0.06494140625, 0.013580322265625, 0.1492919921875, 0.20751953125, 0.04766845703125, 0.1246337890625, 0.1634521484375, 0.168212890625, 0.134521484375, 0.095703125, 0.1767578125, 0.011932373046875, 0.1817626953125, 0.054718017578125, 0.1123046875, 0.1207275390625, 0.11279296875, 0.10...
embed
61147542_c0
61147542
prolog
0
Title: Procedural semantics of swi-Prolog: failure to understand the resulting substitution Problem title: Procedural semantics of swi-Prolog: failure to understand the resulting substitution Tags: semantics, substitution, prolog Problem: Procedural semantics of swi-Prolog: failure to understand the resulting substitut...
Procedural semantics of swi-Prolog: failure to understand the resulting substitution Procedural semantics of swi-Prolog: failure to understand the resulting substitution semantics substitution prolog Procedural Procedural semantics of swi-Prolog: failure to understand the resulting substitution I fail to understand swi...
[ -0.0048828125, 0.031005859375, 0.0150146484375, 0.019775390625, -0.020751953125, 0.005767822265625, -0.0283203125, 0.000698089599609375, -0.005462646484375, -0.0186767578125, -0.005279541015625, 0.01220703125, -0.0260009765625, 0.019775390625, 0.015380859375, -0.0142822265625, 0.0162...
[ 170470, 289, 484, 109109, 91, 2452, 10752, 4867, 137578, 28219, 16750, 214, 161740, 1830, 502, 35782, 9, 3454, 123166, 3229, 63399, 98, 11, 4, 275, 41, 678, 15772, 397, 2965, 100094, 134598, 53383, 25737, 840, 69236, 1294, 14858, 26548, 2...
[ 0.170654296875, 0.0562744140625, 0.0731201171875, 0.1099853515625, 0.06842041015625, 0.2275390625, 0.1346435546875, 0.1795654296875, 0.128173828125, 0.144287109375, 0.1053466796875, 0.07489013671875, 0.2041015625, 0.10076904296875, 0.1181640625, 0.0738525390625, 0.0290374755859375, ...
embed
65002905_c0
65002905
prolog
0
Title: Words with repeating symbols in prolog v5.2 Problem title: Words with repeating symbols in prolog v5.2 Tags: visual-prolog, prolog Problem: Words with repeating symbols in prolog v5.2 I need to write prolog predicate that reads file and creates a list of words with repeating symbols. For example from text: A dog...
Words with repeating symbols in prolog v5.2 Words with repeating symbols in prolog v5.2 visual-prolog prolog Words v5.2 file_ list1 str_a_list write_symbols str_list search1 file_str Enter Words with repeating symbols in prolog v5.2 I need to write prolog predicate that reads file and creates a list of words with repea...
[ 0.0033721923828125, -0.0086669921875, -0.00885009765625, 0.0274658203125, -0.01953125, 0.007171630859375, 0.017333984375, 0.0233154296875, -0.0098876953125, -0.0250244140625, 0.01251220703125, 0.013427734375, -0.0189208984375, -0.019775390625, 0.014892578125, 0.0213623046875, 0.01647...
[ 22543, 678, 119140, 214, 26582, 7, 23, 502, 4867, 81, 158296, 21176, 3454, 11435, 5303, 7704, 6562, 33022, 176726, 33938, 9297, 60816, 3871, 1653, 2063, 67, 12301, 28282, 34153, 5, 1295, 16750, 54397, 903, 18499, 3293, 86608, 103510, 18, ...
[ 0.1605224609375, 0.07501220703125, 0.260986328125, 0.113525390625, 0.20166015625, 0.0072021484375, 0.00933837890625, 0.1424560546875, 0.2147216796875, 0.06097412109375, 0.2169189453125, 0.1444091796875, 0.10693359375, 0.10003662109375, 0.08636474609375, 0.048919677734375, 0.086975097...
embed
35679996_c0
35679996
prolog
0
Title: Order of Goals in Pure Prolog Problem title: Order of Goals in Pure Prolog Tags: prolog, logical-purity Problem: Order of Goals in Pure Prolog I am very new to prolog. As per my knowledge Pure Prolog is restricted to Horn clauses. Here is a very simple prolog program - % student( Snr , FirstName , LastName , Sem...
Order of Goals in Pure Prolog Order of Goals in Pure Prolog prolog logical-purity Order Goals Pure Prolog Snr FirstName LastName Semester Anna Arm ti2 Rita Reich Peter Petersen ti7 Course Mathe2 Physics2 pdv2 Order of Goals in Pure Prolog I am very new to prolog. As per my knowledge Pure Prolog is restricted to Horn cl...
[ 0.025390625, 0.042236328125, 0.01226806640625, 0.025390625, -0.01708984375, 0.00084686279296875, -0.01129150390625, -0.00958251953125, 0.0137939453125, -0.0201416015625, 0.0123291015625, 0.014892578125, -0.0257568359375, -0.00970458984375, -0.000949859619140625, 0.0211181640625, 0.00...
[ 81206, 111, 2016, 16765, 23, 118233, 1250, 4867, 502, 62775, 4717, 2481, 53313, 23972, 163612, 21672, 162356, 7714, 33119, 1053, 304, 76728, 74283, 7948, 1015, 966, 154162, 123426, 165712, 32113, 3525, 51359, 173072, 47, 78315, 70731, 4552, 8...
[ 0.259033203125, 0.17529296875, 0.2147216796875, 0.19140625, 0.05938720703125, 0.2425537109375, 0.19384765625, 0.27587890625, 0.14208984375, 0.1492919921875, 0.1390380859375, 0.03399658203125, 0.1392822265625, 0.022705078125, 0.0965576171875, 0.050567626953125, 0.1407470703125, 0.13...
embed
71040244_c0
71040244
prolog
0
Title: shortest path in GNU PROLOG Problem title: shortest path in GNU PROLOG Tags: prolog Problem: shortest path in GNU PROLOG need help with PROLOG, if anyone can give direction to any of the questions: introduction: I have a water supply network, two water sources (river and lake). Three repositories. Three automati...
shortest path in GNU PROLOG shortest path in GNU PROLOG prolog GNU PROLOG Water p10 j10 p335 j61 j20 j40 j50 j60 j101 j103 j105 j107 j109 j111 j115 j113 j193 j263 j117 j120 j119 j121 j123 j125 j127 j129 j131 j139 j141 j143 j15 j145 j147 j149 j151 j153 j157 j159 j161 j163 j164 j166 j265 j169 j167 j187 j204 j171 j173 j27...
[ 0.0103759765625, 0.014892578125, 0.0147705078125, 0.006805419921875, -0.0155029296875, -0.0057373046875, -0.0032501220703125, -0.00860595703125, 0.01416015625, -0.01611328125, 0.01708984375, -0.0120849609375, -0.01318359375, -0.01190185546875, 0.01531982421875, 0.0245361328125, 0.005...
[ 16610, 525, 60875, 23, 165132, 10514, 47510, 502, 4867, 27646, 915, 963, 1647, 363, 5843, 11540, 1549, 2839, 2525, 4598, 35046, 44141, 106000, 97024, 103928, 116597, 2947, 4046, 20840, 111339, 63652, 133249, 115468, 133826, 117444, 141605, 1540...
[ 0.2469482421875, 0.1866455078125, 0.259033203125, 0.03515625, 0.1922607421875, 0.184814453125, 0.2432861328125, 0.1304931640625, 0.1873779296875, 0.21533203125, 0.03253173828125, 0.1571044921875, 0.094970703125, 0.08111572265625, 0.166259765625, 0.1424560546875, 0.1268310546875, 0....
embed
55337284_c0
55337284
prolog
0
Title: Prolog Maze Runner Problem title: Prolog Maze Runner Tags: prolog, maze Problem: Prolog Maze Runner You areasked to write a simple program in Prolog to find a path through a maze. Your input will consist of facts of the form pway(a, b, 10). indicating that there is a passageway from intersection a to intersectio...
Prolog Maze Runner Prolog Maze Runner prolog maze Prolog Maze Runner Prolog Maze Runner You areasked to write a simple program in Prolog to find a path through a maze. Your input will consist of facts of the form pway(a, b, 10). indicating that there is a passageway from intersection a to intersection b of length 10 me...
[ 0.007598876953125, 0.01123046875, 0.003265380859375, 0.0172119140625, -0.007415771484375, 0.0169677734375, -0.0181884765625, -0.01318359375, 0.00555419921875, -0.04248046875, 0.02392578125, 0.0030975341796875, 0.00008058547973632812, -0.017333984375, 0.0194091796875, 0.00872802734375, ...
[ 1250, 4867, 29678, 13, 208545, 502, 291, 731, 58555, 12225, 33022, 8781, 1528, 23, 7413, 60875, 8305, 10, 107730, 1221, 58055, 15824, 3173, 915, 7514, 11, 876, 209, 46692, 1940, 7, 58994, 140909, 11903, 79986, 86869, 1542, 990, 436, 541, ...
[ 0.208740234375, 0.267578125, 0.1536865234375, 0.0545654296875, 0.1956787109375, 0.1077880859375, 0.1629638671875, 0.2073974609375, 0.00799560546875, 0.0215606689453125, 0.1123046875, 0.1280517578125, 0.1724853515625, 0.056610107421875, 0.1552734375, 0.2021484375, 0.14501953125, 0.0...
embed
34935206_c0
34935206
prolog
0
Title: Can anyone explain why im getting this out put for my prolog Query Problem title: Can anyone explain why im getting this out put for my prolog Query Tags: prolog Problem: Can anyone explain why im getting this out put for my prolog Query % comment the next two lines out when testing - put back in to submit :- in...
Can anyone explain why im getting this out put for my prolog Query Can anyone explain why im getting this out put for my prolog Query prolog Can Query FACTS RULES N-1 Uncomment Who Move Max Can anyone explain why im getting this out put for my prolog Query output: Who likes whom? fido kitty kitty tweety kitty ratatat M...
[ 0.0198974609375, 0.0308837890625, -0.01300048828125, 0.01611328125, 0.004913330078125, 0.01165771484375, -0.00885009765625, -0.0096435546875, 0.00909423828125, -0.0059814453125, 0.006927490234375, -0.0025177001953125, 0.006439208984375, -0.01251220703125, 0.0150146484375, 0.01477050781...
[ 4171, 35672, 73342, 15400, 566, 20949, 903, 1810, 3884, 100, 759, 502, 4867, 58836, 53, 155816, 12763, 46845, 47138, 541, 5759, 992, 277, 674, 40469, 135828, 9920, 140992, 1884, 136565, 809, 246, 200, 15145, 89406, 18773, 3935, 660, 190, ...
[ 0.0609130859375, 0.0633544921875, 0.1993408203125, 0.1634521484375, 0.1220703125, 0.09979248046875, 0.11572265625, 0.1143798828125, 0.15576171875, 0.072021484375, 0.010772705078125, 0.1429443359375, 0.1998291015625, 0.1864013671875, 0.1075439453125, 0.1539306640625, 0.0694580078125, ...
embed
66936073_c0
66936073
prolog
0
Title: Prolog - Matrix N by N with elements being [1,...,N^2] Problem title: Prolog - Matrix N by N with elements being [1,...,N^2] Tags: prolog Problem: Prolog - Matrix N by N with elements being [1,...,N^2] I'm doing an essay for college. We just started using Prolog so I'm new to it. I made an auxiliary function tha...
Prolog - Matrix N by N with elements being [1,...,N^2] Prolog - Matrix N by N with elements being [1,...,N^2] prolog Prolog Matrix row-1 Iteracion Prolog - Matrix N by N with elements being [1,...,N^2] I'm doing an essay for college. We just started using Prolog so I'm new to it. I made an auxiliary function that recei...
[ 0.00537109375, 0.0034027099609375, 0.0189208984375, 0.0048828125, 0.0133056640625, -0.01239013671875, -0.0186767578125, 0.0245361328125, -0.0022430419921875, -0.032470703125, 0.01324462890625, -0.0023956298828125, -0.029541015625, -0.019775390625, -0.021240234375, 0.010009765625, 0.0...
[ 1250, 4867, 194234, 541, 390, 80854, 8035, 68252, 839, 8353, 90173, 502, 15555, 5759, 8560, 6447, 20594, 34666, 40466, 3525, 119591, 32354, 53299, 50944, 425, 12638, 133063, 2174, 116, 3444, 765, 11907, 12830, 1295, 106, 47, 304, 2046, 717,...
[ 0.19091796875, 0.264404296875, 0.247314453125, 0.1585693359375, 0.1380615234375, 0.1949462890625, 0.0618896484375, 0.040863037109375, 0.0797119140625, 0.0335693359375, 0.0190887451171875, 0.1519775390625, 0.187255859375, 0.1280517578125, 0.2413330078125, 0.1524658203125, 0.0278625488...
embed
39676286_c0
39676286
prolog
0
Title: Optimising a Prolog script Problem title: Optimising a Prolog script Tags: list, prolog Problem: Optimising a Prolog script I'm new to Prolog, we're using in University, and it was asked to define a sainthood, I wrote a quick script that is answering to requirements: % List of Saints taken from https://en.wikipe...
Optimising a Prolog script Optimising a Prolog script list prolog https://en.wikipedia.org/wiki/List_of_saints Optimising Prolog List Saints en.wikipedia.org List_of_saints Rule has_faith made_miracles Abadiu Abakuh Abamun Tarnut Saint Phoenix Fabrizio Bob Optimising a Prolog script I'm new to Prolog, we're using in Un...
[ 0.01220703125, 0.008056640625, 0.01422119140625, 0.00872802734375, -0.00848388671875, -0.022216796875, 0.00909423828125, -0.00860595703125, -0.004425048828125, -0.044189453125, 0.0205078125, 0.0032501220703125, -0.0140380859375, -0.0150146484375, 0.0196533203125, 0.003326416015625, 0...
[ 43938, 72219, 1250, 4867, 26499, 10, 5303, 502, 7168, 13691, 154663, 4390, 62432, 933, 32036, 12190, 7, 139118, 1556, 1021, 8962, 7228, 61832, 66695, 157919, 3214, 46635, 319, 127, 12303, 6760, 3609, 133720, 41351, 416, 6162, 25027, 3525, 1...
[ 0.22607421875, 0.1439208984375, 0.213134765625, 0.259765625, 0.258544921875, 0.05657958984375, 0.1346435546875, 0.146484375, 0.0609130859375, 0.02166748046875, 0.112548828125, 0.077392578125, 0.1788330078125, 0.10540771484375, 0.126708984375, 0.2000732421875, 0.018035888671875, 0.2...
embed
39925194_c0
39925194
prolog
0
Title: Split string into words in Prolog Problem title: Split string into words in Prolog Tags: prolog Problem: Split string into words in Prolog I wrote the following code to split a CharList (list of integers) to a list of words. I've run it with trace on and it does all the work and puts it all in a list but it does...
Split string into words in Prolog Split string into words in Prolog prolog Split Prolog CharList WordList splitintowords_ Res Word NWordList NWord string_codes Words WordN WordsN Split string into words in Prolog I wrote the following code to split a CharList (list of integers) to a list of words. I've run it with trac...
[ -0.00830078125, -0.004913330078125, 0.0091552734375, 0.0224609375, -0.031982421875, 0.01953125, -0.003509521484375, 0.01220703125, 0.00494384765625, -0.017578125, 0.004730224609375, -0.0115966796875, -0.01080322265625, 0.0194091796875, 0.014404296875, 0.010986328125, 0.00927734375, ...
[ 46474, 79315, 3934, 34153, 1250, 4867, 23, 502, 21656, 154663, 22543, 65450, 21579, 47416, 9624, 164805, 541, 40899, 839, 54397, 25632, 18151, 6562, 892, 26255, 5303, 11675, 144851, 98, 4488, 756, 22027, 18, 68557, 77336, 34292, 8647, 7225, ...
[ 0.199462890625, 0.2177734375, 0.1566162109375, 0.2108154296875, 0.1474609375, 0.2197265625, 0.022216796875, 0.1016845703125, 0.14453125, 0.1995849609375, 0.135009765625, 0.1939697265625, 0.09765625, 0.116455078125, 0.0628662109375, 0.11767578125, 0.007080078125, 0.104248046875, 0...
embed
79275439_c0
79275439
prolog
0
Title: Better definition of the reifying memberd_t/3 Problem title: Better definition of the reifying memberd_t/3 Tags: meta-predicate, prolog, logical-purity Problem: Better definition of the reifying memberd_t/3 Section 7 of "Indexing dif/2" discusses general reification and the following definition is given for a re...
Better definition of the reifying memberd_t/3 Better definition of the reifying memberd_t/3 meta-predicate prolog logical-purity Better memberd_t l_memberd_t if_ memberdr_t Better definition of the reifying memberd_t/3 Section 7 of "Indexing dif/2" discusses general reification and the following definition is given for...
[ -0.0167236328125, 0.006317138671875, 0.01953125, 0.01068115234375, -0.0072021484375, -0.0103759765625, -0.00439453125, 0.021240234375, 0.004669189453125, -0.0260009765625, 0.0159912109375, 0.01165771484375, -0.0081787109375, 0.025146484375, 0.0120849609375, 0.0152587890625, 0.0106811...
[ 177154, 80934, 456, 151138, 32786, 71, 18, 18113, 23550, 19714, 2063, 502, 4867, 62775, 289, 4717, 2481, 39, 27417, 2174, 7569, 70, 39659, 45755, 12477, 4537, 41274, 47314, 5303, 16070, 33342, 6183, 4785, 5792, 27140, 27689, 254, 7311, 959,...
[ 0.1590576171875, 0.17431640625, 0.1390380859375, 0.1824951171875, 0.2410888671875, 0.09765625, 0.1175537109375, 0.306396484375, 0.1502685546875, 0.08624267578125, 0.1053466796875, 0.104736328125, 0.1448974609375, 0.088134765625, 0.033935546875, 0.1143798828125, 0.037567138671875, 0...
embed
25442909_c0
25442909
prolog
0
Title: Asking for one of several conditions Problem title: Asking for one of several conditions Tags: unification, prolog, boolean-logic Problem: Asking for one of several conditions I realize this is very basic, but I could not work this out from Prolog tutorials, so I hope someone here could help me solve my problem....
Asking for one of several conditions Asking for one of several conditions unification prolog boolean-logic Asking Att1 Var1 Att2 Var2 Att3 Var3 Asking for one of several conditions I realize this is very basic, but I could not work this out from Prolog tutorials, so I hope someone here could help me solve my problem. I...
[ 0.0021820068359375, 0.0030364990234375, -0.01312255859375, -0.005645751953125, -0.00191497802734375, -0.0164794921875, -0.013427734375, 0.004241943359375, 0.0012054443359375, -0.00927734375, 0.0025482177734375, 0.0157470703125, 0.00982666015625, 0.01495361328125, -0.00124359130859375, ...
[ 1301, 6048, 100, 1632, 111, 40368, 27289, 51, 41274, 502, 4867, 31, 34677, 137043, 9208, 418, 3323, 304, 363, 92154, 62822, 1250, 57143, 86869, 2967, 13579, 29568, 2174, 4027, 25720, 3164, 191145, 136, 111477, 13566, 1380, 678, 188347, 3429...
[ 0.175048828125, 0.1158447265625, 0.1646728515625, 0.1319580078125, 0.1278076171875, 0.1854248046875, 0.266357421875, 0.1181640625, 0.1007080078125, 0.0982666015625, 0.1854248046875, 0.036651611328125, 0.1243896484375, 0.114013671875, 0.133544921875, 0.045654296875, 0.1629638671875, ...
embed
10459601_c0
10459601
prolog
0
Title: How can I find the common station between two points of a map in Prolog? Problem title: How can I find the common station between two points of a map in Prolog? Tags: prolog Problem: How can I find the common station between two points of a map in Prolog? There is the situation: I have little part of the London ...
How can I find the common station between two points of a map in Prolog? How can I find the common station between two points of a map in Prolog? prolog How Prolog south_kensington green_park oxford_circus warren_street tottenham_court_road leichester_square charing_cross How can I find the common station between two p...
[ 0.001312255859375, -0.00994873046875, 0.00958251953125, 0.006103515625, -0.007080078125, 0.00124359130859375, 0.002716064453125, -0.007781982421875, 0.01324462890625, -0.051513671875, -0.00482177734375, 0.0263671875, -0.00408935546875, 0.00885009765625, 0.0089111328125, 0.0093994140625...
[ 11249, 831, 87, 7413, 70, 39210, 29398, 17721, 6626, 26847, 22288, 23, 1250, 4867, 502, 127067, 84694, 42562, 50997, 10237, 36, 425, 13534, 82063, 223, 982, 5967, 1186, 510, 3915, 118383, 52562, 4302, 104588, 108047, 21441, 214, 95665, 1664...
[ 0.0577392578125, 0.054718017578125, 0.027984619140625, 0.1507568359375, 0.0673828125, 0.2242431640625, 0.249755859375, 0.1934814453125, 0.1243896484375, 0.1397705078125, 0.1611328125, 0.08221435546875, 0.18310546875, 0.29248046875, 0.1103515625, 0.083740234375, 0.07318115234375, 0....
embed
79203295_c0
79203295
prolog
0
Title: Why is arg/3 faster when its third argument is an unbound variable? Problem title: Why is arg/3 faster when its third argument is an unbound variable? Tags: prolog, swi-prolog Problem: Why is arg/3 faster when its third argument is an unbound variable? Predicates ksort/3 and fksort/3 sort lists of Key-Value pair...
Why is arg/3 faster when its third argument is an unbound variable? Why is arg/3 faster when its third argument is an unbound variable? prolog swi-prolog Why Key-Value Key MaxKey List Sorted Buckets Key-Val Pairs Head Tail Head-Tail Bucket L-L Dlists garbage_collect random_between Val Start Why is arg/3 faster when its...
[ 0.01007080078125, -0.00482177734375, 0.0093994140625, -0.045166015625, -0.006011962890625, -0.0152587890625, 0.00836181640625, -0.0155029296875, 0.00244140625, 0.01141357421875, 0.0206298828125, 0.033203125, -0.01043701171875, 0.00787353515625, 0.0234375, -0.031005859375, 0.008239746...
[ 44084, 79459, 18113, 4271, 56, 50960, 10750, 51, 99091, 77336, 502, 4867, 2452, 3454, 26824, 856, 50770, 9920, 162429, 32036, 53666, 162715, 7831, 42272, 37897, 44816, 1218, 9874, 27853, 6562, 402, 196352, 96759, 1177, 4769, 13794, 7145, 2063...
[ 0.070556640625, 0.16943359375, 0.250244140625, 0.1339111328125, 0.1058349609375, 0.183349609375, 0.18701171875, 0.0236358642578125, 0.158935546875, 0.1837158203125, 0.0673828125, 0.117431640625, 0.117431640625, 0.049560546875, 0.1490478515625, 0.0380859375, 0.0714111328125, 0.09252...
embed
68885498_c0
68885498
prolog
0
Title: How to implement list item deletion for all argument modes? Problem title: How to implement list item deletion for all argument modes? Tags: termination, logical-purity, sequence, failure-slice, prolog Problem: How to implement list item deletion for all argument modes? The following Prolog program defines a pre...
How to implement list item deletion for all argument modes? How to implement list item deletion for all argument modes? termination logical-purity sequence failure-slice prolog How Stack Choice Possible _1542 length:1 _1584 _1562 _1564 _1596 _1606 How to implement list item deletion for all argument modes? The followin...
[ -0.0223388671875, 0.02099609375, 0.0164794921875, -0.009521484375, -0.004302978515625, 0.00250244140625, -0.00188446044921875, 0.0128173828125, 0.01409912109375, 0.004669189453125, 0.0341796875, -0.0022430419921875, -0.0007171630859375, 0.0118408203125, 0.02197265625, 0.00677490234375,...
[ 11249, 47, 29479, 5303, 35735, 24674, 1363, 100, 756, 10750, 13736, 29527, 62775, 4717, 944, 137578, 13348, 502, 4867, 6512, 2594, 181948, 115861, 2661, 1837, 13023, 140909, 13903, 10837, 11648, 9016, 25632, 1250, 1528, 61924, 1653, 2063, 154...
[ 0.0775146484375, 0.0230255126953125, 0.2042236328125, 0.2138671875, 0.2181396484375, 0.238037109375, 0.1475830078125, 0.03021240234375, 0.1044921875, 0.2427978515625, 0.1759033203125, 0.096435546875, 0.062469482421875, 0.06927490234375, 0.022674560546875, 0.1485595703125, 0.097778320...
embed
49491955_c0
49491955
prolog
0
Title: What is a "well behaved predicate" in Prolog? Problem title: What is a "well behaved predicate" in Prolog? Tags: prolog Problem: What is a "well behaved predicate" in Prolog? The SWI documentation mentions on several occasions "for well behaved predicates, leave no choicepoints." Can I take t...
What is a "well behaved predicate" in Prolog? What is a "well behaved predicate" in Prolog? prolog What Prolog What is a "well behaved predicate" in Prolog? The SWI documentation mentions on several occasions "for well behaved predicates, leave no choicepoints." Can I take that to mean that, for "we...
[ 0.00180816650390625, 0.0181884765625, 0.02197265625, 0.00052642822265625, -0.0166015625, 0.0206298828125, 0.0245361328125, -0.02099609375, -0.000270843505859375, 0.002105712890625, 0.0159912109375, -0.00146484375, -0.0230712890625, -0.00811767578125, 0.00970458984375, 0.0264892578125, ...
[ 4865, 19256, 186, 528, 4126, 1653, 2063, 67, 1250, 4867, 502, 83, 10, 23, 38969, 209806, 2472, 5299, 31358, 110, 44126, 38496, 29459, 1636, 72694, 48242, 484, 30524, 25737, 35166, 14037, 80934, 207244, 41206, 18244, 237, 84751, 47, 4488, ...
[ 0.0233306884765625, 0.1563720703125, 0.146728515625, 0.196533203125, 0.147216796875, 0.2100830078125, 0.24658203125, 0.162109375, 0.14013671875, 0.2105712890625, 0.07177734375, 0.0268096923828125, 0.024871826171875, 0.0207977294921875, 0.1143798828125, 0.06951904296875, 0.07025146484...
embed
40453583_c0
40453583
prolog
0
Title: Prolog List in Java with JPL Problem title: Prolog List in Java with JPL Tags: swi-prolog, jpl, java, prolog, arraylist Problem: Prolog List in Java with JPL i am a prolog-noob and have a problem with a prolog-list in java. Prolog: event( 'Number1', 54.320021, 13.043840, [sport,hotel,schwimmen,sauna]). event( 'N...
Prolog List in Java with JPL Prolog List in Java with JPL swi-prolog jpl java prolog arraylist java.util.ArrayList java.util.Map org.jpl7 Prolog List Java JPL Number1 Number2 Categories ArrayList Variable Query Term Map q4.allSolutions solutions.length System.out.println categories.add Prolog List in Java with JPL i am...
[ 0.00946044921875, 0.017333984375, 0.01953125, -0.00384521484375, -0.0072021484375, -0.007232666015625, -0.00762939453125, 0.01190185546875, 0.0020294189453125, -0.02490234375, 0.0130615234375, -0.0174560546875, -0.0390625, -0.0162353515625, -0.0096435546875, 0.00885009765625, 0.00711...
[ 1250, 4867, 32036, 23, 41925, 678, 821, 21130, 2452, 3454, 1647, 2424, 79, 330, 502, 10298, 53, 6562, 3675, 7092, 154663, 166179, 30910, 170, 966, 418, 304, 106584, 69253, 84572, 58836, 2994, 42719, 8096, 617, 5584, 102588, 51347, 23986, ...
[ 0.1717529296875, 0.25146484375, 0.21630859375, 0.048126220703125, 0.233154296875, 0.1126708984375, 0.10595703125, 0.222412109375, 0.15673828125, 0.1190185546875, 0.0201416015625, 0.1607666015625, 0.1181640625, 0.177734375, 0.148193359375, 0.0919189453125, 0.0516357421875, 0.2080078...
embed
15785680_c1
15785680
prolog
1
the husbands, the wifes, if X is a child in a family, if a person exist in a family, the salary of a person and the date of birth of a person) OK, until now I have no problem. Then I have the following exercise related to the previous program: Write a rule that calculates the total salary of all the children in each f...
the husbands, the wifes, if X is a child in a family, if a person exist in a family, the salary of a person and the date of birth of a person) OK, until now I have no problem. Then I have the following exercise related to the previous program: Write a rule that calculates the total salary of all the children in each f...
[ 0.0159912109375, -0.002410888671875, -0.01025390625, 0.0208740234375, -0.0087890625, 0.00360107421875, -0.006134033203125, 0.01055908203125, 0.041748046875, -0.0281982421875, -0.0115966796875, -0.018798828125, -0.0208740234375, 0.0205078125, 0.01300048828125, 0.0034942626953125, 0.02...
[ 71390, 7, 58386, 2174, 1193, 83, 29041, 23, 14449, 3445, 32316, 4559, 1294, 127319, 24189, 5036, 2967, 81979, 96362, 1528, 18781, 79986, 74481, 3622, 111, 756, 20020, 12638, 34292, 11782, 91345, 4153, 277, 214, 33636, 10554, 4568, 2053, 456...
[ 0.20263671875, 0.04278564453125, 0.1273193359375, 0.010894775390625, 0.02252197265625, 0.01373291015625, 0.15185546875, 0.029693603515625, 0.1734619140625, 0.06591796875, 0.1365966796875, 0.192626953125, 0.152587890625, 0.09039306640625, 0.040985107421875, 0.0435791015625, 0.02159118...
embed
43553288_c0
43553288
prolog
0
Title: (SWI)Prolog: Order of sub-goals Problem title: (SWI)Prolog: Order of sub-goals Tags: prolog Problem: (SWI)Prolog: Order of sub-goals I have two, slightly different, implementations of a predicate, unique_element/2 , in Prolog. The predicate succeeds when given an element X and a list L , the element X appears on...
(SWI)Prolog: Order of sub-goals (SWI)Prolog: Order of sub-goals prolog SWI Prolog Order unique_element Elem (SWI)Prolog: Order of sub-goals I have two, slightly different, implementations of a predicate, unique_element/2 , in Prolog. The predicate succeeds when given an element X and a list L , the element X appears on...
[ 0.0172119140625, 0.02685546875, 0.0281982421875, 0.00127410888671875, -0.00921630859375, 0.011962890625, -0.0059814453125, -0.00885009765625, 0.006988525390625, -0.0101318359375, 0.004913330078125, 0.0157470703125, 0.000545501708984375, -0.014404296875, 0.010498046875, 0.00466918945312...
[ 38969, 10752, 4867, 81206, 111, 1614, 519, 16765, 502, 1250, 36998, 62766, 540, 195, 6626, 161549, 12921, 208124, 1653, 2063, 12477, 214493, 34475, 12830, 1193, 5303, 339, 135179, 4734, 24145, 50339, 153941, 13806, 146104, 15573, 60322, 5117, ...
[ 0.178955078125, 0.10614013671875, 0.229248046875, 0.204833984375, 0.0941162109375, 0.2044677734375, 0.15771484375, 0.11474609375, 0.0804443359375, 0.156494140625, 0.180419921875, 0.206787109375, 0.05889892578125, 0.1556396484375, 0.1070556640625, 0.056365966796875, 0.0919189453125, ...
embed
75152752_c0
75152752
prolog
0
Title: Prolog: Reducing Inferences Problem title: Prolog: Reducing Inferences Tags: prolog, permutation, list Problem: Prolog: Reducing Inferences I am trying to lower the inferences needed for executing my program in Prolog. My task is exactly the same as in: Prolog: Comparing Lists from Lists of Lists and Prolog - sp...
Prolog: Reducing Inferences Prolog: Reducing Inferences prolog permutation list Prolog Reducing Inferences make_dessert Starter Main Dessert List_of_Persons Size Permuted split_list at_most_one_common List Splitted_List split_helper Acc List2 check_list CPU Lips Prolog: Reducing Inferences I am trying to lower the infe...
[ -0.010009765625, -0.0034637451171875, 0.0113525390625, 0.0034027099609375, -0.0281982421875, -0.00185394287109375, -0.032958984375, 0.01214599609375, 0.004547119140625, -0.03662109375, 0.0146484375, 0.0306396484375, 0.0068359375, 0.0130615234375, 0.006317138671875, 0.00927734375, 0.0...
[ 1250, 4867, 12, 6096, 34, 21896, 360, 69988, 90, 502, 117, 561, 22062, 5303, 3249, 988, 33657, 13794, 12321, 5581, 32036, 160054, 80378, 908, 65450, 6562, 840, 3796, 46474, 154663, 73866, 29899, 304, 12765, 86039, 156903, 31577, 92319, 5349...
[ 0.1802978515625, 0.249755859375, 0.00555419921875, 0.154296875, 0.1419677734375, 0.08001708984375, 0.0877685546875, 0.2364501953125, 0.01519775390625, 0.1146240234375, 0.08929443359375, 0.1710205078125, 0.08056640625, 0.159423828125, 0.06048583984375, 0.0958251953125, 0.1756591796875...
embed
71773063_c0
71773063
prolog
0
Title: Logical task about children Problem title: Logical task about children Tags: zebra-puzzle, prolog Problem: Logical task about children A family has 5 children. Their ages: 4, 5, 6, 7 and 8 years old. Their names: Rose, Becca, Iona, Stu, Rob. Each of them has a talent: piano, math, violin, literature, computer. I...
Logical task about children Logical task about children zebra-puzzle prolog Logical Age HLIST NOLIST Talents Names Becca Stu StuA Iona IonaA Rob _pianoA Rose RoseA BeccaT StuT IonaT RobT RoseT Children Violin Piano AgeB TalentB AgeM Mathematics AgeS AgeC Computer AgeI AgeR TalentR AgeL Literature Logical task about chi...
[ 0.0013427734375, 0.0040283203125, 0.0111083984375, 0.01190185546875, -0.0152587890625, 0.01092529296875, -0.032470703125, 0.032958984375, 0.01068115234375, -0.03759765625, 0.0093994140625, 0.0113525390625, -0.01220703125, 0.0113525390625, 0.0003070831298828125, 0.00811767578125, -0.0...
[ 13146, 21533, 66211, 1672, 20020, 116232, 1766, 13894, 133, 502, 4867, 72944, 572, 195977, 9520, 86526, 15757, 873, 11210, 26085, 284, 87, 2477, 30520, 63782, 31, 24009, 618, 91345, 89702, 115972, 571, 594, 123426, 47148, 40139, 1052, 866, ...
[ 0.2161865234375, 0.150146484375, 0.2132568359375, 0.1358642578125, 0.271728515625, 0.2100830078125, 0.0838623046875, 0.0927734375, 0.07220458984375, 0.1552734375, 0.2012939453125, 0.197265625, 0.0167236328125, 0.1312255859375, 0.06689453125, 0.2283935546875, 0.115478515625, 0.15625...
embed
41410359_c1
41410359
prolog
1
C1 is C2 ; CharacterCode >= 40, CharacterCode =< 47, C1 is C2 ; CharacterCode >= 58, CharacterCode =< 64, C1 is C2 ; CharacterCode >= 91, CharacterCode =< 96, C1 is C2 ; CharacterCode >= 123, C1 is C2 ; NextCharacterCode >= 48, NextCharacterCode =< 57, C1 is C2 ; NextCharacterCode =:= 39, C1 is C2 ; NextCharacterCode ...
C1 is C2 ; CharacterCode >= 40, CharacterCode =< 47, C1 is C2 ; CharacterCode >= 58, CharacterCode =< 64, C1 is C2 ; CharacterCode >= 91, CharacterCode =< 96, C1 is C2 ; CharacterCode >= 123, C1 is C2 ; NextCharacterCode >= 48, NextCharacterCode =< 57, C1 is C2 ; NextCharacterCode =:= 39, C1 is C2 ; NextCharacterCode ...
[ 0.002410888671875, -0.0159912109375, 0.0078125, 0.00970458984375, 0.022216796875, -0.022216796875, 0.012939453125, -0.006683349609375, 0.01708984375, 0.0274658203125, 0.0115966796875, -0.005615234375, 0.0042724609375, 0.0125732421875, 0.006591796875, 0.00384521484375, 0.0112915039062...
[ 313, 418, 83, 304, 2819, 21656, 2263, 114211, 977, 1112, 4, 16093, 7657, 9318, 7911, 20031, 13549, 37638, 4997, 4572, 10149, 5606, 5684, 2510, 14819, 84068, 47320, 21748, 5, 9433, 132, 5759, 15363, 6488, 108210, 8079, 18444, 141012, 441, ...
[ 0.1746826171875, 0.2041015625, 0.1285400390625, 0.2371826171875, 0.06585693359375, 0.1063232421875, 0.146240234375, 0.2454833984375, 0.091064453125, 0.169677734375, 0.0301666259765625, 0.0190887451171875, 0.1650390625, 0.16162109375, 0.1553955078125, 0.1788330078125, 0.2188720703125,...
embed
13300231_c0
13300231
prolog
0
Title: What are the optimal green cuts for successor arithmetics sum? Problem title: What are the optimal green cuts for successor arithmetics sum? Tags: successor-arithmetics, swi-prolog, prolog-cut, prolog Problem: What are the optimal green cuts for successor arithmetics sum? To grok green cuts in Prolog I am trying...
What are the optimal green cuts for successor arithmetics sum? What are the optimal green cuts for successor arithmetics sum? successor-arithmetics swi-prolog prolog-cut prolog What natural_number What are the optimal green cuts for successor arithmetics sum? To grok green cuts in Prolog I am trying to add them to the ...
[ 0.0181884765625, 0.020263671875, 0.020751953125, 0.031982421875, -0.00244140625, 0.004547119140625, -0.00150299072265625, -0.0103759765625, 0.01171875, -0.01025390625, 0.0078125, 0.00191497802734375, -0.0172119140625, -0.00189971923828125, 0.0240478515625, 0.015869140625, -0.00114440...
[ 4865, 24087, 50997, 314, 933, 100, 39457, 42, 8962, 282, 41637, 10554, 2452, 3454, 4867, 502, 19774, 6083, 2606, 1297, 621, 70, 11969, 92, 23, 1250, 15190, 5570, 80934, 1653, 2063, 1001, 30693, 53201, 41, 6528, 11030, 66, 1257, 140992, ...
[ 0.013671875, 0.2108154296875, 0.252685546875, 0.1890869140625, 0.10107421875, 0.0440673828125, 0.2105712890625, 0.114990234375, 0.1273193359375, 0.05499267578125, 0.03460693359375, 0.199462890625, 0.1510009765625, 0.0943603515625, 0.2159423828125, 0.1253662109375, 0.1585693359375, ...
embed
41007801_c0
41007801
prolog
0
Title: Prolog: Tracing routes between cities falls in infinite loop Problem title: Prolog: Tracing routes between cities falls in infinite loop Tags: infinite-loop, prolog Problem: Prolog: Tracing routes between cities falls in infinite loop I'm coding a simple Prolog program of tracing routes between different cities ...
Prolog: Tracing routes between cities falls in infinite loop Prolog: Tracing routes between cities falls in infinite loop infinite-loop prolog Prolog Tracing city1 city2 santo_antonio_de_posse santa_barbara_doeste Prolog: Tracing routes between cities falls in infinite loop I'm coding a simple Prolog program of tracing...
[ 0.015380859375, -0.0052490234375, 0.0023345947265625, 0.017333984375, -0.0115966796875, -0.0201416015625, -0.0284423828125, 0.01495361328125, 0.017822265625, -0.06689453125, 0.0140380859375, -0.0067138671875, -0.00738525390625, -0.0146484375, 0.01434326171875, 0.0233154296875, 0.0228...
[ 1250, 4867, 4937, 21896, 36439, 17721, 162708, 123867, 23, 54241, 13, 40956, 28354, 502, 26349, 418, 304, 146585, 12806, 5305, 112, 7522, 184, 86818, 18064, 4896, 552, 6238, 8781, 1528, 1152, 12921, 30646, 6626, 8966, 62488, 105237, 162711, ...
[ 0.1217041015625, 0.193359375, 0.12646484375, 0.0838623046875, 0.1510009765625, 0.121337890625, 0.132080078125, 0.1549072265625, 0.021453857421875, 0.12255859375, 0.0343017578125, 0.209228515625, 0.158203125, 0.0806884765625, 0.0953369140625, 0.05230712890625, 0.1275634765625, 0.028...
embed
12300992_c0
12300992
prolog
0
Title: Force prolog to make substitutions in output results Problem title: Force prolog to make substitutions in output results Tags: prolog, output-formatting Problem: Force prolog to make substitutions in output results In the process of learning Prolog I'm making simple program which given some thing is able to tell...
Force prolog to make substitutions in output results Force prolog to make substitutions in output results prolog output-formatting Force left_ LeftThing ToThing above_ AboveThing Thing Left Right Above Below Force prolog to make substitutions in output results In the process of learning Prolog I'm making simple program...
[ 0.015869140625, -0.003936767578125, 0.0400390625, 0.006744384765625, -0.0203857421875, 0.00567626953125, -0.01458740234375, 0.0093994140625, 0.009521484375, 0.01214599609375, 0.00970458984375, 0.005615234375, -0.004241943359375, -0.0032958984375, -0.0003147125244140625, -0.000930786132...
[ 59591, 502, 4867, 47, 3249, 161740, 17514, 23, 140992, 50339, 51727, 25737, 636, 2480, 20800, 214, 717, 36917, 92437, 272, 6003, 90911, 873, 17336, 52080, 1250, 20662, 8781, 1528, 19048, 14192, 2367, 7108, 35064, 13580, 28864, 26458, 705, 1...
[ 0.2183837890625, 0.1490478515625, 0.259521484375, 0.03204345703125, 0.08984375, 0.2083740234375, 0.1568603515625, 0.06463623046875, 0.237060546875, 0.2088623046875, 0.162841796875, 0.143310546875, 0.0224609375, 0.1300048828125, 0.126708984375, 0.0855712890625, 0.143798828125, 0.186...
embed
53835559_c1
53835559
prolog
1
:- dynamic employee/1. :- dynamic employee_max_shifts/2. :- dynamic employee_skill/2. :- dynamic task_skills/2. :- dynamic employee_unavailable/2. :- dynamic task/2. :- dynamic employee_assigned/2. employee(micah). employee(jonathan). employee(blake). employee(barry). employee(jerry). employee(larry). employee(gary). ...
:- dynamic employee/1. :- dynamic employee_max_shifts/2. :- dynamic employee_skill/2. :- dynamic task_skills/2. :- dynamic employee_unavailable/2. :- dynamic task/2. :- dynamic employee_assigned/2. employee(micah). employee(jonathan). employee(blake). employee(barry). employee(jerry). employee(larry). employee(gary). ...
[ 0.017333984375, 0.01275634765625, 0.00872802734375, 0.039794921875, -0.005767822265625, 0.0038604736328125, -0.03125, 0.0027008056640625, -0.01409912109375, -0.0252685546875, 0.00762939453125, -0.0029144287109375, 0.003265380859375, 0.004730224609375, 0.0172119140625, 0.00408935546875,...
[ 15772, 84079, 188183, 11583, 5, 454, 24084, 3767, 2480, 7, 12477, 119261, 66211, 1336, 42458, 1946, 330, 379, 2886, 162, 31304, 16409, 127, 67291, 21732, 7119, 1299, 4227, 1294, 320, 1970, 616, 56037, 28966, 28864, 26073, 12, 1301, 6652, ...
[ 0.1556396484375, 0.277099609375, 0.272705078125, 0.1474609375, 0.096923828125, 0.036895751953125, 0.182373046875, 0.2047119140625, 0.2030029296875, 0.1168212890625, 0.152587890625, 0.2352294921875, 0.236572265625, 0.1756591796875, 0.11865234375, 0.06402587890625, 0.105712890625, 0....
embed
60122130_c0
60122130
prolog
0
Title: ASP Hamiltonian Cycle Story Problem title: ASP Hamiltonian Cycle Story Tags: answer-set-programming, hamiltonian-cycle, prolog, clingo Problem: ASP Hamiltonian Cycle Story Hello I am new to answer-set-programming . I have done a little prolog in the past! I am trying to solve this problem I believe it can be sol...
ASP Hamiltonian Cycle Story ASP Hamiltonian Cycle Story answer-set-programming hamiltonian-cycle prolog clingo cycle_hamilt.lp4 cleaning_street_names.lp4 ASP Hamiltonian Cycle Story name_of_the_file.lp name_of_the_file.lp4 Generating Cardinality Define Testing Defining Nodes Directed Edges Edge Costs Cost Optimize Disp...
[ 0.01171875, -0.004425048828125, -0.021728515625, 0.007568359375, 0.0025634765625, -0.0189208984375, 0.00811767578125, -0.00604248046875, 0.004608154296875, -0.053466796875, -0.0189208984375, -0.0111083984375, -0.016357421875, 0.025146484375, 0.044189453125, 0.01263427734375, -0.01293...
[ 147153, 94674, 3378, 151612, 13, 30575, 35166, 3509, 28966, 56224, 27706, 66, 75457, 502, 4867, 95701, 19120, 105823, 46098, 1277, 26775, 617, 174033, 5967, 11627, 9351, 4390, 29822, 155370, 181021, 2481, 64552, 8647, 88606, 438, 42666, 69030, ...
[ 0.232666015625, 0.2362060546875, 0.1827392578125, 0.224609375, 0.052154541015625, 0.181640625, 0.2138671875, 0.1624755859375, 0.15087890625, 0.135009765625, 0.1290283203125, 0.1070556640625, 0.2418212890625, 0.149658203125, 0.2247314453125, 0.156982421875, 0.2734375, 0.226196289062...
embed
23630268_c0
23630268
prolog
0
Title: Adding clause in Prolog Problem title: Adding clause in Prolog Tags: tell, prolog, database, prolog-assert Problem: Adding clause in Prolog I am about to write code for my project, which is to create a database in SWI-Prolog. The program should contain ADDING, DELETING, SORTING and SEARCHING entries. My problems...
Adding clause in Prolog Adding clause in Prolog tell prolog database prolog-assert Adding Prolog database.pl write_ln Name Surname Added Deleted Adding clause in Prolog I am about to write code for my project, which is to create a database in SWI-Prolog. The program should contain ADDING, DELETING, SORTING and SEARCHIN...
[ 0.0186767578125, 0.01031494140625, 0.0026092529296875, 0.0029449462890625, -0.0184326171875, 0.0225830078125, -0.00189208984375, -0.00537109375, 0.01055908203125, -0.029541015625, 0.0026092529296875, 0.003662109375, -0.0257568359375, -0.020751953125, 0.0186767578125, -0.004974365234375...
[ 62, 59725, 70731, 13, 1250, 4867, 23, 14192, 502, 63399, 162, 33657, 2424, 33022, 15757, 8018, 11627, 69819, 262, 133, 18151, 13452, 38969, 10752, 1528, 70541, 19831, 156906, 27587, 122262, 6755, 169243, 112820, 44402, 3444, 24057, 142117, 10...
[ 0.11328125, 0.160400390625, 0.2445068359375, 0.05023193359375, 0.1800537109375, 0.243408203125, 0.0240020751953125, 0.1754150390625, 0.1343994140625, 0.20458984375, 0.012969970703125, 0.08367919921875, 0.162109375, 0.08673095703125, 0.1339111328125, 0.116455078125, 0.097412109375, ...
embed
3886914_c0
3886914
prolog
0
Title: yap prolog read predicate Problem title: yap prolog read predicate Tags: prolog Problem: yap prolog read predicate I am experimenting with prolog, reading "Programming in prolog using the ISO standard, fith edition". I have installed yap (yet another prolog) on my ubuntu 10.10 Maverick RC system, installed using...
yap prolog read predicate yap prolog read predicate prolog the FILE history_base.pl use_module Euclid Latin Reuchlin-Pfefferkorn Christian Denmark Restoring Yap Yap-5.1.3 Now hello1 Event Date prolcomp14814QRf.pl SYNTAX ERROR HERE yap prolog read predicate I am experimenting with prolog, reading "Programming in prolog ...
[ 0.00726318359375, -0.0150146484375, 0.0205078125, 0.00860595703125, -0.00982666015625, 0.009765625, 0.00567626953125, 0.00787353515625, -0.01025390625, -0.052490234375, 0.0225830078125, -0.00701904296875, -0.029541015625, -0.039794921875, 0.0103759765625, -0.027587890625, -0.01202392...
[ 15850, 502, 4867, 12301, 1653, 2063, 67, 563, 52099, 32692, 37382, 2424, 4527, 83279, 5177, 238, 12472, 42845, 12665, 2397, 2242, 18234, 2434, 14949, 146864, 9624, 1290, 47246, 10342, 81046, 14240, 33600, 31, 418, 36943, 25512, 113200, 58875,...
[ 0.257568359375, 0.20849609375, 0.263671875, 0.2120361328125, 0.1875, 0.2208251953125, 0.047454833984375, 0.09869384765625, 0.1702880859375, 0.161865234375, 0.2041015625, 0.1768798828125, 0.0865478515625, 0.1416015625, 0.0238800048828125, 0.04229736328125, 0.193603515625, 0.17321777...
embed
51348188_c0
51348188
prolog
0
Title: A system for predicting integer sequence Problem title: A system for predicting integer sequence Tags: aleph-ilp, prolog, interface Problem: A system for predicting integer sequence I am now working on a system(ALEPH) for predicting next integers and need to impprt real integer sequence to test it. Here is one o...
A system for predicting integer sequence A system for predicting integer sequence aleph-ilp prolog interface use_module current_predicate use_rendering add_sequence begin_bg end_bg begin_in_pos end_in_pos begin_in_neg end_in_neg aleph_read_all Rule Pos Neg A system for predicting integer sequence I am now working on a ...
[ -0.00016021728515625, 0.007354736328125, -0.00714111328125, 0.056396484375, 0.00201416015625, 0.0269775390625, 0.01226806640625, 0.0225830078125, 0.0023040771484375, -0.057373046875, 0.009521484375, 0.0186767578125, -0.02392578125, -0.00147247314453125, 0.034423828125, -0.0025329589843...
[ 62, 5426, 100, 92054, 214, 892, 1505, 40, 944, 662, 11727, 379, 254, 502, 4867, 101758, 4527, 83279, 43581, 19714, 2063, 18280, 2852, 15190, 184, 9842, 11821, 3564, 73, 7522, 39116, 5584, 139118, 13498, 799, 177, 3956, 20697, 98, 29644, ...
[ 0.0189361572265625, 0.179931640625, 0.04437255859375, 0.257080078125, 0.09442138671875, 0.1422119140625, 0.084716796875, 0.05828857421875, 0.1373291015625, 0.0941162109375, 0.1805419921875, 0.05010986328125, 0.1466064453125, 0.143798828125, 0.23388671875, 0.2362060546875, 0.081909179...
embed
21741503_c0
21741503
prolog
0
Title: Prolog Unifying List Problem title: Prolog Unifying List Tags: prolog Problem: Prolog Unifying List I've been tampering with this code for the past couple hours. What the function should do, is return a list of the next reachable states from the current state (X/Y). Obs is a list of unreachable states, N is the ...
Prolog Unifying List Prolog Unifying List prolog Prolog Unifying List Obs Succs maze1 Prolog Unifying List I've been tampering with this code for the past couple hours. What the function should do, is return a list of the next reachable states from the current state (X/Y). Obs is a list of unreachable states, N is the ...
[ 0.0218505859375, 0.0181884765625, 0.0196533203125, -0.004486083984375, -0.0164794921875, 0.004364013671875, -0.0167236328125, 0.0150146484375, 0.013427734375, -0.025390625, 0.0027313232421875, 0.00518798828125, -0.004852294921875, -0.019287109375, 0.006103515625, 0.013427734375, 0.00...
[ 1250, 4867, 992, 151138, 32036, 502, 3545, 7, 103544, 4439, 291, 731, 418, 1481, 1264, 18151, 21974, 32354, 5608, 54, 30646, 5303, 11737, 58359, 2886, 117249, 1295, 43581, 11341, 1542, 64, 1723, 51, 70443, 541, 14012, 15555, 276, 3365, 31...
[ 0.1768798828125, 0.235595703125, 0.15869140625, 0.1563720703125, 0.21533203125, 0.153564453125, 0.2274169921875, 0.1334228515625, 0.1412353515625, 0.152587890625, 0.0826416015625, 0.148681640625, 0.07293701171875, 0.040313720703125, 0.042449951171875, 0.160888671875, 0.05023193359375...
embed
49017085_c0
49017085
prolog
0
Title: Find occurences of an element in a list of sublists Problem title: Find occurences of an element in a list of sublists Tags: prolog, list Problem: Find occurences of an element in a list of sublists I'm working on a Prolog program that will generate a CYK parse table after being given a set of productions. I am ...
Find occurences of an element in a list of sublists Find occurences of an element in a list of sublists prolog list Find form_row1_cell StringElement ProductionsList Row1Cell Rtail BookProds Cell _G2912 _G2915 _G2918 _G2921 _G2933 _G2936 _G2939 _G2942 Find occurences of an element in a list of sublists I'm working on a...
[ 0.006256103515625, 0.0162353515625, 0.01239013671875, 0.0244140625, -0.0120849609375, -0.00531005859375, 0.01007080078125, 0.01531982421875, -0.003265380859375, -0.000782012939453125, 0.0164794921875, 0.01129150390625, -0.016845703125, 0.01031494140625, -0.0059814453125, -0.01422119140...
[ 26040, 74918, 69098, 111, 12830, 23, 5303, 1614, 6562, 502, 4867, 3173, 15555, 418, 34680, 23351, 647, 19929, 118479, 154663, 96190, 6796, 46741, 27432, 10752, 6468, 80743, 4235, 1530, 1837, 1819, 3117, 9185, 8659, 9323, 13023, 20697, 1250, ...
[ 0.1419677734375, 0.2047119140625, 0.196533203125, 0.044036865234375, 0.212158203125, 0.07977294921875, 0.171630859375, 0.218994140625, 0.25390625, 0.10357666015625, 0.1832275390625, 0.1328125, 0.1431884765625, 0.0174560546875, 0.1199951171875, 0.06097412109375, 0.006500244140625, 0...
embed
17016221_c0
17016221
prolog
0
Title: Prolog performance and recursion type Problem title: Prolog performance and recursion type Tags: prolog, tail-recursion, permutation, performance, list Problem: Prolog performance and recursion type I was playing with permutation in a couple of programs and stumbled upon this little experiment: Permutation metho...
Prolog performance and recursion type Prolog performance and recursion type prolog tail-recursion permutation performance list Prolog Rest CPU Lips Prolog performance and recursion type I was playing with permutation in a couple of programs and stumbled upon this little experiment: Permutation method 1: Permutation met...
[ -0.0025482177734375, 0.004913330078125, 0.02783203125, -0.00168609619140625, -0.01007080078125, -0.014892578125, -0.0400390625, -0.00860595703125, 0.004547119140625, -0.031494140625, 0.009765625, -0.0030059814453125, -0.00031280517578125, 0.0010223388671875, -0.0012359619140625, 0.0060...
[ 1250, 4867, 23718, 136, 195625, 10644, 502, 46741, 107, 48650, 1830, 117, 561, 22062, 5303, 49756, 86039, 156903, 75169, 103391, 18784, 10176, 28007, 908, 55300, 15573, 138, 4032, 88303, 73, 28219, 4127, 41361, 4527, 137567, 17368, 5425, 1345...
[ 0.1656494140625, 0.25146484375, 0.20751953125, 0.01068115234375, 0.234130859375, 0.189208984375, 0.1148681640625, 0.23193359375, 0.05877685546875, 0.1712646484375, 0.0819091796875, 0.053680419921875, 0.1834716796875, 0.01904296875, 0.0499267578125, 0.1275634765625, 0.146240234375, ...
embed
72355363_c0
72355363
prolog
0
Title: ERROR EXCEPTION while printing message raised: type_error on plunit run_tests Problem title: ERROR EXCEPTION while printing message raised: type_error on plunit run_tests Tags: plunit, prolog, swi-prolog Problem: ERROR EXCEPTION while printing message raised: type_error on plunit run_tests These are defined in c...
ERROR EXCEPTION while printing message raised: type_error on plunit run_tests ERROR EXCEPTION while printing message raised: type_error on plunit run_tests plunit prolog swi-prolog ERROR EXCEPTION type_error run_tests a_drop piese_pos a_pickup _-_-X a_clear print_drops begin_tests clear_board board_1_setup b-6 d-5 c-4 ...
[ -0.006683349609375, 0.0123291015625, 0.01446533203125, -0.00750732421875, -0.00872802734375, -0.0015716552734375, -0.01202392578125, -0.0211181640625, -0.00823974609375, 0.00469970703125, -0.00131988525390625, -0.005096435546875, 0.0079345703125, -0.01251220703125, 0.0179443359375, 0.0...
[ 151206, 24638, 29426, 136566, 12960, 2448, 1916, 26008, 165249, 10644, 188800, 98, 12266, 6773, 11675, 6954, 502, 4867, 2452, 3454, 10, 138810, 113681, 7522, 18695, 1542, 119488, 28412, 9842, 34735, 24351, 45443, 3509, 13545, 10342, 11565, 8316...
[ 0.1400146484375, 0.10693359375, 0.059783935546875, 0.129150390625, 0.035400390625, 0.1165771484375, 0.017425537109375, 0.12109375, 0.13427734375, 0.16943359375, 0.1982421875, 0.1217041015625, 0.126708984375, 0.1746826171875, 0.120849609375, 0.2310791015625, 0.0687255859375, 0.15661...
embed
25585740_c0
25585740
prolog
0
Title: Prolog Binary search algorithm Problem title: Prolog Binary search algorithm Tags: prolog Problem: Prolog Binary search algorithm so trying to do a binary search algorithm in prolog %checks to see if a value is contained in a list of integers, %using binary search tactics %success base case %A list contains a va...
Prolog Binary search algorithm Prolog Binary search algorithm prolog binary Prolog List Value even_division Center SecondHalf FirstHalf First Second S-F Prolog Binary search algorithm so trying to do a binary search algorithm in prolog however what i want to do is instead of typing out a list i want to create it base o...
[ -0.01092529296875, 0.00787353515625, 0.0164794921875, -0.0019073486328125, -0.0078125, 0.03369140625, -0.0196533203125, -0.0225830078125, 0.0130615234375, -0.0235595703125, -0.017578125, 0.01171875, -0.012939453125, 0.004730224609375, 0.0224609375, 0.0111083984375, 0.037353515625, ...
[ 1250, 4867, 54092, 1294, 33938, 234873, 502, 2394, 6635, 32036, 190060, 3853, 25826, 11588, 77648, 106670, 159, 9, 919, 31577, 49903, 3444, 64457, 11417, 1810, 5303, 28282, 442, 3647, 14012, 55769, 17, 19692, 171259, 45767, 10644, 3934, 2685,...
[ 0.1634521484375, 0.2432861328125, 0.1845703125, 0.047393798828125, 0.2244873046875, 0.2130126953125, 0.13818359375, 0.1783447265625, 0.1455078125, 0.151611328125, 0.1866455078125, 0.09765625, 0.072998046875, 0.1148681640625, 0.07183837890625, 0.04718017578125, 0.015472412109375, 0....
embed
36202351_c0
36202351
prolog
0
Title: 3-in-a-row logic puzzle: optimisation for sequence constraints in lists/arrays Problem title: 3-in-a-row logic puzzle: optimisation for sequence constraints in lists/arrays Tags: prolog, clp, eclipse-clp, constraints, constraint-programming Problem: 3-in-a-row logic puzzle: optimisation for sequence constraints ...
3-in-a-row logic puzzle: optimisation for sequence constraints in lists/arrays 3-in-a-row logic puzzle: optimisation for sequence constraints in lists/arrays prolog clp eclipse-clp constraints constraint-programming Board Row Col ic_global:sequence_total Solved Yes 3-in-a-row logic puzzle: optimisation for sequence con...
[ 0.0091552734375, 0.000942230224609375, -0.0022125244140625, 0.01251220703125, -0.0038299560546875, -0.0294189453125, 0.00665283203125, 0.004669189453125, -0.00823974609375, -0.01507568359375, -0.01806640625, 0.0206298828125, 0.00592041015625, 0.003204345703125, 0.003936767578125, 0.005...
[ 5691, 73, 11, 15555, 62775, 104192, 15572, 15032, 40, 944, 3956, 158, 2816, 4288, 5303, 19305, 23, 502, 4867, 254, 106371, 184, 26775, 28966, 62554, 96190, 11554, 156566, 188, 1803, 6678, 32635, 9790, 26292, 120067, 57571, 136, 35011, 10804...
[ 0.187255859375, 0.1614990234375, 0.04815673828125, 0.231689453125, 0.1524658203125, 0.19482421875, 0.1337890625, 0.053802490234375, 0.03204345703125, 0.125, 0.013336181640625, 0.09381103515625, 0.192626953125, 0.1328125, 0.1368408203125, 0.0574951171875, 0.015289306640625, 0.040954...
embed
65512680_c0
65512680
prolog
0
Title: Properly matching a set of tokens against my BASIC grammar Problem title: Properly matching a set of tokens against my BASIC grammar Tags: unification, prolog, parsing, grammar, dcg Problem: Properly matching a set of tokens against my BASIC grammar I am working on writing a BASIC interpreter in Prolog. DCGs are...
Properly matching a set of tokens against my BASIC grammar Properly matching a set of tokens against my BASIC grammar unification prolog parsing grammar dcg Properly BASIC is_num_char atom_codes quotes_on_atom atom_chars not_equal for_decl for_next existence_error Call _335 Fail Exit Redo _446 Exception _459 Properly m...
[ 0.0159912109375, 0.002716064453125, 0.022216796875, 0.01385498046875, -0.0174560546875, -0.006744384765625, -0.01373291015625, -0.000537872314453125, 0.00016307830810546875, 0.00640869140625, -0.006561279296875, 0.0108642578125, -0.01171875, -0.0206298828125, 0.006500244140625, 0.00277...
[ 1250, 1264, 14858, 214, 5423, 47, 84694, 26548, 96971, 16259, 122092, 147, 51, 41274, 502, 4867, 366, 104, 238, 177, 83, 2606, 9254, 34627, 40899, 66747, 191, 5928, 959, 71723, 100, 112, 34937, 29062, 116311, 188800, 26265, 363, 5843, 190...
[ 0.11083984375, 0.08380126953125, 0.2149658203125, 0.003631591796875, 0.121337890625, 0.1181640625, 0.212890625, 0.1614990234375, 0.132568359375, 0.138671875, 0.155517578125, 0.1002197265625, 0.1220703125, 0.0938720703125, 0.0992431640625, 0.20654296875, 0.0504150390625, 0.011108398...
embed
40694852_c0
40694852
prolog
0
Title: Prolog: Out of local stack error Problem title: Prolog: Out of local stack error Tags: failure-slice, prolog Problem: Prolog: Out of local stack error Consider the following code (taken from Introduction to Prolog by RP Suri): /* A set of father-child pairs declared */ father("Motilal", "Jawaharlal"). father("Mo...
Prolog: Out of local stack error Prolog: Out of local stack error failure-slice prolog Prolog Out Motilal Jawaharlal Vijayalakshmi Krishna Indira Ranjit Tara Lekha Rita Feroz Sanjay Rajiv Varun Rahul Priyanka Mothers wife_of Swaruprani Kamla Maneka Sonia Robert Predicates Hus ERROR Prolog: Out of local stack error Cons...
[ 0.03076171875, 0.01806640625, -0.0126953125, 0.02197265625, -0.0162353515625, -0.0004520416259765625, -0.02490234375, 0.0166015625, 0.015869140625, -0.05517578125, 0.026123046875, -0.01190185546875, 0.00189208984375, -0.005035400390625, 0.050048828125, 0.00762939453125, 0.01177978515...
[ 1250, 4867, 12, 13538, 111, 4000, 177261, 18499, 137578, 13348, 502, 2501, 3675, 289, 16035, 3467, 16578, 90517, 194454, 55420, 22420, 219, 29676, 45501, 636, 11395, 76728, 8002, 4895, 235906, 4371, 3323, 309, 191367, 2319, 1643, 161, 115217,...
[ 0.2333984375, 0.302978515625, 0.043548583984375, 0.2244873046875, 0.2313232421875, 0.220458984375, 0.251220703125, 0.2281494140625, 0.1947021484375, 0.1265869140625, 0.163818359375, 0.060150146484375, 0.1607666015625, 0.0828857421875, 0.0675048828125, 0.089599609375, 0.1201171875, ...
embed
69623092_c0
69623092
prolog
0
Title: prolog family tree locating cousins Problem title: prolog family tree locating cousins Tags: prolog, relationship Problem: prolog family tree locating cousins The Cousin Explainer Write a program that when given a person of reference and a degree the program can tell me all of the nth degree cousins that person ...
prolog family tree locating cousins prolog family tree locating cousins prolog relationship firstCousin_of all_cousins Person Degree ListOfCousins all_cousinsRemoved Number Direction prolog family tree locating cousins The Cousin Explainer Write a program that when given a person of reference and a degree the program c...
[ 0.0302734375, -0.00019073486328125, -0.01031494140625, 0.030029296875, 0.00384521484375, 0.000926971435546875, -0.0225830078125, 0.007354736328125, 0.0093994140625, -0.041015625, -0.003173828125, -0.0203857421875, -0.01483154296875, 0.01007080078125, 0.020263671875, -0.00677490234375, ...
[ 502, 4867, 14449, 53201, 64040, 193429, 76755, 5117, 10625, 223, 73, 4390, 756, 12600, 6700, 15270, 7134, 32036, 132887, 796, 432, 4126, 103332, 176774, 1311, 60075, 16442, 56, 601, 18781, 1528, 3445, 91067, 79385, 831, 14192, 163, 653, 927...
[ 0.147216796875, 0.2220458984375, 0.069580078125, 0.17529296875, 0.11279296875, 0.2298583984375, 0.1300048828125, 0.1109619140625, 0.07763671875, 0.1845703125, 0.134033203125, 0.0880126953125, 0.1165771484375, 0.1160888671875, 0.1680908203125, 0.0543212890625, 0.0821533203125, 0.083...
embed
60560215_c0
60560215
prolog
0
Title: Framework combining capabilities of Apache Jena and Prolog for handling production rules, triples Problem title: Framework combining capabilities of Apache Jena and Prolog for handling production rules, triples Tags: rule-engine, drools, prolog, jena Problem: Framework combining capabilities of Apache Jena and P...
Framework combining capabilities of Apache Jena and Prolog for handling production rules, triples Framework combining capabilities of Apache Jena and Prolog for handling production rules, triples rule-engine drools prolog jena Framework Apache Jena Prolog NoOfItems BaseRental Profit NoOfUnits ProductionCostPerUnit Tran...
[ 0.01507568359375, 0.02294921875, 0.00604248046875, 0.0181884765625, -0.0146484375, -0.00897216796875, 0.0037841796875, -0.00762939453125, 0.0027008056640625, -0.0322265625, 0.01068115234375, 0.00017642974853515625, -0.006134033203125, -0.01080322265625, 0.0072021484375, 0.0281982421875...
[ 202220, 375, 964, 130732, 9795, 1430, 845, 76, 1250, 4867, 45064, 36049, 91736, 162738, 79986, 128897, 16810, 929, 502, 55, 132887, 2982, 44978, 33, 114609, 85600, 118479, 5510, 20913, 503, 33163, 15277, 7680, 1062, 131470, 27751, 40175, 3158...
[ 0.236083984375, 0.038543701171875, 0.126953125, 0.164794921875, 0.137939453125, 0.1617431640625, 0.1915283203125, 0.216064453125, 0.1265869140625, 0.206298828125, 0.10040283203125, 0.153076171875, 0.1585693359375, 0.1932373046875, 0.1134033203125, 0.118896484375, 0.08642578125, 0.1...
embed
43508328_c0
43508328
prolog
0
Title: Prolog - increment value of list Problem title: Prolog - increment value of list Tags: counter, increment, prolog Problem: Prolog - increment value of list I'm new with Prolog and have some difficulties concerning basically a counter. This code works : listProf(L1) :- findall((LastName,FirstName,Id), professor(I...
Prolog - increment value of list Prolog - increment value of list counter increment prolog Prolog LastName FirstName FistName NumberOfCredits NbCredits INF1110 TREJ4 Thursday PASB1 Wednesday INF1130 Monday Tremblay Jean DEVL2 Vinci Leonard Pascal Blaise GOLA1 Goldberg Adele Prolog - increment value of list I'm new with...
[ 0.014404296875, 0.00113677978515625, -0.01116943359375, 0.0228271484375, -0.0009918212890625, 0.0096435546875, -0.01300048828125, -0.0004024505615234375, 0.017822265625, -0.036865234375, -0.0014190673828125, 0.0067138671875, 0.00396728515625, 0.00118255615234375, 0.0155029296875, 0.008...
[ 1250, 4867, 158661, 34292, 111, 5303, 105416, 502, 21672, 163612, 23972, 563, 1419, 103332, 132887, 63784, 7564, 275, 5881, 919, 1662, 963, 93681, 1375, 617, 103616, 8436, 571, 418, 64227, 1197, 68318, 4804, 6492, 5259, 16162, 1514, 92414, ...
[ 0.18994140625, 0.267822265625, 0.241943359375, 0.2197265625, 0.1021728515625, 0.2294921875, 0.251220703125, 0.1334228515625, 0.093505859375, 0.1298828125, 0.0054931640625, 0.0582275390625, 0.045379638671875, 0.099609375, 0.1468505859375, 0.1480712890625, 0.189697265625, 0.040313720...
embed
70114019_c0
70114019
prolog
0
Title: Prolog: Resolvent/Resolution solver and recursion Problem title: Prolog: Resolvent/Resolution solver and recursion Tags: list, prolog, recursion Problem: Prolog: Resolvent/Resolution solver and recursion Given 2 lists of positiv and negativ literals (representing clauses) I want to to get all possible Resolution...
Prolog: Resolvent/Resolution solver and recursion Prolog: Resolvent/Resolution solver and recursion list prolog recursion Prolog Resolvent Resolution Prolog: Resolvent/Resolution solver and recursion Given 2 lists of positiv and negativ literals (representing clauses) I want to to get all possible Resolutions of these ...
[ -0.023681640625, 0.0167236328125, 0.019287109375, -0.003143310546875, -0.0224609375, -0.01409912109375, -0.02197265625, -0.00017642974853515625, 0.01202392578125, -0.0137939453125, -0.006103515625, 0.01177978515625, -0.021484375, 0.00543212890625, 0.005950927734375, -0.00311279296875, ...
[ 1250, 4867, 853, 86918, 660, 4332, 166589, 3115, 814, 195625, 5303, 502, 116, 40523, 25069, 15659, 16765, 55247, 70731, 3444, 2046, 756, 7722, 163528, 43240, 5117, 289, 841, 58745, 618, 54397, 1830, 388, 44816, 111, 11907, 69941, 17932, 161...
[ 0.10382080078125, 0.182861328125, 0.007781982421875, 0.15576171875, 0.109375, 0.025421142578125, 0.197265625, 0.109619140625, 0.1259765625, 0.1697998046875, 0.1455078125, 0.0723876953125, 0.05859375, 0.1767578125, 0.2049560546875, 0.1151123046875, 0.107177734375, 0.1099853515625, ...
embed
48998208_c0
48998208
prolog
0
Title: SWI: Semideterminate behavior : random/3 in call/1 context? Problem title: SWI: Semideterminate behavior : random/3 in call/1 context? Tags: deterministic, prolog, loops, call Problem: SWI: Semideterminate behavior : random/3 in call/1 context? This was my initial bump-up with the notion of determinacy in Prolog...
SWI: Semideterminate behavior : random/3 in call/1 context? SWI: Semideterminate behavior : random/3 in call/1 context? deterministic prolog loops call SWI Semideterminate Goal Acc Lst Item rand_edges R1-R2 RangeFrom RangeTo Edges _NewVar NewLst NewGoal SWI: Semideterminate behavior : random/3 in call/1 context? This w...
[ 0.0167236328125, 0.0301513671875, 0.024169921875, -0.00335693359375, 0.0012664794921875, -0.00457763671875, 0.01556396484375, 0.00107574462890625, 0.01611328125, -0.057373046875, 0.034912109375, 0.0133056640625, -0.0240478515625, 0.00482177734375, 0.0400390625, -0.00897216796875, 0.0...
[ 159, 38969, 84420, 145099, 123166, 96759, 18113, 23, 11782, 11583, 43701, 72694, 48242, 502, 4867, 40956, 67, 2016, 29899, 271, 78426, 27388, 297, 20268, 304, 142462, 168407, 7763, 69030, 81827, 2356, 17903, 110, 27354, 2408, 1250, 44084, 959...
[ 0.012237548828125, 0.1947021484375, 0.1619873046875, 0.21484375, 0.1865234375, 0.19921875, 0.25537109375, 0.012451171875, 0.1595458984375, 0.1156005859375, 0.18115234375, 0.1334228515625, 0.03802490234375, 0.096923828125, 0.18603515625, 0.1580810546875, 0.0144805908203125, 0.084716...
embed
21692835_c0
21692835
prolog
0
Title: Define parts of a predicate across several modules Problem title: Define parts of a predicate across several modules Tags: module, prolog, swi-prolog Problem: Define parts of a predicate across several modules I'm trying to write a predicate move/3 which handles several kinds of terms, each kind of which is defi...
Define parts of a predicate across several modules Define parts of a predicate across several modules module prolog swi-prolog all dog:move/3 cat Define cat.prolog dog.prolog main.prolog use_module ERROR Cannot dog:move Warning main.prolog:2 Goal user:use_module cat:move Define parts of a predicate across several modul...
[ 0.009033203125, -0.004180908203125, -0.004241943359375, 0.0147705078125, -0.00970458984375, 0.0245361328125, 0.02001953125, 0.00677490234375, 0.00011873245239257812, -0.042236328125, -0.0118408203125, 0.011962890625, -0.01007080078125, -0.01300048828125, 0.01416015625, 0.00552368164062...
[ 262, 64552, 63920, 111, 1653, 2063, 67, 36880, 40368, 88996, 502, 4867, 2452, 3454, 756, 10269, 432, 272, 18113, 7515, 5201, 4527, 83279, 151206, 4171, 10869, 5550, 304, 2016, 38937, 4032, 33022, 25813, 34831, 8562, 69407, 12638, 61924, 847...
[ 0.07958984375, 0.219482421875, 0.196044921875, 0.016632080078125, 0.176513671875, 0.2301025390625, 0.1229248046875, 0.1470947265625, 0.112548828125, 0.2236328125, 0.11572265625, 0.196533203125, 0.13037109375, 0.1231689453125, 0.0281982421875, 0.1756591796875, 0.1114501953125, 0.104...
embed
65086983_c0
65086983
prolog
0
Title: Rewriting tail recursion prolog code into simple recursion Problem title: Rewriting tail recursion prolog code into simple recursion Tags: tail-recursion, recursion, prolog Problem: Rewriting tail recursion prolog code into simple recursion I'm quite new in prolog and I want to practice rewriting a tail-recursio...
Rewriting tail recursion prolog code into simple recursion Rewriting tail recursion prolog code into simple recursion tail-recursion recursion prolog Rewriting some_predicate Numbers Acc RetD Rewriting tail recursion prolog code into simple recursion I'm quite new in prolog and I want to practice rewriting a tail-recur...
[ 0.0037689208984375, 0.0034942626953125, -0.01611328125, 0.0047607421875, 0.0260009765625, 0.0133056640625, -0.009033203125, -0.002655029296875, 0.019287109375, -0.026611328125, 0.01483154296875, -0.00933837890625, -0.0050048828125, 0.00799560546875, 0.02587890625, 0.0034332275390625, ...
[ 853, 199332, 46741, 195625, 1830, 502, 4867, 18151, 3934, 8781, 107, 48650, 3060, 19714, 2063, 103332, 29899, 47131, 397, 32233, 3525, 41361, 456, 28219, 11522, 9433, 959, 214493, 37873, 4358, 77947, 814, 5844, 85763, 47, 351, 90825, 3638, ...
[ 0.1292724609375, 0.1978759765625, 0.24951171875, 0.1932373046875, 0.09375, 0.1434326171875, 0.2095947265625, 0.182373046875, 0.1064453125, 0.1668701171875, 0.0692138671875, 0.188720703125, 0.0250396728515625, 0.1055908203125, 0.146728515625, 0.111083984375, 0.05767822265625, 0.1054...
embed
4994087_c0
4994087
prolog
0
Title: prolog sets, stack overflow Problem title: prolog sets, stack overflow Tags: algebra, prolog Problem: prolog sets, stack overflow I'm gonna show some code and ask, what could be optimized and where am I sucked? sublist([], []). sublist([H | Tail1], [H | Tail2]) :- sublist(Tail1, Tail2). sublist(H, [_ | Tail]) :-...
prolog sets, stack overflow prolog sets, stack overflow algebra prolog Tail1 Tail2 Tail RelationList LessList List list_to_set list_mltpl List1 List2 have_inf X1_cone X2_cone Cone Relations Len ERROR Out Exception setup_call_catcher_cleanup new_findall_bag fa_loop _G263 user:relations _G268 _G835 destroy_findall_bag Ex...
[ -0.00182342529296875, 0.003326416015625, 0.01153564453125, 0.0010528564453125, -0.00439453125, -0.01611328125, -0.0233154296875, -0.0020599365234375, 0.01348876953125, -0.01904296875, 0.01226806640625, 0.0419921875, 0.0125732421875, -0.02099609375, 0.017578125, 0.00433349609375, 0.01...
[ 502, 4867, 5423, 177261, 645, 118664, 429, 1218, 379, 304, 116822, 154663, 1734, 32036, 5303, 3509, 2424, 765, 46632, 84846, 1657, 18226, 151206, 13538, 63928, 169581, 85763, 4460, 11030, 2037, 111607, 5584, 26015, 1071, 28354, 4046, 363, 389...
[ 0.167236328125, 0.2117919921875, 0.20068359375, 0.1478271484375, 0.106201171875, 0.21630859375, 0.05377197265625, 0.08697509765625, 0.06744384765625, 0.039154052734375, 0.1380615234375, 0.1368408203125, 0.11328125, 0.1146240234375, 0.1396484375, 0.10302734375, 0.061614990234375, 0....
embed
6850253_c0
6850253
prolog
0
Title: Filtering elements from a list based on conditions in prolog Problem title: Filtering elements from a list based on conditions in prolog Tags: prolog, list Problem: Filtering elements from a list based on conditions in prolog I have a list of routes path(chicago,milwaukee). path(milwaukee,detroit). path(chicago,...
Filtering elements from a list based on conditions in prolog Filtering elements from a list based on conditions in prolog prolog list a Filtering Start End Filtering elements from a list based on conditions in prolog I have a list of routes I have a predicate routefrom which gives all the cities between start & end. Fo...
[ 0.00066375732421875, -0.00482177734375, 0.00128936767578125, 0.0181884765625, -0.00250244140625, 0.004913330078125, 0.00830078125, 0.01019287109375, 0.00799560546875, -0.0252685546875, 0.007080078125, -0.005950927734375, -0.0191650390625, 0.01312255859375, -0.01165771484375, 0.00236511...
[ 128896, 214, 80854, 1295, 5303, 35509, 98, 27289, 502, 4867, 13794, 18878, 36439, 1653, 2063, 67, 161063, 76199, 756, 162708, 17721, 4034, 3564, 2046, 89536, 79986, 4127, 133261, 594, 30646, 29568, 70541, 2717, 634, 30163, 13, 87904, 519, 1...
[ 0.271728515625, 0.06182861328125, 0.1729736328125, 0.0838623046875, 0.197509765625, 0.1214599609375, 0.03369140625, 0.2401123046875, 0.142578125, 0.2333984375, 0.0977783203125, 0.164794921875, 0.16064453125, 0.09698486328125, 0.1387939453125, 0.0178070068359375, 0.151611328125, 0.0...
embed
6082779_c0
6082779
prolog
0
Title: “Syntax error: Operator expected” in Prolog Problem title: “Syntax error: Operator expected” in Prolog Tags: prolog Problem: “Syntax error: Operator expected” in Prolog I have this graph structure representing data flow in Prolog. I have an edge from node 1 to 2, 1 to 3, etc. Variable x is defined in node 1, var...
“Syntax error: Operator expected” in Prolog “Syntax error: Operator expected” in Prolog prolog Syntax Operator Prolog definition_clear_path Undefined definition_clear_path1 However pos_path Start End Mid Node “Syntax error: Operator expected” in Prolog I have this graph structure representing data flow in Prolog. I hav...
[ 0.01177978515625, 0.011962890625, 0.01434326171875, 0.00860595703125, 0.016357421875, 0.006988525390625, -0.01953125, -0.0108642578125, 0.00982666015625, -0.023681640625, -0.015380859375, -0.0078125, -0.007537841796875, -0.014404296875, 0.0361328125, 0.0012969970703125, -0.0027008056...
[ 3371, 86531, 18499, 150922, 84751, 1250, 4867, 502, 19010, 80934, 119488, 128405, 79912, 5983, 418, 33306, 3864, 13794, 18878, 23166, 438, 41382, 45646, 33636, 2053, 86608, 121303, 110, 138, 84572, 2886, 1022, 61924, 106, 77336, 808, 201, 104...
[ 0.090576171875, 0.19873046875, 0.168212890625, 0.263916015625, 0.2236328125, 0.151123046875, 0.2305908203125, 0.0784912109375, 0.1326904296875, 0.17431640625, 0.205810546875, 0.1922607421875, 0.01153564453125, 0.147705078125, 0.044036865234375, 0.00360107421875, 0.139892578125, 0.0...
embed
20318531_c0
20318531
prolog
0
Title: Same result printing twice in Prolog Problem title: Same result printing twice in Prolog Tags: prolog Problem: Same result printing twice in Prolog I have to create a predicate, meal(A,E,D), that finds all possible meal combinations based off some set of rules. When I test my code I get the correct solutions, th...
Same result printing twice in Prolog Same result printing twice in Prolog prolog Same Prolog Kris Carneal CMSC Project Egyptian Korean Vietnamese Mexican Chinese Indian American c10 c11 c12 Same result printing twice in Prolog I have to create a predicate, meal(A,E,D), that finds all possible meal combinations based of...
[ -0.002166748046875, -0.000732421875, 0.0196533203125, 0.003936767578125, -0.00628662109375, 0.0074462890625, -0.020263671875, -0.00799560546875, 0.01495361328125, -0.0101318359375, -0.01336669921875, 0.000827789306640625, 0.01385498046875, -0.00775146484375, 0.015380859375, 0.009582519...
[ 99908, 16750, 2448, 1916, 186351, 1250, 4867, 23, 502, 44466, 107281, 289, 113268, 441, 27331, 61527, 133915, 39272, 181815, 76438, 42878, 15672, 963, 1662, 1530, 765, 28282, 1653, 2063, 109911, 284, 647, 397, 7413, 756, 7722, 162515, 35509, ...
[ 0.1617431640625, 0.2100830078125, 0.18701171875, 0.04827880859375, 0.262451171875, 0.169677734375, 0.2451171875, 0.01727294921875, 0.1298828125, 0.0618896484375, 0.085205078125, 0.10693359375, 0.05108642578125, 0.0452880859375, 0.0867919921875, 0.06341552734375, 0.03436279296875, 0...
embed