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
63716046_c0
63716046
prolog
0
Title: Recursively creating a list of descendants in Prolog Problem title: Recursively creating a list of descendants in Prolog Tags: recursion, append, list, prolog Problem: Recursively creating a list of descendants in Prolog I'm really new to Prolog and am struggling with recursively appending to lists. I'm trying t...
Recursively creating a list of descendants in Prolog Recursively creating a list of descendants in Prolog recursion append list prolog Recursively Prolog Lineage NewLineage Call _12442 lists:append _12904 Exit _13040 _13136 _13272 _13368 _13510 Fail _13554 Redo _13914 Recursively creating a list of descendants in Prolo...
[ 0.01251220703125, 0.002899169921875, 0.0157470703125, 0.01202392578125, 0.00543212890625, 0.0186767578125, -0.01275634765625, 0.018310546875, 0.01080322265625, -0.036376953125, 0.004150390625, -0.02880859375, -0.0242919921875, 0.00274658203125, 0.01141357421875, 0.00579833984375, 0.0...
[ 853, 48650, 5844, 105233, 5303, 111, 60887, 10840, 1250, 4867, 195625, 1830, 114689, 502, 16777, 2356, 93232, 26265, 161041, 9007, 3611, 117595, 7709, 5443, 43955, 2839, 131281, 136124, 126701, 88622, 963, 190355, 163670, 133826, 2592, 3525, 23...
[ 0.080810546875, 0.209716796875, 0.182373046875, 0.1514892578125, 0.1983642578125, 0.043487548828125, 0.2247314453125, 0.1754150390625, 0.154296875, 0.2362060546875, 0.212646484375, 0.019287109375, 0.0865478515625, 0.08367919921875, 0.08935546875, 0.003875732421875, 0.1240234375, 0....
embed
20168194_c0
20168194
prolog
0
Title: Prolog: Rules evaluating in an unexpected order Problem title: Prolog: Rules evaluating in an unexpected order Tags: rule, prolog, list Problem: Prolog: Rules evaluating in an unexpected order I am currently working on a Prolog program to remove duplicates from a list. Here is my code: makeset([First], [First])....
Prolog: Rules evaluating in an unexpected order Prolog: Rules evaluating in an unexpected order rule prolog list Prolog Rules First Second Tail FinalList Prolog: Rules evaluating in an unexpected order I am currently working on a Prolog program to remove duplicates from a list. Here is my code: However, when I try this...
[ 0.01953125, 0.02197265625, 0.0274658203125, 0.003448486328125, 0.0033416748046875, 0.00341796875, -0.0185546875, 0.0048828125, 0.01513671875, 0.009765625, -0.001708984375, -0.004669189453125, 0.0211181640625, -0.00994873046875, 0.00921630859375, 0.0167236328125, 0.02099609375, 0.01...
[ 1250, 4867, 139118, 151575, 241957, 12989, 214, 23, 79986, 502, 5303, 23972, 77648, 1218, 379, 27188, 154663, 20697, 1528, 87388, 171763, 1636, 1295, 18151, 9790, 1286, 6626, 55769, 30646, 98320, 13028, 144851, 13695, 17368, 4568, 91736, 7565, ...
[ 0.1480712890625, 0.226806640625, 0.1788330078125, 0.161376953125, 0.1258544921875, 0.16064453125, 0.012115478515625, 0.0193023681640625, 0.1749267578125, 0.07928466796875, 0.1748046875, 0.0200958251953125, 0.060791015625, 0.0760498046875, 0.070556640625, 0.110595703125, 0.14001464843...
embed
52742229_c0
52742229
prolog
0
Title: Deepest tree node and distance Problem title: Deepest tree node and distance Tags: prolog Problem: Deepest tree node and distance I have a knowledge base of components component(ElementX,ElementY,Qty). ElementX uses ElementY in it's structure in quantity Qty. component(bicycle, wheel, 2). component(bicycle, brak...
Deepest tree node and distance Deepest tree node and distance prolog Deepest ElementX ElementY Qty braking_system transmission_system right_brake left_brake gears_front gears_back Num Num2 Find Max find_leaves Results Calculate calc_dist Element Rest MaxRest Root Leaves two_deepest EMax1 Depth1 Distances nth1 Index nth...
[ 0.04443359375, 0.00360107421875, -0.005615234375, 0.007568359375, 0.019775390625, 0.035400390625, -0.029052734375, -0.00531005859375, 0.01507568359375, -0.04931640625, 0.004486083984375, -0.0167236328125, 0.010986328125, -0.007476806640625, 0.01251220703125, -0.0220947265625, 0.01757...
[ 62723, 525, 53201, 110, 112, 136, 62488, 502, 4867, 48325, 1542, 1723, 2396, 939, 30316, 214, 16751, 179965, 7108, 2844, 25737, 350, 72397, 20549, 12620, 52782, 304, 26040, 9920, 7413, 14507, 146104, 212467, 6510, 46295, 49756, 1052, 150948, ...
[ 0.2186279296875, 0.16748046875, 0.228515625, 0.1578369140625, 0.1331787109375, 0.021881103515625, 0.255615234375, 0.096923828125, 0.1346435546875, 0.1632080078125, 0.06695556640625, 0.0616455078125, 0.033966064453125, 0.0931396484375, 0.1844482421875, 0.0404052734375, 0.1103515625, ...
embed
33598922_c0
33598922
prolog
0
Title: Moving between states (A Prolog implementation) Problem title: Moving between states (A Prolog implementation) Tags: state-space, prolog Problem: Moving between states (A Prolog implementation) I am trying to implement a prolog progarm that implement depth first search and breadth first search the solves the fol...
Moving between states (A Prolog implementation) Moving between states (A Prolog implementation) state-space prolog Moving Prolog Pour Large Medium NewLarge NewMedium Diff Moving between states (A Prolog implementation) I am trying to implement a prolog progarm that implement depth first search and breadth first search ...
[ 0.0059814453125, 0.00909423828125, 0.00830078125, 0.03271484375, -0.0078125, 0.0003299713134765625, -0.038330078125, 0.0220947265625, 0.004119873046875, -0.00762939453125, 0.016357421875, -0.006256103515625, -0.004425048828125, -0.00762939453125, 0.0037689208984375, -0.009033203125, ...
[ 2501, 6496, 17721, 117249, 284, 1250, 4867, 208124, 11341, 65421, 502, 5547, 181268, 174413, 2356, 2729, 27616, 6696, 28483, 191144, 31577, 29479, 1970, 39, 168867, 5117, 33938, 136, 179967, 86869, 25632, 2967, 69070, 61475, 17966, 63527, 69236...
[ 0.1414794921875, 0.12158203125, 0.2152099609375, 0.1904296875, 0.047637939453125, 0.1868896484375, 0.2391357421875, 0.1661376953125, 0.187744140625, 0.160888671875, 0.1641845703125, 0.1922607421875, 0.1214599609375, 0.193115234375, 0.0662841796875, 0.041259765625, 0.1298828125, 0.1...
embed
23764268_c0
23764268
prolog
0
Title: Prolog - How to replace elements in a list with other elements from another list Problem title: Prolog - How to replace elements in a list with other elements from another list Tags: list, prolog Problem: Prolog - How to replace elements in a list with other elements from another list I'm new to Prolog and i'm h...
Prolog - How to replace elements in a list with other elements from another list Prolog - How to replace elements in a list with other elements from another list list prolog another Prolog How Shape Color CompleteList Square Blue Circle Red Triangle Green IncompleteList Prolog - How to replace elements in a list with o...
[ -0.000720977783203125, -0.0111083984375, -0.0115966796875, 0.0159912109375, -0.022216796875, 0.0311279296875, -0.0205078125, -0.005859375, 0.0205078125, 0.01226806640625, 0.0242919921875, 0.015625, -0.0057373046875, -0.00154876708984375, 0.01123046875, 0.004425048828125, 0.0363769531...
[ 1250, 4867, 11249, 47, 91995, 80854, 23, 5303, 678, 3789, 1295, 15700, 502, 7224, 1081, 51193, 168318, 154663, 68305, 22928, 163731, 6096, 4699, 109217, 15497, 360, 277, 131801, 3525, 63134, 20697, 6626, 5701, 140909, 28484, 82940, 46485, 984...
[ 0.1527099609375, 0.22119140625, 0.10150146484375, 0.034912109375, 0.2081298828125, 0.186767578125, 0.057403564453125, 0.2064208984375, 0.1446533203125, 0.1053466796875, 0.09210205078125, 0.0994873046875, 0.11474609375, 0.1041259765625, 0.07025146484375, 0.1365966796875, 0.17395019531...
embed
35931496_c0
35931496
prolog
0
Title: Prolog multiple predicates in findall/setof Problem title: Prolog multiple predicates in findall/setof Tags: prolog, prolog-setof Problem: Prolog multiple predicates in findall/setof I'm trying to find ancestors of the Greek mythological Muses using the following facts and rules (simplified): /* parent(A, B) - A...
Prolog multiple predicates in findall/setof Prolog multiple predicates in findall/setof prolog prolog-setof Prolog Muse Zeus Mnemosyne Get Muses ERROR Syntax Operator MuseAncestors Prolog multiple predicates in findall/setof I'm trying to find ancestors of the Greek mythological Muses using the following facts and rule...
[ -0.00118255615234375, -0.01129150390625, 0.0128173828125, 0.01483154296875, -0.01513671875, 0.0179443359375, -0.00811767578125, 0.005279541015625, 0.000255584716796875, -0.0517578125, 0.0238037109375, 0.002685546875, 0.01092529296875, -0.01422119140625, 0.0030517578125, 0.0157470703125...
[ 1250, 4867, 48716, 1653, 2063, 1636, 23, 7413, 5584, 64, 3509, 4390, 502, 78736, 3786, 223, 86, 840, 53, 20779, 7, 151206, 24638, 19010, 86531, 150922, 7251, 5170, 22230, 31577, 47, 60502, 111, 160600, 759, 927, 109622, 15824, 91736, 1161...
[ 0.15478515625, 0.252685546875, 0.206787109375, 0.196533203125, 0.247802734375, 0.043182373046875, 0.00421142578125, 0.1553955078125, 0.1815185546875, 0.013824462890625, 0.1097412109375, 0.21630859375, 0.11083984375, 0.22607421875, 0.1180419921875, 0.1287841796875, 0.06048583984375, ...
embed
69698132_c0
69698132
prolog
0
Title: Most general query only finding one solution for each number of leaves of tree N in Exercize 3.5 from Learn Prolog Now Problem title: Most general query only finding one solution for each number of leaves of tree N in Exercize 3.5 from Learn Prolog Now Tags: prolog Problem: Most general query only finding one so...
Most general query only finding one solution for each number of leaves of tree N in Exercize 3.5 from Learn Prolog Now Most general query only finding one solution for each number of leaves of tree N in Exercize 3.5 from Learn Prolog Now prolog Learn the Most Exercize Prolog Now Exercise Binary Label Given SwapB1 SwapB...
[ 0.011474609375, 0.01708984375, 0.000316619873046875, -0.0108642578125, 0.000843048095703125, 0.001556396484375, -0.029052734375, -0.0242919921875, 0.0025482177734375, -0.0185546875, -0.00604248046875, -0.004638671875, -0.01177978515625, 0.003936767578125, 0.01806640625, 0.02783203125, ...
[ 17006, 4537, 41, 1294, 4734, 90791, 1632, 29806, 12638, 14012, 31358, 7, 53201, 541, 155534, 731, 38704, 134031, 1250, 4867, 14240, 502, 54092, 129214, 43062, 254, 571, 418, 304, 56785, 76811, 208124, 71924, 25632, 202317, 618, 959, 179635, ...
[ 0.152099609375, 0.1529541015625, 0.1502685546875, 0.0906982421875, 0.086181640625, 0.0792236328125, 0.1270751953125, 0.1983642578125, 0.041961669921875, 0.06561279296875, 0.1829833984375, 0.0258331298828125, 0.1781005859375, 0.12451171875, 0.139892578125, 0.1041259765625, 0.216308593...
embed
34028651_c0
34028651
prolog
0
Title: Prolog: deduction given that items can be in exactly one of two sets, with set sizes known Problem title: Prolog: deduction given that items can be in exactly one of two sets, with set sizes known Tags: clpb, logic, prolog Problem: Prolog: deduction given that items can be in exactly one of two sets, with set si...
Prolog: deduction given that items can be in exactly one of two sets, with set sizes known Prolog: deduction given that items can be in exactly one of two sets, with set sizes known clpb logic prolog Prolog Prolog: deduction given that items can be in exactly one of two sets, with set sizes known I have 5 people in a r...
[ 0.01708984375, 0.016357421875, 0.021240234375, 0.00531005859375, -0.005035400390625, 0.01300048828125, -0.01904296875, 0.01422119140625, 0.012939453125, -0.00927734375, 0.00396728515625, -0.0164794921875, 0.0069580078125, 0.002532958984375, 0.0250244140625, 0.01263427734375, 0.028808...
[ 1250, 4867, 8, 77391, 34475, 55769, 831, 186, 23, 66161, 1632, 111, 6626, 5423, 13267, 51529, 254, 275, 62775, 502, 765, 190, 3395, 17155, 32562, 91736, 83324, 621, 17723, 707, 17110, 645, 538, 51359, 138, 116, 15044, 7722, 35509, 3714, ...
[ 0.1544189453125, 0.2322998046875, 0.1954345703125, 0.234375, 0.08941650390625, 0.2174072265625, 0.1217041015625, 0.059722900390625, 0.087890625, 0.1417236328125, 0.055206298828125, 0.0638427734375, 0.1085205078125, 0.2098388671875, 0.1357421875, 0.1683349609375, 0.006195068359375, ...
embed
39462366_c0
39462366
prolog
0
Title: how can I determine that all given coordinates of matrix are connected? Problem title: how can I determine that all given coordinates of matrix are connected? Tags: clpfd, prolog Problem: how can I determine that all given coordinates of matrix are connected? Given a grid how can I determine if elements of a gri...
how can I determine that all given coordinates of matrix are connected? how can I determine that all given coordinates of matrix are connected? clpfd prolog Check Down Iterate how can I determine that all given coordinates of matrix are connected? Given a grid how can I determine if elements of a grid are all in a sing...
[ -0.0205078125, 0.0230712890625, 0.00131988525390625, 0.0091552734375, -0.01409912109375, -0.0042724609375, -0.002471923828125, 0.01385498046875, 0.023681640625, 0.0028839111328125, 0.002960205078125, 0.0030670166015625, 0, -0.00072479248046875, -0.00830078125, 0.0185546875, 0.0127563...
[ 83324, 450, 756, 34475, 176866, 90, 50944, 425, 621, 162711, 39557, 71, 502, 4867, 38679, 49472, 8560, 3642, 831, 87, 111, 120067, 2174, 80854, 23, 11001, 10776, 29568, 12638, 12830, 208244, 27781, 89536, 98320, 76172, 617, 2837, 513, 4288,...
[ 0.1865234375, 0.053192138671875, 0.145263671875, 0.1324462890625, 0.2161865234375, 0.0823974609375, 0.2005615234375, 0.099365234375, 0.06982421875, 0.2327880859375, 0.017303466796875, 0.05462646484375, 0.0723876953125, 0.1883544921875, 0.125732421875, 0.15966796875, 0.13037109375, ...
embed
41438966_c0
41438966
prolog
0
Title: Does prolog have a spread/splat/*args operator? Problem title: Does prolog have a spread/splat/*args operator? Tags: prolog, splat, variadic-functions Problem: Does prolog have a spread/splat/*args operator? In many procedural languages (such as python) , I can "unpack" a list and use it as arguments for a funct...
Does prolog have a spread/splat/*args operator? Does prolog have a spread/splat/*args operator? prolog splat variadic-functions Does print_sum assert_true Predicate with_args Input Where Should Does prolog have a spread/splat/*args operator? In many procedural languages (such as python) , I can "unpack" a list and use ...
[ 0.0118408203125, 0.033203125, 0.00640869140625, -0.007659912109375, -0.0294189453125, 0.01495361328125, -0.00396728515625, 0.0020294189453125, 0.000514984130859375, -0.019775390625, 0.00567626953125, 0.00750732421875, -0.00775146484375, 0.0098876953125, 0.0087890625, 0.0086669921875, ...
[ 502, 4867, 10, 93403, 9189, 1639, 61477, 7, 39933, 765, 16757, 18403, 137175, 28412, 11832, 33657, 9774, 7145, 2063, 678, 360, 64, 5941, 59158, 46876, 17198, 50828, 831, 309, 29102, 5303, 4527, 10750, 32354, 18151, 581, 10554, 83, 382, 20...
[ 0.16357421875, 0.240234375, 0.046661376953125, 0.251708984375, 0.2548828125, 0.079345703125, 0.190673828125, 0.09130859375, 0.245361328125, 0.0677490234375, 0.16015625, 0.001129150390625, 0.113525390625, 0.1572265625, 0.16552734375, 0.09326171875, 0.0882568359375, 0.1197509765625, ...
embed
25049697_c0
25049697
prolog
0
Title: issues regarding prolog backtracking to find other solution Problem title: issues regarding prolog backtracking to find other solution Tags: backtracking, prolog, recursion Problem: issues regarding prolog backtracking to find other solution I am beginner of Prolog. what I have is a function traverse a list and ...
issues regarding prolog backtracking to find other solution issues regarding prolog backtracking to find other solution backtracking prolog recursion check_version Pac Ver Cmp cmp_version check_all VerS CmpS Exit Fail Redo Call issues regarding prolog backtracking to find other solution I am beginner of Prolog. what I ...
[ 0.005340576171875, -0.00028228759765625, 0.0260009765625, 0.01385498046875, -0.01300048828125, -0.005950927734375, -0.01611328125, 0.007293701171875, 0.0118408203125, -0.01495361328125, 0.01483154296875, -0.00140380859375, 0.0089111328125, -0.0029754638671875, 0.01165771484375, 0.00692...
[ 37348, 502, 4867, 4420, 125728, 214, 47, 7413, 3789, 29806, 118861, 195625, 12765, 46354, 49085, 1446, 2676, 1827, 5584, 5443, 190355, 6096, 31, 26265, 1679, 1250, 765, 32354, 37317, 5303, 30646, 29568, 3229, 40407, 35431, 98169, 11389, 435, ...
[ 0.10211181640625, 0.168212890625, 0.229248046875, 0.1812744140625, 0.258544921875, 0.0777587890625, 0.0233154296875, 0.1414794921875, 0.1192626953125, 0.1719970703125, 0.016143798828125, 0.1336669921875, 0.179931640625, 0.1669921875, 0.0689697265625, 0.109619140625, 0.0943603515625, ...
embed
79130371_c0
79130371
prolog
0
Title: Turbo Prolog: Create a palindrome by adding the smallest number of characters to the list Problem title: Turbo Prolog: Create a palindrome by adding the smallest number of characters to the list Tags: turbo-prolog, prolog Problem: Turbo Prolog: Create a palindrome by adding the smallest number of characters to t...
Turbo Prolog: Create a palindrome by adding the smallest number of characters to the list Turbo Prolog: Create a palindrome by adding the smallest number of characters to the list turbo-prolog prolog Turbo Prolog Create extend_to_palindrome Head Tail Reversed ReversedTail List List2 Result Suffix TrimmedReversedSuffix ...
[ -0.000408172607421875, 0.0159912109375, 0.0233154296875, 0.004425048828125, -0.0181884765625, 0.0220947265625, 0.01446533203125, 0.0027008056640625, 0.0029449462890625, -0.0240478515625, 0.0269775390625, -0.0146484375, -0.0213623046875, 0.00592041015625, -0.000957489013671875, -0.00169...
[ 102228, 1250, 4867, 12, 151313, 17923, 19, 102851, 154107, 19336, 525, 14012, 124850, 5303, 10, 94779, 3454, 502, 65042, 188, 5007, 73, 44816, 1218, 7864, 9874, 379, 32036, 126684, 142830, 55923, 4699, 4806, 21493, 4084, 60816, 12530, 18151, ...
[ 0.267578125, 0.1456298828125, 0.225341796875, 0.007110595703125, 0.14599609375, 0.1558837890625, 0.084228515625, 0.232666015625, 0.1226806640625, 0.1116943359375, 0.096923828125, 0.0787353515625, 0.1700439453125, 0.186767578125, 0.0139617919921875, 0.2119140625, 0.07977294921875, 0...
embed
16597773_c0
16597773
prolog
0
Title: prolog: Trying to model equation with 3 rules - how to get prolog to match the right one? Problem title: prolog: Trying to model equation with 3 rules - how to get prolog to match the right one? Tags: prolog Problem: prolog: Trying to model equation with 3 rules - how to get prolog to match the right one? I'm tr...
prolog: Trying to model equation with 3 rules - how to get prolog to match the right one? prolog: Trying to model equation with 3 rules - how to get prolog to match the right one? prolog Trying RESULT NUMERATOR DENOMINATOR instantiation_error GNU Prolog Daniel Diaz Copyright prolog: Trying to model equation with 3 rule...
[ 0.000705718994140625, 0.01031494140625, -0.00384521484375, -0.0026702880859375, -0.000667572021484375, -0.00125885009765625, -0.01422119140625, -0.01324462890625, 0.005950927734375, -0.01129150390625, -0.0169677734375, -0.0228271484375, -0.0203857421875, -0.0255126953125, 0.0186767578125...
[ 502, 4867, 40858, 3299, 5490, 678, 138, 91736, 3642, 2046, 14858, 7108, 1632, 28, 218849, 109020, 24947, 27010, 1514, 102298, 13933, 34648, 188800, 165132, 1250, 11555, 4512, 169, 4189, 214, 47, 31577, 8781, 77336, 10160, 39, 25, 27165, 458...
[ 0.1697998046875, 0.250244140625, 0.09967041015625, 0.20703125, 0.18212890625, 0.073974609375, 0.1815185546875, 0.19775390625, 0.0364990234375, 0.054779052734375, 0.179931640625, 0.1258544921875, 0.03802490234375, 0.016845703125, 0.2344970703125, 0.10107421875, 0.1395263671875, 0.09...
embed
29113339_c0
29113339
prolog
0
Title: Prolog rule binding Problem title: Prolog rule binding Tags: prolog Problem: Prolog rule binding Hi i'm new to Prolog and I think i'm having trouble with the binding of variables. The question that im working off is this . and this is what I have come up with so far: :- dynamic lecture/1. %teacherNames(['Paul'],...
Prolog rule binding Prolog rule binding prolog Prolog Paul Bsc4 Bsc1 Games Design Games_dev Hsoftware B1041 B2008 A0006 Bill Bloggs s00000123 Andera Martin s00000100 TeachersName TeachersGroup TeachSubject Group Subject GroupName Choose Stream Period Room Should Prolog rule binding Hi i'm new to Prolog and I think i'm ...
[ 0.01226806640625, 0.018798828125, -0.006011962890625, -0.0010528564453125, -0.012451171875, 0.02685546875, -0.020751953125, 0.0159912109375, 0.009033203125, -0.0185546875, -0.0019683837890625, -0.0072021484375, 0.00860595703125, -0.0026092529296875, 0.0220947265625, 0.017333984375, 0...
[ 1250, 4867, 79986, 128239, 502, 10208, 10382, 617, 418, 34242, 11724, 18548, 572, 155247, 963, 8894, 16396, 9508, 19893, 70858, 181155, 48636, 89024, 11, 6470, 3559, 165136, 163612, 205072, 172030, 75161, 10760, 94341, 211525, 115061, 92329, 38...
[ 0.1669921875, 0.2685546875, 0.216064453125, 0.2454833984375, 0.113525390625, 0.1851806640625, 0.07110595703125, 0.1611328125, 0.029815673828125, 0.076171875, 0.096435546875, 0.1993408203125, 0.07012939453125, 0.2158203125, 0.00982666015625, 0.1146240234375, 0.111083984375, 0.008209...
embed
76846474_c0
76846474
prolog
0
Title: Why does my Prolog predicate succeed twice with the same binding? Problem title: Why does my Prolog predicate succeed twice with the same binding? Tags: prolog Problem: Why does my Prolog predicate succeed twice with the same binding? Sorry if this is a dumb question, but I'm still at the early stages of learnin...
Why does my Prolog predicate succeed twice with the same binding? Why does my Prolog predicate succeed twice with the same binding? prolog Why Prolog Res Why does my Prolog predicate succeed twice with the same binding? Sorry if this is a dumb question, but I'm still at the early stages of learning Prolog (SWI-Prolog i...
[ 0.0020294189453125, 0.0189208984375, 0.011962890625, -0.01251220703125, 0.006805419921875, 0.0322265625, -0.004302978515625, -0.003997802734375, 0.0252685546875, -0.01483154296875, 0.0031585693359375, 0.00099945068359375, 0.00164031982421875, 0.007476806640625, 0.0034027099609375, -0.0...
[ 44084, 1250, 4867, 1653, 2063, 67, 214493, 186351, 5701, 128239, 678, 502, 9624, 14602, 52080, 38969, 10752, 110833, 33022, 642, 8216, 18113, 50960, 171859, 6562, 4323, 6626, 25842, 91177, 5303, 51713, 27781, 4173, 80854, 124962, 81887, 43240, ...
[ 0.1220703125, 0.1632080078125, 0.2239990234375, 0.1446533203125, 0.1875, 0.06787109375, 0.2000732421875, 0.2274169921875, 0.1434326171875, 0.2158203125, 0.02734375, 0.088623046875, 0.13916015625, 0.0270233154296875, 0.011138916015625, 0.093017578125, 0.094970703125, 0.0137329101562...
embed
16104540_c0
16104540
prolog
0
Title: Performance optimizations of information retrieval in Prolog Problem title: Performance optimizations of information retrieval in Prolog Tags: prolog, inverted-index, information-retrieval, data-structures, algorithm Problem: Performance optimizations of information retrieval in Prolog I wanted to do some inform...
Performance optimizations of information retrieval in Prolog Performance optimizations of information retrieval in Prolog prolog inverted-index information-retrieval data-structures algorithm Performance Prolog SCORE1 SCORE2 WRONG Russell DOING SOMETHING SCORE9 Performance optimizations of information retrieval in Prol...
[ 0.0107421875, 0.01239013671875, 0.006011962890625, -0.0025482177734375, -0.0181884765625, -0.0162353515625, -0.0074462890625, -0.0167236328125, -0.00102996826171875, -0.0693359375, 0.015380859375, 0.029052734375, -0.02294921875, -0.01043701171875, 0.01611328125, 0.01507568359375, 0.0...
[ 94030, 87235, 4677, 456, 97351, 1405, 1250, 4867, 502, 131983, 297, 4711, 107, 2053, 137656, 234873, 17715, 54003, 418, 304, 115055, 32462, 158874, 6197, 1126, 36663, 66211, 117781, 3790, 10484, 33636, 42548, 117538, 149357, 4343, 18151, 7986, ...
[ 0.1549072265625, 0.1903076171875, 0.1387939453125, 0.060394287109375, 0.1427001953125, 0.02789306640625, 0.185546875, 0.256103515625, 0.1060791015625, 0.222412109375, 0.06927490234375, 0.150634765625, 0.057159423828125, 0.0428466796875, 0.126953125, 0.1922607421875, 0.054412841796875...
embed
59927069_c0
59927069
prolog
0
Title: How to write switch-statement-like code in Prolog Problem title: How to write switch-statement-like code in Prolog Tags: prolog Problem: How to write switch-statement-like code in Prolog I'm currently trying to write a program in Prolog which prints out a table like x x x x x x x x x x x x 5 6 7 8 x x x x x x x ...
How to write switch-statement-like code in Prolog How to write switch-statement-like code in Prolog prolog How Prolog print_shelf ShelfID Other Hoka NonID print_map How to write switch-statement-like code in Prolog I'm currently trying to write a program in Prolog which prints out a table like You can imagine like ther...
[ -0.01806640625, -0.0140380859375, 0.004364013671875, -0.004638671875, 0.00140380859375, -0.01177978515625, 0.006683349609375, 0.0145263671875, 0.004180908203125, 0.042724609375, 0.0084228515625, 0.013916015625, -0.026611328125, -0.0167236328125, 0.0322265625, 0.015380859375, 0.006866...
[ 11249, 33022, 101089, 61340, 674, 5062, 18151, 1250, 4867, 502, 28412, 7816, 17463, 4687, 7146, 2291, 161, 3775, 62346, 23, 1528, 1810, 23180, 28987, 2412, 3723, 128584, 1022, 91, 201505, 4127, 95486, 14012, 106, 33636, 305, 32354, 8560, 10...
[ 0.043182373046875, 0.1785888671875, 0.2451171875, 0.1966552734375, 0.07525634765625, 0.16455078125, 0.1859130859375, 0.142333984375, 0.2496337890625, 0.0902099609375, 0.161376953125, 0.0518798828125, 0.1649169921875, 0.069091796875, 0.1875, 0.0771484375, 0.1163330078125, 0.05661010...
embed
24003082_c0
24003082
prolog
0
Title: 8 queens puzzle Netbeans(java) graphical interface + SWI prolog Problem title: 8 queens puzzle Netbeans(java) graphical interface + SWI prolog Tags: netbeans, prolog, n-queens, java, b-prolog Problem: 8 queens puzzle Netbeans(java) graphical interface + SWI prolog I'm found a solution, only on Bprolog, and ask f...
8 queens puzzle Netbeans(java) graphical interface + SWI prolog 8 queens puzzle Netbeans(java) graphical interface + SWI prolog netbeans prolog n-queens java b-prolog InterruptedException java.awt java.awt.event java.applet bprolog.plc.Plc Netbeans SWI Nobukuni Kino Queens Applet Runnable Run Frame f.addWindowListener ...
[ 0.01324462890625, -0.0069580078125, 0.021484375, 0.009033203125, -0.01373291015625, 0.0194091796875, 0.01025390625, 0.0016326904296875, 0.001495361328125, -0.0322265625, 0.00726318359375, 0.0245361328125, -0.00738525390625, -0.0150146484375, -0.00341796875, -0.00014591217041015625, 0...
[ 382, 41, 1755, 104192, 10086, 372, 10133, 24071, 48461, 101758, 997, 159, 38969, 502, 4867, 2043, 653, 944, 79, 330, 876, 3454, 5337, 9167, 63928, 15519, 18, 90141, 9007, 1974, 32838, 438, 107798, 93, 49309, 44109, 7, 4129, 28398, 42557, ...
[ 0.208740234375, 0.182861328125, 0.153564453125, 0.2010498046875, 0.0849609375, 0.1966552734375, 0.111572265625, 0.180908203125, 0.098388671875, 0.140625, 0.03375244140625, 0.058319091796875, 0.18994140625, 0.08721923828125, 0.180419921875, 0.0308685302734375, 0.0172882080078125, 0....
embed
16457233_c0
16457233
prolog
0
Title: Some doubts about how work this particular query of a delete from a list predicate Problem title: Some doubts about how work this particular query of a delete from a list predicate Tags: prolog Problem: Some doubts about how work this particular query of a delete from a list predicate I have a doubt about how wo...
Some doubts about how work this particular query of a delete from a list predicate Some doubts about how work this particular query of a delete from a list predicate prolog a List Some BASE CASE HEAD NewList Tail GENERAL Tail1 Top1 Stack1 Stacks1 Call _G389 _G390 _G412 Exit Stacks Some doubts about how work this partic...
[ 0, 0.00439453125, 0.00653076171875, -0.002838134765625, -0.0135498046875, 0.00921630859375, 0.01263427734375, -0.0021209716796875, 0.01336669921875, -0.0252685546875, 0.0240478515625, 0.0016632080078125, 0.00823974609375, -0.01123046875, 0.0120849609375, 0.00927734375, 0.01025390625,...
[ 31384, 92814, 7, 3642, 4488, 903, 17311, 41, 1294, 154109, 1295, 5303, 1653, 2063, 67, 111, 10, 502, 4867, 32036, 335, 76783, 572, 188328, 2356, 154663, 1218, 379, 210557, 418, 4792, 6512, 2594, 22824, 26265, 119861, 150197, 617, 1530, 54...
[ 0.0037841796875, 0.14892578125, 0.0206146240234375, 0.041839599609375, 0.1668701171875, 0.056976318359375, 0.0904541015625, 0.1715087890625, 0.1273193359375, 0.295654296875, 0.1815185546875, 0.189453125, 0.1898193359375, 0.232421875, 0.1214599609375, 0.026458740234375, 0.015289306640...
embed
59821549_c0
59821549
prolog
0
Title: Space-efficient writing of functional notation Problem title: Space-efficient writing of functional notation Tags: prolog, list, iso-prolog Problem: Space-efficient writing of functional notation Writing functional notation is often quite costly in terms of auxiliary space consumption. This is particularly criti...
Space-efficient writing of functional notation Space-efficient writing of functional notation prolog list iso-prolog Space-efficient ignore_ops nat_sx N0-1 Res write_canonical Space-efficient writing of functional notation Writing functional notation is often quite costly in terms of auxiliary space consumption. This i...
[ 0.0020904541015625, 0.004486083984375, 0.007476806640625, -0.01177978515625, -0.00897216796875, -0.013916015625, -0.006561279296875, 0.0006256103515625, 0.00518798828125, -0.00054168701171875, 0.0186767578125, 0.01446533203125, -0.0032501220703125, 0.0015869140625, 0.00848388671875, 0....
[ 43045, 13, 24500, 45964, 32562, 111, 123309, 110, 22062, 502, 4867, 5303, 13882, 3454, 124962, 68818, 24, 425, 541, 82343, 9624, 33022, 38938, 19, 21533, 213185, 27983, 32233, 11034, 69407, 119591, 32628, 18588, 254, 106480, 130306, 74413, 16...
[ 0.2073974609375, 0.0217132568359375, 0.1461181640625, 0.052581787109375, 0.222412109375, 0.00994873046875, 0.2449951171875, 0.2222900390625, 0.1424560546875, 0.11328125, 0.1832275390625, 0.2086181640625, 0.0853271484375, 0.06402587890625, 0.1925048828125, 0.19677734375, 0.06585693359...
embed
45360628_c0
45360628
prolog
0
Title: SWI-Prolog (SWISH): No permission to modify static procedure `(=)/2' Problem title: SWI-Prolog (SWISH): No permission to modify static procedure `(=)/2' Tags: prolog, swi-prolog-for-sharing Problem: SWI-Prolog (SWISH): No permission to modify static procedure `(=)/2' During some playing around with dif...
SWI-Prolog (SWISH): No permission to modify static procedure `(=)/2' SWI-Prolog (SWISH): No permission to modify static procedure `(=)/2' prolog swi-prolog-for-sharing SWI-Prolog SWISH List1 _1186 _1062 _1070 _1068 _1076 _1074 _1082 _1080 _1088 SWI-Prolog (SWISH): No permission to modify static procedure `(=)...
[ -0.0016937255859375, 0.03564453125, 0.0257568359375, -0.0087890625, -0.0206298828125, -0.0003528594970703125, 0.00311279296875, 0.01300048828125, -0.004302978515625, -0.038818359375, 0.0087890625, 0.00885009765625, -0.0135498046875, 0.002593994140625, 0.0255126953125, -0.00180053710937...
[ 159, 38969, 9, 10752, 4867, 89023, 79909, 438, 168081, 2811, 40383, 201939, 50491, 1369, 12477, 3768, 502, 91, 2452, 3454, 2420, 2852, 61595, 32036, 418, 1662, 15276, 168630, 963, 12772, 75169, 12921, 5303, 1653, 2063, 31577, 12765, 2174, 3...
[ 0.04437255859375, 0.235107421875, 0.0164794921875, 0.158935546875, 0.2034912109375, 0.1475830078125, 0.2071533203125, 0.1026611328125, 0.1981201171875, 0.14599609375, 0.08447265625, 0.180908203125, 0.162353515625, 0.1556396484375, 0.2210693359375, 0.09912109375, 0.139404296875, 0.0...
embed
21970747_c0
21970747
prolog
0
Title: Prolog Looping Redo's Problem title: Prolog Looping Redo's Tags: prolog, grammar Problem: Prolog Looping Redo's I am trying to write a small program in Prolog(gnu) that will take user input and give true or false to the question "Is this a valid sentence in this grammar?" I have had a lot of trouble fi...
Prolog Looping Redo's Prolog Looping Redo's prolog grammar Prolog Looping Redo Grammar Determine Sentence Length First Second Tail Test Tail2 Last Middle Input User e.g Enter SentenceList read_sentence read_token write_term_to_chars InputList Start Prolog Looping Redo's I am trying to write a small program in...
[ 0.0028533935546875, -0.012939453125, 0.011474609375, 0.0184326171875, -0.0004138946533203125, 0.01373291015625, -0.0096435546875, 0.0169677734375, 0.0211181640625, -0.0086669921875, 0.0281982421875, -0.0103759765625, -0.001190185546875, -0.0169677734375, 0.0179443359375, 0.009582519531...
[ 1250, 4867, 199694, 214, 6096, 31, 3768, 502, 122092, 147, 48078, 1727, 30524, 63999, 6620, 77554, 23972, 77648, 1218, 379, 8647, 304, 21672, 102256, 360, 7077, 53400, 60816, 154663, 12301, 12832, 6448, 33022, 32166, 188, 9254, 13794, 31577, ...
[ 0.1561279296875, 0.240966796875, 0.1820068359375, 0.1192626953125, 0.1705322265625, 0.1878662109375, 0.03289794921875, 0.1162109375, 0.1414794921875, 0.12841796875, 0.1097412109375, 0.0947265625, 0.132568359375, 0.1103515625, 0.058349609375, 0.094970703125, 0.0302581787109375, 0.08...
embed
11351653_c0
11351653
prolog
0
Title: Prolog and php encoding Problem title: Prolog and php encoding Tags: encoding, php, prolog, swi-prolog, string Problem: Prolog and php encoding I'm creating a interface between swi-prolog and php. The php writes commands it wants prolog to run on a file and then does a system call so prolog runs the file. The pr...
Prolog and php encoding Prolog and php encoding encoding php prolog swi-prolog string Prolog run.pl EOT pessoasOps.pl print_r LOCAL NOME POSICAO RESUMO UNIDADE CURSO DISCIPLINA ALUNOS REFERENCIA PHP Prolog and php encoding I'm creating a interface between swi-prolog and php. The php writes commands it wants prolog to r...
[ 0.03173828125, -0.0029449462890625, 0.000675201416015625, 0.0062255859375, -0.0167236328125, 0.0030059814453125, -0.01019287109375, 0.0084228515625, 0.00127410888671875, -0.02490234375, 0.01177978515625, 0.02587890625, -0.007080078125, 0.00799560546875, 0.0037689208984375, -0.010314941...
[ 1250, 4867, 136, 3958, 22, 587, 6238, 502, 91, 2452, 3454, 79315, 11675, 2424, 241, 23973, 9194, 39029, 7, 28412, 42, 230588, 541, 54602, 61661, 11893, 8274, 107042, 239115, 134165, 21130, 89994, 69145, 66804, 47302, 105233, 101758, 17721, ...
[ 0.219482421875, 0.2978515625, 0.1326904296875, 0.24169921875, 0.081787109375, 0.1907958984375, 0.07574462890625, 0.18994140625, 0.04779052734375, 0.2127685546875, 0.16259765625, 0.1827392578125, 0.1890869140625, 0.146484375, 0.07244873046875, 0.212646484375, 0.143310546875, 0.19189...
embed
42521632_c0
42521632
prolog
0
Title: Why the inconsistent responses from swipl? Problem title: Why the inconsistent responses from swipl? Tags: prolog-toplevel, prolog, swi-prolog Problem: Why the inconsistent responses from swipl? I'd like to understand why the interaction with swipl appears to be inconsistent. Here's a typical example. Suppose I ...
Why the inconsistent responses from swipl? Why the inconsistent responses from swipl? prolog-toplevel prolog swi-prolog swipl Why acc_max Max Why the inconsistent responses from swipl? I'd like to understand why the interaction with swipl appears to be inconsistent. Here's a typical example. Suppose I have consulted a ...
[ 0.01171875, 0.01519775390625, 0.0206298828125, 0.0247802734375, -0.0234375, 0.0191650390625, 0.000396728515625, 0.003875732421875, 0.00531005859375, -0.0072021484375, 0.031982421875, 0.00726318359375, 0.0020294189453125, 0.0019989013671875, 0.036865234375, -0.000347137451171875, 0.03...
[ 44084, 23, 25553, 6892, 18, 57553, 7, 1295, 91, 2452, 2424, 502, 4867, 13784, 67919, 3454, 50015, 454, 24084, 9920, 28219, 15400, 182809, 135179, 222201, 27781, 51359, 37382, 80934, 17336, 7639, 49119, 33342, 1884, 7103, 10644, 18389, 2389, ...
[ 0.103759765625, 0.09991455078125, 0.162109375, 0.199951171875, 0.079833984375, 0.17919921875, 0.056396484375, 0.057891845703125, 0.07476806640625, 0.2137451171875, 0.255615234375, 0.0888671875, 0.19384765625, 0.015289306640625, 0.10235595703125, 0.0869140625, 0.11376953125, 0.00924...
embed
20511060_c0
20511060
prolog
0
Title: Parsing an expression in Prolog and returning an abstract syntax Problem title: Parsing an expression in Prolog and returning an abstract syntax Tags: dcg, prolog, parsing, failure-slice Problem: Parsing an expression in Prolog and returning an abstract syntax I have to write parse(Tkns, T) that takes in a mathe...
Parsing an expression in Prolog and returning an abstract syntax Parsing an expression in Prolog and returning an abstract syntax dcg prolog parsing failure-slice Parsing Prolog Tkns Parsing an expression in Prolog and returning an abstract syntax I have to write parse(Tkns, T) that takes in a mathematical expression i...
[ 0.01019287109375, 0.01202392578125, 0.00592041015625, 0.017822265625, -0.008056640625, 0.00653076171875, -0.018798828125, -0.01068115234375, 0.0218505859375, -0.037353515625, 0.00518798828125, 0.0052490234375, -0.02880859375, -0.008544921875, 0.007232666015625, 0.01806640625, 0.00482...
[ 2392, 6953, 125195, 1250, 4867, 30646, 164789, 6002, 86531, 177, 502, 366, 137578, 13348, 92, 1779, 33022, 184, 384, 140363, 3173, 5303, 47, 84694, 7413, 63805, 33636, 15072, 12989, 41018, 166027, 3760, 81887, 29479, 997, 136, 661, 28960, 2...
[ 0.1624755859375, 0.008453369140625, 0.2044677734375, 0.1446533203125, 0.2392578125, 0.16796875, 0.1717529296875, 0.051727294921875, 0.1190185546875, 0.04583740234375, 0.0986328125, 0.1435546875, 0.162841796875, 0.08074951171875, 0.049530029296875, 0.1517333984375, 0.04083251953125, ...
embed
16173977_c0
16173977
prolog
0
Title: Prolog, error when querying a false statement Problem title: Prolog, error when querying a false statement Tags: dcg, prolog Problem: Prolog, error when querying a false statement input :- read_line_to_codes(user_input, Input), string_to_atom(Input,Atoms), atomic_list_concat(Alist, ' ', Atoms), phrase(sentence(S...
Prolog, error when querying a false statement Prolog, error when querying a false statement dcg prolog Prolog read_line_to_codes user_input Input string_to_atom Atoms atomic_list_concat Alist Rule Noun Object statement1 Fact ERROR Undefined Exception Prolog, error when querying a false statement The assignment is to cr...
[ 0.00225830078125, 0.0145263671875, -0.0034637451171875, 0.0123291015625, -0.01043701171875, 0.020263671875, 0.01226806640625, 0.0081787109375, -0.0035400390625, -0.04345703125, -0.01129150390625, 0.004058837890625, -0.0213623046875, -0.005126953125, 0.01409912109375, 0.0007781982421875...
[ 1250, 4867, 18499, 41, 1294, 98320, 63805, 3229, 214, 104, 238, 177, 502, 12301, 2256, 188, 40899, 38937, 73, 7077, 79315, 5928, 69728, 34627, 6562, 4460, 139118, 309, 134549, 132640, 151206, 24638, 79912, 5983, 5443, 63928, 10, 95486, 2828...
[ 0.1844482421875, 0.2529296875, 0.203125, 0.1368408203125, 0.1259765625, 0.240478515625, 0.256103515625, 0.0287628173828125, 0.0269622802734375, 0.0259246826171875, 0.0288848876953125, 0.0892333984375, 0.136962890625, 0.08990478515625, 0.06817626953125, 0.124267578125, 0.1494140625, ...
embed
20021844_c0
20021844
prolog
0
Title: Prolog: Replace an atom by other atom in compound terms Problem title: Prolog: Replace an atom by other atom in compound terms Tags: functor, traversal, prolog Problem: Prolog: Replace an atom by other atom in compound terms I am trying to write a simple prolog program which should replace an atom by another ato...
Prolog: Replace an atom by other atom in compound terms Prolog: Replace an atom by other atom in compound terms functor traversal prolog Prolog Replace Args1 Args2 Undefined Prolog: Replace an atom by other atom in compound terms I am trying to write a simple prolog program which should replace an atom by another atom....
[ -0.00112152099609375, 0.0162353515625, 0.0064697265625, 0.0159912109375, 0.000518798828125, -0.0014190673828125, -0.00811767578125, -0.007171630859375, 0.000518798828125, -0.0133056640625, 0.0030975341796875, 0.0118408203125, -0.00848388671875, -0.018310546875, 0.0201416015625, -0.0132...
[ 1250, 4867, 12, 853, 23935, 34627, 390, 3789, 217773, 69407, 7477, 18770, 37317, 289, 502, 1172, 9405, 418, 304, 79912, 5983, 23, 31577, 33022, 8781, 1528, 5608, 91995, 15700, 5646, 27140, 107730, 756, 35064, 13579, 3444, 10, 425, 4734, 7...
[ 0.1793212890625, 0.248779296875, 0.013031005859375, 0.0792236328125, 0.1798095703125, 0.2294921875, 0.08734130859375, 0.1148681640625, 0.2093505859375, 0.170166015625, 0.1597900390625, 0.133056640625, 0.13525390625, 0.0140838623046875, 0.1416015625, 0.1324462890625, 0.08538818359375,...
embed
67597792_c0
67597792
prolog
0
Title: Merge two predicates in one - Prolog Problem title: Merge two predicates in one - Prolog Tags: prolog Problem: Merge two predicates in one - Prolog I am a beginner at prolog and required to write a predicate path(Start, Dest, Path) for metro stations application using backtracking. Given some facts: connected(x,...
Merge two predicates in one - Prolog Merge two predicates in one - Prolog prolog b f Merge Prolog Start Dest Path Some Direction e.g path1 End path2 Merge two predicates in one - Prolog I am a beginner at prolog and required to write a predicate path(Start, Dest, Path) for metro stations application using backtracking....
[ 0.0036163330078125, 0.00640869140625, 0.01806640625, 0.0157470703125, -0.003936767578125, 0.0267333984375, -0.01153564453125, -0.005615234375, 0.0147705078125, -0.058837890625, 0.01171875, 0.035400390625, -0.019775390625, 0.004638671875, 0.006103515625, 0.009033203125, -0.00069808959...
[ 6035, 429, 6626, 1653, 2063, 1636, 23, 1632, 1250, 4867, 502, 876, 1238, 13794, 262, 271, 108421, 31384, 176774, 60875, 418, 18878, 304, 9842, 1679, 56065, 33022, 126597, 23205, 29398, 38415, 4420, 125728, 214, 15824, 162711, 425, 53, 28852...
[ 0.212646484375, 0.10009765625, 0.1954345703125, 0.218017578125, 0.239990234375, 0.140625, 0.1124267578125, 0.1558837890625, 0.1849365234375, 0.2235107421875, 0.1358642578125, 0.042816162109375, 0.099365234375, 0.1619873046875, 0.2034912109375, 0.177734375, 0.1912841796875, 0.023712...
embed
17948840_c0
17948840
prolog
0
Title: Binary Tree In Prolog Problem title: Binary Tree In Prolog Tags: logic, prolog Problem: Binary Tree In Prolog A binary tree can be defined in terms of 2 predicates: emptyBT , the empty binary tree. BTTree(N,T1,T2) that is true if N is the root of a binary tree with left subtree T1 and right subtree T2 , where al...
Binary Tree In Prolog Binary Tree In Prolog logic prolog Binary Tree Prolog BTTree Left Right Btree Binary Tree In Prolog A binary tree can be defined in terms of 2 predicates: emptyBT , the empty binary tree. BTTree(N,T1,T2) that is true if N is the root of a binary tree with left subtree T1 and right subtree T2 , whe...
[ 0.0244140625, -0.000518798828125, 0.0186767578125, -0.01123046875, 0.010009765625, 0.0228271484375, -0.025634765625, -0.0230712890625, -0.00101470947265625, -0.0263671875, 0.000370025634765625, -0.0125732421875, -0.0184326171875, -0.0240478515625, 0.02734375, 0.0164794921875, 0.02941...
[ 54092, 1294, 101344, 360, 1250, 4867, 62775, 502, 66145, 62731, 2480, 90911, 335, 62600, 2394, 6635, 53201, 831, 61924, 69407, 116, 1653, 2063, 201505, 52681, 13, 839, 618, 418, 10461, 29568, 2174, 541, 74855, 25737, 1614, 384, 7108, 304, ...
[ 0.222900390625, 0.120849609375, 0.279296875, 0.061309814453125, 0.1778564453125, 0.2208251953125, 0.1168212890625, 0.1202392578125, 0.139892578125, 0.270751953125, 0.06365966796875, 0.10406494140625, 0.006011962890625, 0.1773681640625, 0.217529296875, 0.155517578125, 0.2685546875, ...
embed
59520621_c0
59520621
prolog
0
Title: Program to find what predicates are missing for a goal to be provable Problem title: Program to find what predicates are missing for a goal to be provable Tags: prolog, metaprogramming Problem: Program to find what predicates are missing for a goal to be provable The program at the bottom is supposed to return c...
Program to find what predicates are missing for a goal to be provable Program to find what predicates are missing for a goal to be provable prolog metaprogramming clause/2 Program MISSING PREMISES missing0 www.swi-prolog.org _SWI_ clpr.pl use_module Reasoning There Look Here copy_term_nat Program to find what predicate...
[ -0.0033416748046875, 0.0191650390625, 0.0030670166015625, 0.0031585693359375, -0.01043701171875, 0.01416015625, 0.020263671875, -0.00982666015625, 0.01080322265625, -0.034912109375, 0.0130615234375, 0.0027618408203125, -0.0067138671875, -0.017822265625, 0.0296630859375, 0.019287109375,...
[ 7663, 47, 7413, 2367, 1653, 2063, 1636, 621, 132283, 69236, 186, 13395, 2661, 502, 4867, 23550, 28966, 70731, 12477, 53695, 111848, 152438, 65596, 2389, 2452, 3454, 294, 38969, 10287, 2424, 83279, 236267, 8622, 60818, 11853, 43658, 32166, 769...
[ 0.165283203125, 0.0174102783203125, 0.12353515625, 0.04766845703125, 0.2041015625, 0.23291015625, 0.1357421875, 0.04327392578125, 0.2191162109375, 0.2098388671875, 0.012054443359375, 0.2269287109375, 0.1575927734375, 0.1300048828125, 0.183349609375, 0.102783203125, 0.13671875, 0.19...
embed
53641183_c0
53641183
prolog
0
Title: Abduction of Prolog clauses Problem title: Abduction of Prolog clauses Tags: constraint-programming, graph-theory, prolog Problem: Abduction of Prolog clauses I have a specification of a directed, rooted graph with labeled nodes and edges. The specification describes what nodes can be connected to what other nod...
Abduction of Prolog clauses Abduction of Prolog clauses constraint-programming graph-theory prolog Abduction Prolog Root some_arbitrary_edge_type some_other_arbitrary_edge_type edge_type_b Abduction of Prolog clauses I have a specification of a directed, rooted graph with labeled nodes and edges. The specification desc...
[ 0.00103759765625, -0.0008087158203125, 0.01470947265625, 0.00946044921875, -0.02587890625, 0.0057373046875, -0.0244140625, 0.0076904296875, 0.00567626953125, -0.031494140625, -0.00189208984375, -0.0244140625, -0.01263427734375, -0.018310546875, 0.0177001953125, 0.0072021484375, 0.011...
[ 3157, 77391, 1250, 4867, 70731, 111, 2816, 4288, 28966, 41382, 502, 150948, 75555, 22246, 297, 429, 50986, 121303, 275, 29458, 8951, 74855, 67967, 110, 988, 162711, 3789, 45646, 183871, 95378, 87769, 62, 335, 10644, 391, 60875, 19713, 116, ...
[ 0.1444091796875, 0.1475830078125, 0.15771484375, 0.224609375, 0.122314453125, 0.0211181640625, 0.0970458984375, 0.01092529296875, 0.06396484375, 0.1968994140625, 0.07843017578125, 0.1939697265625, 0.06243896484375, 0.0298919677734375, 0.05084228515625, 0.003875732421875, 0.1251220703...
embed
70546872_c0
70546872
prolog
0
Title: How to tell prolog if the function returns false then skip it?(15 puzzle game) Problem title: How to tell prolog if the function returns false then skip it?(15 puzzle game) Tags: prolog Problem: How to tell prolog if the function returns false then skip it?(15 puzzle game) I have made a function which in it I ca...
How to tell prolog if the function returns false then skip it?(15 puzzle game) How to tell prolog if the function returns false then skip it?(15 puzzle game) prolog How next_move Board Moves Result Tile Tail Index Index1 same_length BeforeI AtI PastI AtJ BeforeJ PastJ Index-4 Down Right Left Index-1 How to tell prolog ...
[ -0.0107421875, 0.015380859375, 0.0296630859375, -0.005767822265625, -0.021240234375, -0.0034942626953125, -0.0147705078125, 0.006500244140625, 0.01251220703125, 0.014404296875, -0.00701904296875, 0.019775390625, -0.004241943359375, 0.006622314453125, 0.0101318359375, 0.0255126953125, ...
[ 14192, 502, 4867, 2174, 32354, 30646, 7, 98320, 7068, 21658, 442, 1837, 104192, 6712, 11737, 432, 272, 62554, 135828, 126684, 5064, 1218, 379, 31471, 117371, 568, 3805, 1375, 11565, 49472, 11782, 40368, 5201, 7279, 1250, 12765, 10588, 423, ...
[ 0.1314697265625, 0.124755859375, 0.2353515625, 0.05712890625, 0.2056884765625, 0.1705322265625, 0.0191802978515625, 0.241455078125, 0.042449951171875, 0.20166015625, 0.09747314453125, 0.175048828125, 0.136474609375, 0.07159423828125, 0.143310546875, 0.09326171875, 0.038116455078125, ...
embed
41988973_c0
41988973
prolog
0
Title: Include non-unique elements only Problem title: Include non-unique elements only Tags: prolog, list Problem: Include non-unique elements only This question was asked but there are no answers: here . I read the comments and tried to implement in both ways, but there are more problems that I don't understand. I fi...
Include non-unique elements only Include non-unique elements only prolog list Include list_repeated sorted_repeated list_duplicates ld_acc Acc Ds0 Acc1 Include non-unique elements only This question was asked but there are no answers: here . I read the comments and tried to implement in both ways, but there are more pr...
[ -0.0189208984375, 0.0162353515625, 0.006561279296875, -0.016845703125, -0.01190185546875, 0.0167236328125, 0.003814697265625, -0.0047607421875, -0.001251220703125, -0.04833984375, 0.01397705078125, 0.0284423828125, 0.00121307373046875, 0.01214599609375, 0.0027618408203125, 0.0395507812...
[ 8942, 822, 112, 351, 34, 45602, 80854, 4734, 502, 4867, 5303, 1081, 17497, 71, 27686, 693, 52721, 10060, 29899, 2389, 418, 37842, 29479, 15044, 48322, 44402, 28219, 23468, 3917, 13695, 7311, 12989, 15490, 171763, 5117, 1286, 15190, 12830, 1...
[ 0.098388671875, 0.16748046875, 0.08514404296875, 0.1173095703125, 0.0634765625, 0.1602783203125, 0.191162109375, 0.1220703125, 0.14501953125, 0.2025146484375, 0.154541015625, 0.12841796875, 0.1768798828125, 0.008392333984375, 0.00030517578125, 0.03692626953125, 0.1513671875, 0.0284...
embed
61001608_c0
61001608
prolog
0
Title: prolog clp label - ignore some variable? Problem title: prolog clp label - ignore some variable? Tags: clpz, prolog Problem: prolog clp label - ignore some variable? My base definition use_module(library(clpfd)). /* base definitions */ ice_cream(vanilla). ice_cream(chocolate). ice_cream(strawberry). Turn words i...
prolog clp label - ignore some variable? prolog clp label - ignore some variable? clpz prolog use_module ice_cream icecream_index Icecream Icecreamlist Start End nth0 StartEnd icecream_menu MenuList Toppingone Toppingtwo Toppingthree Icecreamcount Icecreamstart Icecreamend all_different prolog clp label - ignore some v...
[ -0.01336669921875, -0.01251220703125, 0.005523681640625, 0.017822265625, 0.0057373046875, 0.01153564453125, -0.00714111328125, 0.0087890625, 0.006011962890625, -0.01611328125, 0.013671875, -0.0159912109375, 0.03173828125, 0.01611328125, 0.0196533203125, -0.01275634765625, 0.007476806...
[ 502, 4867, 33139, 254, 67967, 124962, 77336, 169, 4527, 83279, 2980, 114382, 4711, 65058, 6562, 13794, 18878, 927, 2389, 152378, 30144, 49434, 154663, 64740, 3630, 55547, 107, 71013, 17137, 3611, 756, 238778, 3060, 3647, 80934, 41961, 34153, ...
[ 0.10638427734375, 0.1953125, 0.07440185546875, 0.1658935546875, 0.2269287109375, 0.194580078125, 0.2315673828125, 0.08642578125, 0.035736083984375, 0.079833984375, 0.07177734375, 0.1580810546875, 0.09039306640625, 0.05841064453125, 0.115966796875, 0.022705078125, 0.05828857421875, ...
embed
35256065_c0
35256065
prolog
0
Title: SWI Prolog - Cinema Entry Project - When I ask for a customers age, is doesn't write the correct information Problem title: SWI Prolog - Cinema Entry Project - When I ask for a customers age, is doesn't write the correct information Tags: prolog Problem: SWI Prolog - Cinema Entry Project - When I ask f...
SWI Prolog - Cinema Entry Project - When I ask for a customers age, is doesn't write the correct information SWI Prolog - Cinema Entry Project - When I ask for a customers age, is doesn't write the correct information prolog SWI Prolog Cinema Entry Project When Author Date Name Age Film Showings How Lose Frie...
[ 0.0279541015625, -0.00732421875, 0.00946044921875, -0.0010528564453125, -0.0028076171875, 0.017333984375, 0.0032806396484375, 0.0167236328125, 0.01129150390625, -0.00238037109375, 0.002655029296875, -0.029296875, 0, 0.00201416015625, 0.02001953125, -0.01104736328125, 0.015869140625, ...
[ 159, 38969, 1250, 4867, 40572, 357, 15123, 27331, 14847, 26458, 59463, 32070, 83, 22027, 3768, 18, 33022, 26785, 4677, 10, 502, 61804, 25512, 15757, 72944, 3847, 17367, 11249, 3731, 102517, 2132, 33, 41021, 96719, 94698, 43045, 5585, 2676, ...
[ 0.0758056640625, 0.2216796875, 0.16650390625, 0.247314453125, 0.1324462890625, 0.0985107421875, 0.1683349609375, 0.14013671875, 0.021392822265625, 0.1785888671875, 0.233642578125, 0.1990966796875, 0.040985107421875, 0.0498046875, 0.0721435546875, 0.027435302734375, 0.2191162109375, ...
embed
54053834_c0
54053834
prolog
0
Title: Generating possible combinations in Prolog Problem title: Generating possible combinations in Prolog Tags: river-crossing-puzzle, prolog Problem: Generating possible combinations in Prolog I am trying to solve the 'missionaries and cannibals' problem using Prolog, in which you have an input number of missionarie...
Generating possible combinations in Prolog Generating possible combinations in Prolog river-crossing-puzzle prolog Generating Prolog NewAM NewAC NewBM NewB FinalM NewBC FinalC NewL Generating possible combinations in Prolog I am trying to solve the 'missionaries and cannibals' problem using Prolog, in which you have an...
[ -0.00518798828125, 0.01214599609375, -0.002838134765625, 0.003814697265625, -0.02099609375, 0.015625, -0.0208740234375, -0.0191650390625, 0.0002765655517578125, -0.04443359375, -0.002227783203125, -0.00201416015625, -0.0030364990234375, -0.00122833251953125, -0.01239013671875, 0.005340...
[ 155370, 1916, 7722, 162515, 7, 1250, 4867, 23, 96113, 95665, 214, 1766, 13894, 133, 502, 2356, 8922, 15012, 74965, 571, 27188, 594, 24318, 441, 866, 31577, 86869, 21150, 11, 10484, 136, 831, 93, 3571, 2967, 107730, 14012, 29752, 1632, 560...
[ 0.202392578125, 0.0156402587890625, 0.2127685546875, 0.2349853515625, 0.0977783203125, 0.188720703125, 0.2406005859375, 0.0275726318359375, 0.126220703125, 0.1607666015625, 0.032989501953125, 0.0858154296875, 0.0950927734375, 0.0028076171875, 0.1422119140625, 0.1163330078125, 0.17114...
embed
57053568_c0
57053568
prolog
0
Title: How to reify Prolog's backtracking state to perform the same task as "lazy seq" from Clojure? Problem title: How to reify Prolog's backtracking state to perform the same task as "lazy seq" from Clojure? Tags: quicksort, prolog, clojure, reify, lazy-sequences Problem: How to reify Pr...
How to reify Prolog's backtracking state to perform the same task as "lazy seq" from Clojure? How to reify Prolog's backtracking state to perform the same task as "lazy seq" from Clojure? quicksort prolog clojure reify lazy-sequences Clojure How Prolog qsort_inner WorkRest Piv pick_smaller...
[ 0.00347900390625, 0.0201416015625, 0.017578125, -0.027099609375, 0.007049560546875, 0.00439453125, 0.00286865234375, -0.016357421875, 0.0184326171875, -0.0228271484375, -0.0078125, 0.048095703125, -0.0186767578125, -0.0064697265625, 0.01507568359375, -0.00244140625, -0.010009765625, ...
[ 11249, 456, 40383, 1250, 4867, 3768, 4420, 125728, 214, 11341, 51339, 70, 5701, 66211, 143, 3285, 40, 864, 41502, 74, 51053, 461, 107, 7, 619, 63773, 62351, 502, 20450, 21, 184, 26513, 8096, 73, 1679, 27985, 1052, 525, 3065, 334, 39580,...
[ 0.0732421875, 0.1258544921875, 0.2391357421875, 0.150634765625, 0.2568359375, 0.0770263671875, 0.117919921875, 0.241455078125, 0.0897216796875, 0.14404296875, 0.0799560546875, 0.008056640625, 0.0550537109375, 0.169189453125, 0.09576416015625, 0.1795654296875, 0.1044921875, 0.177246...
embed
12284873_c0
12284873
prolog
0
Title: Compression of a positive DNF Problem title: Compression of a positive DNF Tags: conjunctive-normal-form, boolean-logic, prolog Problem: Compression of a positive DNF I would like to compress positive propositional formulas in disjunctive normal form (DNF). I am only assuming simple DNF for the moment without ne...
Compression of a positive DNF Compression of a positive DNF conjunctive-normal-form boolean-logic prolog Compression DNF Example Decompression Input Output Bad Good Compression of a positive DNF I would like to compress positive propositional formulas in disjunctive normal form (DNF). I am only assuming simple DNF for ...
[ -0.00543212890625, 0.03125, 0.005126953125, 0.0361328125, 0.0001678466796875, -0.00897216796875, 0.007598876953125, 0.0021209716796875, -0.00084686279296875, -0.0196533203125, -0.02978515625, 0.032958984375, -0.002655029296875, 0.01611328125, -0.019287109375, 0.01483154296875, 0.0155...
[ 3288, 48448, 24491, 391, 73493, 158, 461, 8766, 4935, 33176, 5037, 31, 34677, 137043, 502, 4867, 89536, 262, 277, 360, 13538, 12745, 18621, 1884, 375, 11856, 89261, 289, 26168, 2837, 3638, 3173, 397, 66596, 8781, 3095, 90584, 15659, 39531, ...
[ 0.1630859375, 0.2391357421875, 0.2130126953125, 0.07037353515625, 0.2509765625, 0.0562744140625, 0.142578125, 0.043365478515625, 0.036163330078125, 0.1295166015625, 0.1346435546875, 0.0311279296875, 0.095703125, 0.0572509765625, 0.0902099609375, 0.1810302734375, 0.1107177734375, 0....
embed
61643680_c0
61643680
prolog
0
Title: Prolog same predicate with different elements? Problem title: Prolog same predicate with different elements? Tags: prolog Problem: Prolog same predicate with different elements? The idea is that I have some rooms in a hotel to associate with guests. guest(FamilySurname,RoomTaken) or guest(FamilySurname, [RoomsTa...
Prolog same predicate with different elements? Prolog same predicate with different elements? prolog Prolog FamilySurname RoomTaken RoomsTaken room8 room1 room7 Call:guest room5 Call:free _16142 _16144 Exit:guest room17 Call _16056 _16058 Fail Redo:free Exit Call:room1 Exit:room1 Call:iterativefree Exit:iterativefree E...
[ 0.00701904296875, -0.000675201416015625, 0.019775390625, -0.00732421875, -0.01129150390625, 0.01092529296875, -0.0081787109375, 0.0142822265625, 0.019775390625, -0.029052734375, 0.016357421875, 0.018798828125, 0.00836181640625, -0.032470703125, -0.02685546875, 0.0107421875, 0.0260009...
[ 1250, 4867, 5701, 1653, 2063, 67, 678, 12921, 80854, 502, 59745, 84041, 38484, 51654, 33, 17155, 1019, 418, 966, 26265, 21325, 758, 32087, 2485, 152837, 131663, 5443, 2489, 13683, 37321, 190355, 6096, 28905, 16840, 45023, 217, 6528, 112875, ...
[ 0.181640625, 0.2763671875, 0.147705078125, 0.1907958984375, 0.228515625, 0.1102294921875, 0.076416015625, 0.1593017578125, 0.1993408203125, 0.14013671875, 0.0301361083984375, 0.03125, 0.1744384765625, 0.206298828125, 0.1488037109375, 0.2127685546875, 0.1182861328125, 0.023971557617...
embed
43077485_c0
43077485
prolog
0
Title: tuProlog - using multiple files with consult - can't get engine to load additional files with consult(otherFile.pl) Problem title: tuProlog - using multiple files with consult - can't get engine to load additional files with consult(otherFile.pl) Tags: tuprolog, prolog, java Problem: tuProlog - using m...
tuProlog - using multiple files with consult - can't get engine to load additional files with consult(otherFile.pl) tuProlog - using multiple files with consult - can't get engine to load additional files with consult(otherFile.pl) tuprolog prolog java multiple otherFile.pl Theory main.pl engine.setTheory Pro...
[ 0.033447265625, 0.0078125, -0.00982666015625, 0.031005859375, -0.0439453125, 0.005401611328125, 0.005615234375, 0.00897216796875, 0.01409912109375, -0.057861328125, 0.0004138946533203125, 0.005615234375, -0.0079345703125, 0.00482177734375, 0.007415771484375, 0.006927490234375, 0.0242...
[ 370, 10752, 4867, 17368, 48716, 102158, 678, 75463, 3768, 87907, 72367, 78301, 126340, 174350, 2424, 831, 3454, 502, 79, 330, 3789, 581, 30675, 5201, 3509, 3957, 1250, 41925, 37455, 21493, 42724, 115061, 25002, 4390, 29822, 2046, 133416, 1143...
[ 0.165283203125, 0.1947021484375, 0.2237548828125, 0.093017578125, 0.2015380859375, 0.1884765625, 0.0670166015625, 0.2435302734375, 0.010284423828125, 0.1204833984375, 0.133056640625, 0.139404296875, 0.0848388671875, 0.174072265625, 0.1864013671875, 0.029693603515625, 0.1632080078125,...
embed
15824075_c0
15824075
prolog
0
Title: Undefined procedure when procedure is defined Problem title: Undefined procedure when procedure is defined Tags: prolog Problem: Undefined procedure when procedure is defined I am trying to define a simple binary search tree. It is stored in lists like so: [Key, Left Tree, Right Tree]. I believe I have done this...
Undefined procedure when procedure is defined Undefined procedure when procedure is defined prolog Undefined ERROR Exception _G3233 Key Tree NewTree Element Don TreeKey TreeTail TreeHead Undefined procedure when procedure is defined I am trying to define a simple binary search tree. It is stored in lists like so: [Key,...
[ 0.0250244140625, 0.0279541015625, 0.031982421875, -0.02734375, -0.0106201171875, 0.040283203125, -0.015625, -0.0130615234375, 0.005279541015625, -0.0206298828125, 0.0177001953125, -0.0230712890625, 0.00787353515625, 0.004852294921875, 0.014892578125, 0.00677490234375, 0.0390625, 0....
[ 79912, 5983, 297, 50491, 3229, 83, 61924, 71, 502, 4867, 151206, 24638, 5443, 63928, 724, 363, 105586, 26824, 101344, 2356, 62731, 48325, 7650, 162429, 9874, 379, 13025, 712, 31577, 8781, 2394, 6635, 33938, 53201, 4343, 5303, 221, 636, 2480...
[ 0.1229248046875, 0.226318359375, 0.04083251953125, 0.251708984375, 0.080810546875, 0.05133056640625, 0.2294921875, 0.1494140625, 0.1527099609375, 0.1904296875, 0.09881591796875, 0.08154296875, 0.041961669921875, 0.123291015625, 0.03631591796875, 0.0743408203125, 0.24267578125, 0.13...
embed
75630809_c0
75630809
prolog
0
Title: Sliding window method for pattern recognition in SWI-Prolog Problem title: Sliding window method for pattern recognition in SWI-Prolog Tags: gomoku, dcg, sliding-window, pattern-matching, prolog Problem: Sliding window method for pattern recognition in SWI-Prolog I would like to find the most eloquent and effici...
Sliding window method for pattern recognition in SWI-Prolog Sliding window method for pattern recognition in SWI-Prolog gomoku dcg sliding-window pattern-matching prolog Sliding SWI-Prolog count_occurrences Pattern List Count PatternList PatternLength ListLength MaxIndex Index Counts sum_list Length Sublist Prefix Rest...
[ -0.0030670166015625, -0.00107574462890625, 0.0111083984375, 0.005706787109375, -0.008544921875, -0.000036716461181640625, -0.016845703125, -0.018798828125, 0.01556396484375, -0.056884765625, -0.00469970703125, -0.00151824951171875, 0.0179443359375, 0.00201416015625, 0.0123291015625, -0...
[ 103216, 6238, 76896, 55300, 103510, 230466, 159, 38969, 9, 10752, 4867, 100, 23, 738, 432, 319, 177, 132692, 214, 9494, 24293, 98753, 502, 54529, 6652, 64240, 9876, 22766, 32036, 108210, 154663, 449, 9920, 31471, 10554, 6562, 77554, 8273, 5...
[ 0.232666015625, 0.149658203125, 0.2127685546875, 0.1669921875, 0.24267578125, 0.196044921875, 0.053131103515625, 0.2215576171875, 0.0001220703125, 0.1292724609375, 0.2020263671875, 0.0068359375, 0.006988525390625, 0.00994873046875, 0.098876953125, 0.1636962890625, 0.07012939453125, ...
embed
60680114_c0
60680114
prolog
0
Title: ; (or) operator in Prolog not returning true unless the left side is true, even if the right side of the operator returns true by itself Problem title: ; (or) operator in Prolog not returning true unless the left side is true, even if the right side of the operator returns true by itself Tags: prolog, or-operato...
; (or) operator in Prolog not returning true unless the left side is true, even if the right side of the operator returns true by itself ; (or) operator in Prolog not returning true unless the left side is true, even if the right side of the operator returns true by itself prolog or-operator Prolog Case2 case1 Person1 ...
[ 0.019775390625, 0.0015716552734375, 0.004180908203125, 0.01708984375, -0.0072021484375, -0.004302978515625, -0.00091552734375, 0.007049560546875, 0.0150146484375, -0.0279541015625, 0.0086669921875, -0.004547119140625, 0.005340576171875, -0.01422119140625, 0.023193359375, -0.00964355468...
[ 2819, 748, 39933, 23, 1250, 4867, 959, 30646, 29568, 117934, 25737, 5609, 2174, 7108, 68034, 390, 502, 707, 206469, 43731, 304, 7225, 418, 15270, 60457, 132887, 796, 6700, 53, 284, 107, 7134, 432, 4126, 193429, 6991, 23972, 10625, 223, 73...
[ 0.05828857421875, 0.2291259765625, 0.271728515625, 0.006256103515625, 0.1661376953125, 0.2388916015625, 0.050079345703125, 0.1820068359375, 0.1748046875, 0.09063720703125, 0.145751953125, 0.148193359375, 0.04742431640625, 0.1478271484375, 0.128662109375, 0.0163116455078125, 0.1201171...
embed
36521634_c0
36521634
prolog
0
Title: Needed solve on out of stack and on assert and dynamics Problem title: Needed solve on out of stack and on assert and dynamics Tags: prolog Problem: Needed solve on out of stack and on assert and dynamics This is my program and I met problem on running foul(X) . Also I want to ask about the use of assert and dyn...
Needed solve on out of stack and on assert and dynamics Needed solve on out of stack and on assert and dynamics prolog Needed layer1 layer2 Sth Char Subtype Ingredients Ingredient Dish Avaliables Restaurant Needed solve on out of stack and on assert and dynamics This is my program and I met problem on running foul(X) ....
[ 0.0181884765625, -0.021240234375, 0.0133056640625, 0.021240234375, -0.00775146484375, 0.0152587890625, -0.0240478515625, 0.01025390625, 0.00311279296875, -0.0172119140625, -0.0034332275390625, -0.00090789794921875, -0.020751953125, 0.007293701171875, 0.0169677734375, -0.00830078125, ...
[ 52889, 297, 86869, 98, 1810, 111, 177261, 136, 237, 33657, 84079, 502, 4867, 135355, 304, 927, 21656, 8273, 50986, 242238, 6206, 127, 7013, 19736, 28660, 759, 1528, 435, 2967, 51042, 5775, 202, 132, 1542, 3444, 26458, 70, 4527, 55300, 324...
[ 0.1790771484375, 0.142822265625, 0.228759765625, 0.10888671875, 0.1453857421875, 0.111083984375, 0.1763916015625, 0.08056640625, 0.080322265625, 0.256103515625, 0.22265625, 0.1148681640625, 0.1927490234375, 0.174560546875, 0.017578125, 0.0849609375, 0.12255859375, 0.1148681640625, ...
embed
78960165_c0
78960165
prolog
0
Title: prolog rule_based expert system Problem title: prolog rule_based expert system Tags: swi-prolog, expert-system, prolog, python Problem: prolog rule_based expert system am a beginner in prolong, i want to develop a rule_based expert system that suggests best fit and next fit job for user based on his scores in so...
prolog rule_based expert system prolog rule_based expert system swi-prolog expert-system prolog python jobs json swiplserver PrologMQI rule_based Facts score_for_job Snowflake Cloud Data Warehouse Business Intelligence Developer SAS Sets Overview Analytics Quiz Warehousing Analyst Visualization Mining Trivia ETL Assess...
[ 0.050537109375, 0.006378173828125, -0.0166015625, 0.011962890625, 0.00726318359375, 0.01165771484375, -0.0186767578125, 0.02001953125, 0.006011962890625, -0.0137939453125, 0.005889892578125, 0.004608154296875, 0.005218505859375, 0.0108642578125, 0.0167236328125, 0.01165771484375, 0.0...
[ 502, 4867, 79986, 77007, 26808, 5426, 91, 2452, 3454, 16751, 17198, 50828, 74464, 1647, 1681, 2424, 39642, 1250, 594, 163514, 132640, 47763, 2472, 36791, 76935, 13034, 350, 48316, 11809, 100084, 23923, 14249, 157075, 152774, 105082, 19943, 9578...
[ 0.1607666015625, 0.265625, 0.2333984375, 0.1859130859375, 0.22802734375, 0.18212890625, 0.0068359375, 0.1263427734375, 0.1268310546875, 0.17236328125, 0.099853515625, 0.170166015625, 0.1773681640625, 0.0491943359375, 0.1461181640625, 0.0762939453125, 0.1593017578125, 0.15234375, ...
embed
37379927_c0
37379927
prolog
0
Title: Strange behaviour by heuristics when solving a CSP Problem title: Strange behaviour by heuristics when solving a CSP Tags: clpfd, eclipse-clp, prolog Problem: Strange behaviour by heuristics when solving a CSP Consider the following puzzle: A cell is either marked or unmarked. Numbers along the right and bottom ...
Strange behaviour by heuristics when solving a CSP Strange behaviour by heuristics when solving a CSP clpfd eclipse-clp prolog Strange CSP Strange behaviour by heuristics when solving a CSP Consider the following puzzle: A cell is either marked or unmarked. Numbers along the right and bottom side of the puzzle denote t...
[ -0.01007080078125, -0.00408935546875, 0.0157470703125, 0.02099609375, -0.00086212158203125, 0.005645751953125, -0.00124359130859375, 0.00634765625, 0.007415771484375, -0.024658203125, -0.0076904296875, 0.015869140625, 0.0184326171875, 0.031494140625, 0.005859375, -0.001983642578125, ...
[ 187791, 224833, 764, 62210, 41637, 3115, 313, 9434, 390, 6496, 39557, 71, 106371, 184, 26775, 502, 4867, 104192, 38750, 40101, 94419, 707, 51, 79466, 103332, 7108, 103136, 5609, 8, 48345, 3622, 10554, 24233, 15555, 3365, 316, 80743, 162466, ...
[ 0.159912109375, 0.1761474609375, 0.046478271484375, 0.203125, 0.1473388671875, 0.111572265625, 0.063720703125, 0.226806640625, 0.00048828125, 0.0164794921875, 0.005645751953125, 0.030548095703125, 0.1568603515625, 0.07208251953125, 0.09368896484375, 0.10577392578125, 0.1246337890625,...
embed
9966407_c0
9966407
prolog
0
Title: Creating the @&lt; BIP in prolog Problem title: Creating the @&lt; BIP in prolog Tags: compare, list, prolog Problem: Creating the @< BIP in prolog I'm basically trying to create 'my own' version of the @< operator in prolog, i.e. something to the tune of at_less(F1,F2), where it returns true if F1@ So some exam...
Creating the @&lt; BIP in prolog Creating the @&lt; BIP in prolog compare list prolog Creating BIP at_less atom_pr atom_codes First Second code_compare flat_pr compound_compare number_pr list_compare Tails comparison...straight Creating the @< BIP in prolog I'm basically trying to create 'my own' version of the @< oper...
[ 0.01043701171875, 0.00872802734375, -0.002471923828125, -0.006195068359375, -0.000774383544921875, 0.003326416015625, 0.00244140625, -0.021240234375, 0.005340576171875, -0.017333984375, 0.01446533203125, 0.0196533203125, 0.01171875, -0.00634765625, 0.0267333984375, -0.0019073486328125,...
[ 56781, 1374, 1277, 335, 10931, 502, 4867, 69101, 5303, 99, 9393, 34627, 10287, 40899, 23972, 77648, 18151, 277, 16082, 49878, 217773, 14012, 1218, 7870, 225490, 2816, 16093, 23, 31577, 28282, 1176, 10002, 11389, 39933, 56312, 919, 418, 10461,...
[ 0.145751953125, 0.11083984375, 0.0780029296875, 0.10791015625, 0.2047119140625, 0.1502685546875, 0.216552734375, 0.206298828125, 0.1270751953125, 0.1075439453125, 0.229736328125, 0.20703125, 0.06732177734375, 0.1890869140625, 0.056121826171875, 0.1051025390625, 0.187255859375, 0.03...
embed
34237046_c0
34237046
prolog
0
Title: Solving and debugging a logic puzzle in Prolog Problem title: Solving and debugging a logic puzzle in Prolog Tags: prolog, logic, debugging Problem: Solving and debugging a logic puzzle in Prolog I'm trying to solve the following logic puzzle using Prolog: Determine the first and last name of each driver in the ...
Solving and debugging a logic puzzle in Prolog Solving and debugging a logic puzzle in Prolog prolog logic debugging Solving Prolog Drivers Call _G4168 Fail Solving and debugging a logic puzzle in Prolog I'm trying to solve the following logic puzzle using Prolog: Determine the first and last name of each driver in the...
[ 0.0101318359375, 0.0009613037109375, 0.004058837890625, 0.00970458984375, -0.0159912109375, 0.00958251953125, -0.01434326171875, -0.00341796875, 0.00089263916015625, -0.0228271484375, 0.0135498046875, 0.004486083984375, -0.0009765625, 0.006866455078125, 0.0135498046875, 0.017822265625,...
[ 6678, 6496, 136, 8, 978, 62775, 104192, 1250, 4867, 23, 502, 131470, 26265, 93657, 190355, 31577, 86869, 25632, 17368, 30524, 5117, 4568, 9351, 12638, 27941, 45712, 31411, 2258, 19069, 134620, 28750, 4396, 31494, 122799, 50960, 3687, 131211, ...
[ 0.1019287109375, 0.009124755859375, 0.02264404296875, 0.09814453125, 0.19091796875, 0.2017822265625, 0.2117919921875, 0.170166015625, 0.2548828125, 0.005828857421875, 0.12451171875, 0.1837158203125, 0.0989990234375, 0.1456298828125, 0.1319580078125, 0.008026123046875, 0.1214599609375...
embed
16035260_c0
16035260
prolog
0
Title: Can I use setof predicate to build a list without duplicates starting from a list with duplicate? Problem title: Can I use setof predicate to build a list without duplicates starting from a list with duplicate? Tags: prolog Problem: Can I use setof predicate to build a list without duplicates starting from a lis...
Can I use setof predicate to build a list without duplicates starting from a list with duplicate? Can I use setof predicate to build a list without duplicates starting from a list with duplicate? prolog a Can FACT BASE CASE ListWithDuplicates ListWithoutDuplicates Can I use setof predicate to build a list without dupli...
[ -0.0054931640625, 0.0155029296875, 0.029296875, -0.0020904541015625, -0.00726318359375, 0.006439208984375, -0.000568389892578125, -0.001678466796875, 0.00970458984375, -0.0225830078125, -0.01953125, 0.00445556640625, 0.00982666015625, 0.00860595703125, -0.018798828125, 0.022705078125, ...
[ 4171, 4527, 5423, 4390, 1653, 2063, 67, 45367, 5303, 15490, 171763, 1636, 72134, 1295, 678, 502, 4867, 563, 84161, 335, 76783, 313, 32036, 194583, 17726, 52721, 6056, 1250, 152363, 42276, 38969, 81979, 86869, 88303, 10750, 28282, 12989, 2967,...
[ 0.07196044921875, 0.07550048828125, 0.1832275390625, 0.2056884765625, 0.1278076171875, 0.170654296875, 0.10076904296875, 0.1375732421875, 0.2110595703125, 0.1314697265625, 0.212646484375, 0.0615234375, 0.05084228515625, 0.05096435546875, 0.0826416015625, 0.055450439453125, 0.14575195...
embed
13976733_c0
13976733
prolog
0
Title: Small Expert System in prolog Problem title: Small Expert System in prolog Tags: prolog, artificial-intelligence, expert-system Problem: Small Expert System in prolog I'm doing this expert system for classification animals using prolog and I'm using GNU/Prolog and Debian GNU/Linux. xpositive(symbol,symbol) xnega...
Small Expert System in prolog Small Expert System in prolog prolog artificial-intelligence expert-system Small Expert System animal_is it_is clear_facts tawny_color dark_spots black_stripes long_neck long_legs black_and_white_color fly_well give_milk lay_eggs eat_meat pointed_teeth forward_eyes chew_cud Reply GNU Prolo...
[ 0.00946044921875, -0.0009002685546875, 0.000949859619140625, 0.0198974609375, -0.0031585693359375, 0.01177978515625, 0.005889892578125, 0.01544189453125, -0.00054168701171875, -0.01483154296875, 0.01507568359375, 0.0223388671875, 0.0038604736328125, 0.0028076171875, 0.0223388671875, 0....
[ 105508, 70523, 12353, 23, 502, 4867, 66733, 130687, 26808, 16751, 26249, 164, 442, 34735, 114700, 308, 434, 299, 46133, 43334, 53370, 22556, 7655, 13569, 4989, 86, 2594, 2828, 2940, 148477, 12403, 19256, 8337, 12397, 21, 2507, 9405, 73203, ...
[ 0.209228515625, 0.2303466796875, 0.2056884765625, 0.053863525390625, 0.130126953125, 0.224609375, 0.09881591796875, 0.118896484375, 0.1988525390625, 0.175048828125, 0.2216796875, 0.1082763671875, 0.1097412109375, 0.1732177734375, 0.20458984375, 0.0589599609375, 0.0733642578125, 0.1...
embed
28656582_c0
28656582
prolog
0
Title: Complex query prolog Problem title: Complex query prolog Tags: prolog, predicate, complextype Problem: Complex query prolog Yeah, I just was wondering if it is possible to make complex queries in Prolog. I have a database of tablets with many attributes. tablet(Id, Name). tablet_operating_system(Id, Operating_sy...
Complex query prolog Complex query prolog prolog predicate complextype Complex Name tablet_operating_system Operating_system tablet_release_year Release_Year tablet_screen_diagonal Diagonal cur_list Complex query prolog Yeah, I just was wondering if it is possible to make complex queries in Prolog. I have a database of...
[ 0.0185546875, 0.018310546875, 0.00167083740234375, 0.0067138671875, -0.0004253387451171875, -0.01031494140625, -0.00482177734375, 0.01458740234375, -0.003509521484375, -0.02392578125, 0.01904296875, -0.028564453125, -0.0089111328125, -0.0062255859375, -0.00060272216796875, 0.029296875,...
[ 113197, 41, 1294, 502, 4867, 1653, 2063, 27140, 50986, 15757, 9961, 21473, 1916, 16751, 16556, 233707, 46799, 152590, 69085, 86667, 6126, 9709, 6562, 149016, 7722, 3249, 10484, 23, 1250, 63399, 115301, 5941, 150380, 3871, 28282, 5303, 14858, ...
[ 0.224853515625, 0.18359375, 0.0826416015625, 0.1419677734375, 0.259033203125, 0.1639404296875, 0.2122802734375, 0.250244140625, 0.168701171875, 0.0272979736328125, 0.162353515625, 0.1214599609375, 0.0147552490234375, 0.12060546875, 0.1182861328125, 0.0626220703125, 0.0814208984375, ...
embed
37374713_c0
37374713
prolog
0
Title: Dcg state implementation of algorithm Problem title: Dcg state implementation of algorithm Tags: implicit-state-passing, dcg, prolog, algorithm, dcg-semicontext Problem: Dcg state implementation of algorithm The distance between a long sequence and a short sequence, is the minimum distance between the short sequ...
Dcg state implementation of algorithm Dcg state implementation of algorithm implicit-state-passing dcg prolog algorithm dcg-semicontext Dcg X-Y seq_seq_absdis Seq1 Seq2 Dis same_length Dislist seq_subseq List1 List2 Subseq smallseq_largeseq_dis Sseq Lseq Subseqs Distances ea_smallseq_largeseq_dis Subseq-Dis ea_smallseq...
[ 0.020263671875, 0.0074462890625, 0.005889892578125, 0.00323486328125, -0.005401611328125, 0.0020294189453125, -0.01458740234375, 0.00823974609375, 0.00628662109375, -0.02392578125, -0.005584716796875, 0.0244140625, 0.000499725341796875, 0.0174560546875, 0.00921630859375, 0.008239746093...
[ 391, 238, 177, 11341, 208124, 234873, 165164, 61340, 13409, 104, 502, 4867, 84505, 2271, 22829, 1193, 9, 1723, 40, 864, 184, 2055, 3827, 503, 418, 304, 6206, 5701, 454, 23986, 927, 6562, 22144, 32036, 8273, 19336, 4188, 13, 159, 7, 1543...
[ 0.080322265625, 0.105224609375, 0.189208984375, 0.1881103515625, 0.189453125, 0.2386474609375, 0.1837158203125, 0.155517578125, 0.09356689453125, 0.05938720703125, 0.114990234375, 0.154052734375, 0.1207275390625, 0.048583984375, 0.1092529296875, 0.0648193359375, 0.039215087890625, ...
embed
61432628_c0
61432628
prolog
0
Title: Prolog Issue: Having Trouble With Variables (If I need them or not) Problem title: Prolog Issue: Having Trouble With Variables (If I need them or not) Tags: prolog Problem: Prolog Issue: Having Trouble With Variables (If I need them or not) I am working on a final assignment for my class and I was wondering if s...
Prolog Issue: Having Trouble With Variables (If I need them or not) Prolog Issue: Having Trouble With Variables (If I need them or not) prolog Prolog Issue Having Trouble Variables Tail Tail1 Children Person Date Salary Name Surname Prolog Issue: Having Trouble With Variables (If I need them or not) I am working on a f...
[ 0.031982421875, 0.00174713134765625, -0.0027923583984375, 0.01385498046875, -0.015380859375, 0.0174560546875, -0.0235595703125, -0.0020751953125, 0.01519775390625, -0.03466796875, -0.014892578125, -0.0036773681640625, -0.01171875, 0.01220703125, 0.01220703125, -0.01043701171875, 0.00...
[ 1250, 4867, 223317, 171855, 119671, 2661, 17106, 111477, 13566, 91306, 3871, 2856, 959, 502, 1218, 379, 418, 91345, 15270, 25512, 13294, 15757, 8018, 11627, 707, 20697, 2704, 95486, 18507, 149016, 17997, 3642, 4488, 678, 6097, 6626, 44402, 44...
[ 0.15234375, 0.196044921875, 0.1463623046875, 0.1298828125, 0.1790771484375, 0.13623046875, 0.1959228515625, 0.257080078125, 0.2200927734375, 0.06982421875, 0.18359375, 0.101318359375, 0.035247802734375, 0.1270751953125, 0.1361083984375, 0.074462890625, 0.0802001953125, 0.1517333984...
embed
36102636_c0
36102636
prolog
0
Title: I am doing an assignment for college. My Prolog program has 1 syntax error C150. How do I debug the syntax and then query the knowledge base? Problem title: I am doing an assignment for college. My Prolog program has 1 syntax error C150. How do I debug the syntax and then query the knowledge base? Tags: prolog, ...
I am doing an assignment for college. My Prolog program has 1 syntax error C150. How do I debug the syntax and then query the knowledge base? I am doing an assignment for college. My Prolog program has 1 syntax error C150. How do I debug the syntax and then query the knowledge base? prolog syntax Prolog C150 How Mum Ky...
[ 0.0235595703125, 0.003387451171875, -0.01043701171875, 0.0174560546875, -0.0164794921875, 0.0118408203125, -0.0177001953125, -0.00147247314453125, 0.0024566650390625, -0.041015625, 0.00762939453125, -0.0224609375, -0.01953125, -0.007080078125, -0.005157470703125, 0.000255584716796875, ...
[ 95486, 674, 100, 40466, 1250, 4867, 1528, 1556, 106, 6002, 86531, 18499, 313, 19236, 11249, 8, 85779, 7068, 41, 1294, 51359, 3647, 54, 502, 83678, 341, 13974, 72542, 14787, 44582, 14245, 165458, 64372, 196523, 57120, 7880, 33424, 32512, 607...
[ 0.1492919921875, 0.0391845703125, 0.0194549560546875, 0.1064453125, 0.212646484375, 0.30126953125, 0.21875, 0.02215576171875, 0.075439453125, 0.18408203125, 0.25634765625, 0.2174072265625, 0.0655517578125, 0.281982421875, 0.083251953125, 0.1954345703125, 0.2861328125, 0.02661132812...
embed
58147564_c0
58147564
prolog
0
Title: Prolog add certain items to list Problem title: Prolog add certain items to list Tags: accumulator, list, prolog Problem: Prolog add certain items to list I'm unable to figure out why my code isn't working despite looking through answers to similar questions. I'm too new at Prolog to properly name things, but I ...
Prolog add certain items to list Prolog add certain items to list accumulator list prolog Prolog List use_module teacher_pref List1 session.consult session.query Prolog add certain items to list I'm unable to figure out why my code isn't working despite looking through answers to similar questions. I'm too new at Prolo...
[ 0.0191650390625, -0.008056640625, 0.00799560546875, -0.008544921875, -0.0235595703125, 0.00860595703125, -0.0218505859375, -0.00909423828125, 0.00005507469177246094, -0.0250244140625, 0.03125, -0.0027618408203125, -0.0086669921875, 0.00811767578125, 0.004486083984375, 0.01409912109375,...
[ 1250, 4867, 15190, 24233, 55769, 47, 5303, 183278, 1290, 502, 32036, 4527, 83279, 117914, 4692, 418, 56002, 147834, 2886, 26366, 15400, 759, 18151, 56112, 18, 20697, 9351, 8966, 13204, 1733, 22819, 166904, 35509, 1528, 237875, 35014, 41576, 9...
[ 0.183349609375, 0.267333984375, 0.143310546875, 0.1041259765625, 0.1968994140625, 0.107177734375, 0.22412109375, 0.17578125, 0.096923828125, 0.1092529296875, 0.1510009765625, 0.034515380859375, 0.0838623046875, 0.1759033203125, 0.10302734375, 0.001922607421875, 0.13134765625, 0.158...
embed
71199830_c0
71199830
prolog
0
Title: SWI-Prolog reading a file for single digit numbers and adding them together Problem title: SWI-Prolog reading a file for single digit numbers and adding them together Tags: prolog Problem: SWI-Prolog reading a file for single digit numbers and adding them together I am trying to read an input file and take only ...
SWI-Prolog reading a file for single digit numbers and adding them together SWI-Prolog reading a file for single digit numbers and adding them together prolog the SWI-Prolog Name numsum.txt OUT SWI-Prolog reading a file for single digit numbers and adding them together I am trying to read an input file and take only th...
[ -0.0047607421875, -0.00193023681640625, 0.00897216796875, 0.01165771484375, -0.021484375, 0.033447265625, -0.00408935546875, 0.01507568359375, -0.00946044921875, -0.01202392578125, 0.00714111328125, -0.0167236328125, -0.037109375, 0.0012054443359375, 0.0169677734375, 0.0008544921875, ...
[ 159, 38969, 9, 10752, 4867, 16454, 11435, 100, 11001, 153939, 101935, 154107, 25842, 502, 15757, 13269, 11832, 124326, 52001, 31577, 12301, 107730, 5646, 4734, 892, 26255, 15190, 28412, 140992, 15700, 18151, 43240, 70541, 17932, 9433, 11782, 12...
[ 0.0836181640625, 0.26123046875, 0.036529541015625, 0.1600341796875, 0.20703125, 0.1622314453125, 0.195068359375, 0.04827880859375, 0.1531982421875, 0.1595458984375, 0.1483154296875, 0.1514892578125, 0.1722412109375, 0.146484375, 0.001922607421875, 0.157470703125, 0.260986328125, 0....
embed
4634867_c0
4634867
prolog
0
Title: Syntax error: Operator expected Problem title: Syntax error: Operator expected Tags: prolog Problem: Syntax error: Operator expected I have problem with my Prolog program..it seem to have error but i dont know what it is..can someone give me idea how to solve it??? the error starts from the line 'symptom' here a...
Syntax error: Operator expected Syntax error: Operator expected prolog Syntax Operator Patient Disease Reply Syntax error: Operator expected I have problem with my Prolog program..it seem to have error but i dont know what it is..can someone give me idea how to solve it??? the error starts from the line 'symptom' here ...
[ 0.0205078125, -0.0155029296875, 0.0145263671875, 0.01263427734375, -0.0091552734375, 0.0172119140625, -0.01165771484375, 0.00109100341796875, -0.0216064453125, -0.0478515625, 0.0123291015625, -0.0072021484375, -0.004119873046875, -0.02197265625, 0.00762939453125, 0.0027008056640625, ...
[ 19010, 86531, 18499, 150922, 84751, 502, 4867, 135004, 229200, 122813, 765, 2967, 1250, 1528, 48903, 13319, 3714, 2367, 83, 6528, 86869, 7273, 4034, 1295, 13315, 4861, 2676, 5928, 18151 ]
[ 0.1300048828125, 0.202392578125, 0.1922607421875, 0.25390625, 0.241943359375, 0.1336669921875, 0.2412109375, 0.1719970703125, 0.1566162109375, 0.03961181640625, 0.017486572265625, 0.1015625, 0.155517578125, 0.15673828125, 0.042449951171875, 0.053802490234375, 0.0650634765625, 0.014...
embed
13771188_c0
13771188
prolog
0
Title: Task Schedule sicstus prolog Problem title: Task Schedule sicstus prolog Tags: clpfd, sicstus-prolog, prolog Problem: Task Schedule sicstus prolog I started sicstus prolog recently and have this homework to solve with CLP (constraint logic programing), please help me understand the problem, what I should be look...
Task Schedule sicstus prolog Task Schedule sicstus prolog clpfd sicstus-prolog prolog Task Schedule use_module Fdigs Floors Vars Cost Stock Tasks Nfdigs Nstock _Et _Ee Task Schedule sicstus prolog I started sicstus prolog recently and have this homework to solve with CLP (constraint logic programing), please help me un...
[ -0.006072998046875, 0.01513671875, -0.00244140625, 0.01275634765625, -0.0257568359375, 0.000827789306640625, -0.043701171875, 0.00823974609375, -0.01055908203125, -0.0302734375, 0.01019287109375, -0.00848388671875, -0.0152587890625, -0.003875732421875, 0.00921630859375, 0.002197265625,...
[ 9598, 92, 230074, 26536, 18253, 502, 4867, 39557, 71, 3454, 4527, 83279, 4803, 177542, 3323, 63099, 68804, 59907, 69824, 26859, 5368, 18244, 86869, 313, 37352, 2816, 62775, 1528, 4358, 28219, 2967, 5608, 16487, 100, 87, 20594, 44691, 33976, ...
[ 0.2047119140625, 0.07470703125, 0.260009765625, 0.1300048828125, 0.246826171875, 0.166015625, 0.231201171875, 0.03741455078125, 0.0325927734375, 0.072265625, 0.057769775390625, 0.1231689453125, 0.147705078125, 0.1510009765625, 0.114990234375, 0.10791015625, 0.1199951171875, 0.15234...
embed
34925596_c0
34925596
prolog
0
Title: How can I / Is it possible to warn the user for unused variables within a logic rule in a Prolog-like DSL developer through Xtext? Problem title: How can I / Is it possible to warn the user for unused variables within a logic rule in a Prolog-like DSL developer through Xtext? Tags: xtext, validation, prolog, sco...
How can I / Is it possible to warn the user for unused variables within a logic rule in a Prolog-like DSL developer through Xtext? How can I / Is it possible to warn the user for unused variables within a logic rule in a Prolog-like DSL developer through Xtext? xtext validation prolog scoping How Prolog-like DSL Xtext ...
[ 0.01397705078125, 0.01007080078125, 0.010986328125, 0.016845703125, -0.006591796875, 0.0169677734375, -0.01153564453125, 0.00732421875, -0.00099945068359375, -0.0203857421875, 0.000446319580078125, -0.0017242431640625, 0.00604248046875, 0.005523681640625, 0.029052734375, 0.017944335937...
[ 11249, 831, 248, 7722, 1631, 19, 38937, 51, 33740, 77336, 62775, 79986, 1250, 4867, 5062, 114479, 106001, 1193, 22829, 100, 28032, 1022, 44622, 502, 44679, 214, 442, 5980, 837, 318, 45430, 82166, 402, 42135, 33827, 39456, 224750, 106371, 31...
[ 0.030975341796875, 0.02728271484375, 0.0146636962890625, 0.137939453125, 0.154052734375, 0.10986328125, 0.141357421875, 0.06170654296875, 0.1639404296875, 0.2274169921875, 0.1304931640625, 0.165283203125, 0.1591796875, 0.228271484375, 0.1278076171875, 0.170166015625, 0.1680908203125,...
embed
75950249_c0
75950249
prolog
0
Title: The game of 23 matches in SWIPROLOG Problem title: The game of 23 matches in SWIPROLOG Tags: prolog Problem: The game of 23 matches in SWIPROLOG I tried to make the 23 matches game in SWIPROLOG (compiled here : https://swish.swi-prolog.org/ ). What does this game represent? There are 23 matches on the table. The...
The game of 23 matches in SWIPROLOG The game of 23 matches in SWIPROLOG prolog SWIPROLOG Start in_progress Player State There valid_move You Invalid Please Computer optimal_move Check Calculate X-1 N-2 The game of 23 matches in SWIPROLOG I tried to make the 23 matches game in SWIPROLOG (compiled here : https://swish.sw...
[ -0.0213623046875, 0.00118255615234375, 0.0159912109375, 0.00677490234375, -0.0033416748046875, -0.0069580078125, -0.017822265625, 0.0242919921875, 0.00946044921875, -0.0223388671875, 0.00885009765625, 0.028076171875, 0.0233154296875, -0.021728515625, 0.007293701171875, -0.0076599121093...
[ 6712, 111, 1105, 14858, 90, 23, 159, 38969, 47970, 47510, 502, 4867, 13794, 3454, 19623, 60560, 22836, 8622, 35604, 432, 272, 2583, 7013, 30607, 40139, 24087, 38679, 212467, 1193, 5759, 541, 5428, 37842, 5974, 3688, 114686, 2452, 1478, 903,...
[ 0.1544189453125, 0.097900390625, 0.254638671875, 0.263916015625, 0.111328125, 0.11474609375, 0.07843017578125, 0.200439453125, 0.1650390625, 0.22021484375, 0.12451171875, 0.1793212890625, 0.13818359375, 0.11474609375, 0.136474609375, 0.1312255859375, 0.115478515625, 0.0530395507812...
embed
34635689_c0
34635689
prolog
0
Title: output formatting in prolog Problem title: output formatting in prolog Tags: formatting, prolog Problem: output formatting in prolog i have some facts in prolog.I want to define a rule that would print data about all amino acids in a formated way. here is the link that i have facts and some rules that i have def...
output formatting in prolog output formatting in prolog formatting prolog ShortName Hydropathy format:aminoclass Ala HydropathyValue Volume VolumeValue Chemical ChemicalValue Title Name Age Eye Colour Phone Number output formatting in prolog i have some facts in prolog.I want to define a rule that would print data abou...
[ 0.009033203125, 0.013427734375, 0.00860595703125, 0.0233154296875, 0.00171661376953125, -0.0026397705078125, 0.01519775390625, 0.024658203125, 0.00860595703125, 0.045654296875, 0.0242919921875, 0.004058837890625, -0.0157470703125, -0.0277099609375, 0.01202392578125, -0.001556396484375,...
[ 140992, 9384, 1916, 502, 4867, 23, 82990, 163612, 126442, 192592, 1191, 157, 67413, 21664, 856, 50770, 98872, 83230, 48962, 15757, 72944, 65386, 196431, 41761, 103332, 15824, 3444, 61924, 79986, 28412, 2053, 756, 72657, 43840, 3917, 3126, 91736...
[ 0.275634765625, 0.2188720703125, 0.0770263671875, 0.14990234375, 0.2445068359375, 0.024658203125, 0.06195068359375, 0.114990234375, 0.1748046875, 0.2333984375, 0.07427978515625, 0.0908203125, 0.198486328125, 0.129150390625, 0.066162109375, 0.0904541015625, 0.1309814453125, 0.066894...
embed
59490228_c0
59490228
prolog
0
Title: Prolog reasoning about predicates Problem title: Prolog reasoning about predicates Tags: prolog, metaprogramming, meta-predicate Problem: Prolog reasoning about predicates Assume someone wrote the following huge list of clauses: loves(me, wife). loves(me, dog). loves(wife, dog). hates(me, enemy). attracts(iron, ...
Prolog reasoning about predicates Prolog reasoning about predicates prolog metaprogramming meta-predicate Prolog some_conclusion some_premises Arguments Prolog reasoning about predicates Assume someone wrote the following huge list of clauses: Now I want to automatically generate reciprocal clauses given some higher-or...
[ 0.006378173828125, 0.01324462890625, 0.01116943359375, 0.0281982421875, -0.00115203857421875, 0.0225830078125, 0.00323486328125, 0.019775390625, 0.01165771484375, -0.034423828125, -0.010009765625, 0.0025787353515625, -0.0244140625, -0.01287841796875, 0.0264892578125, -0.0196533203125, ...
[ 1250, 4867, 31635, 1672, 1653, 2063, 1636, 502, 23550, 28966, 19714, 3060, 2271, 67158, 41707, 112140, 66596, 54397, 25632, 58696, 5303, 70731, 90, 3444, 191082, 139392, 159826, 289, 34475, 77546, 80596, 79986, 21373, 84751, 16750, 8781, 124962...
[ 0.14794921875, 0.212646484375, 0.1883544921875, 0.046417236328125, 0.163818359375, 0.2244873046875, 0.070068359375, 0.1046142578125, 0.133056640625, 0.1224365234375, 0.119384765625, 0.04205322265625, 0.020294189453125, 0.1070556640625, 0.06158447265625, 0.18505859375, 0.0370483398437...
embed
27292167_c0
27292167
prolog
0
Title: Re-organizing a list in prolog Problem title: Re-organizing a list in prolog Tags: prolog, list Problem: Re-organizing a list in prolog I am trying to write some Prolog code to take a list such as: [[park, joe], [park, bob], [park, kate], [school, joe], [zoo, amy], [zoo, ted]]. and organizes the list into the fo...
Re-organizing a list in prolog Re-organizing a list in prolog prolog list recursion Re-organizing First Rest Meet1 Person1 Meet2 Person2 Case Match No-match Combpersons Re-organizing a list in prolog I am trying to write some Prolog code to take a list such as: and organizes the list into the form: It can be assumed th...
[ -0.006439208984375, 0.0269775390625, 0.022216796875, 0.001434326171875, -0.00109100341796875, -0.00775146484375, -0.0087890625, 0.0031585693359375, 0.0277099609375, -0.000484466552734375, 0.00439453125, 0.0186767578125, 0.00396728515625, 0.003997802734375, 0.01129150390625, -0.00463867...
[ 853, 53404, 5303, 502, 4867, 23, 195625, 23972, 49756, 72626, 15270, 43731, 67407, 438, 98753, 3288, 275, 30816, 31577, 33022, 1250, 18151, 5646, 5808, 3173, 41591, 756, 14858, 10336, 12638, 12830, 10237, 9201, 71321, 105237, 11737, 3789, 282...
[ 0.1212158203125, 0.265380859375, 0.197021484375, 0.152099609375, 0.223876953125, 0.0120849609375, 0.1427001953125, 0.045989990234375, 0.1177978515625, 0.1531982421875, 0.06884765625, 0.09173583984375, 0.1334228515625, 0.013671875, 0.158203125, 0.03369140625, 0.0103759765625, 0.1528...
embed
73958806_c0
73958806
prolog
0
Title: Using predicates to update a list in prolog Problem title: Using predicates to update a list in prolog Tags: prolog, predicate, swi-prolog, list Problem: Using predicates to update a list in prolog I am so addicted to functional programming, prepositional programming is foreign to me, I need to implement a game ...
Using predicates to update a list in prolog Using predicates to update a list in prolog prolog predicate swi-prolog list the Using Deals Deck i.e Table List NewDeck Rest FirstNewDeck Final Using predicates to update a list in prolog I am so addicted to functional programming, prepositional programming is foreign to me,...
[ -0.002044677734375, 0.006011962890625, 0.018798828125, 0.0038909912109375, 0.0087890625, 0.0299072265625, -0.0052490234375, 0.00830078125, 0.009521484375, -0.0101318359375, 0.0281982421875, 0.042236328125, -0.0216064453125, 0.002349853515625, 0.012451171875, 0.0123291015625, 0.034912...
[ 345, 1653, 2063, 1636, 28350, 5303, 502, 4867, 23, 67, 91, 2452, 3454, 6953, 90943, 162163, 112997, 32036, 2356, 120152, 49756, 23972, 46568, 27188, 221, 181050, 123309, 56037, 479, 40322, 110613, 3871, 29479, 6712, 17368, 61924, 126381, 237,...
[ 0.06964111328125, 0.2137451171875, 0.20947265625, 0.134521484375, 0.1990966796875, 0.205322265625, 0.164794921875, 0.22119140625, 0.0247802734375, 0.001129150390625, 0.00701904296875, 0.1494140625, 0.15234375, 0.07177734375, 0.156494140625, 0.1531982421875, 0.0838623046875, 0.12341...
embed
54742253_c0
54742253
prolog
0
Title: Can this depth-first search be coded with failure-driven loop without recursion? Problem title: Can this depth-first search be coded with failure-driven loop without recursion? Tags: prolog, depth-first-search Problem: Can this depth-first search be coded with failure-driven loop without recursion? Could you ple...
Can this depth-first search be coded with failure-driven loop without recursion? Can this depth-first search be coded with failure-driven loop without recursion? prolog depth-first-search Can print_path List Goal Path State Next Start dfs1 Can this depth-first search be coded with failure-driven loop without recursion?...
[ 0.017578125, 0.031005859375, 0.003692626953125, 0.0213623046875, 0.00104522705078125, 0.01025390625, -0.0133056640625, -0.001312255859375, 0.003082275390625, -0.0113525390625, 0.00982666015625, -0.00830078125, -0.0037841796875, 0.020751953125, 0.01385498046875, -0.0045166015625, 0.01...
[ 4171, 903, 168867, 13448, 271, 33938, 18151, 71, 678, 137578, 33926, 40956, 15490, 195625, 1830, 502, 4867, 86250, 28412, 128405, 32036, 2016, 289, 108421, 22836, 4997, 13794, 104, 17447, 418, 96760, 35064, 17368, 76228, 6056, 8781, 80854, 53...
[ 0.0819091796875, 0.096435546875, 0.2320556640625, 0.151611328125, 0.1278076171875, 0.22607421875, 0.1986083984375, 0.009063720703125, 0.04791259765625, 0.2261962890625, 0.1392822265625, 0.173095703125, 0.12353515625, 0.1986083984375, 0.0762939453125, 0.1402587890625, 0.185302734375, ...
embed
22177931_c0
22177931
prolog
0
Title: How can I ask questions on a family tree in Prolog? Problem title: How can I ask questions on a family tree in Prolog? Tags: prolog Problem: How can I ask questions on a family tree in Prolog? I'm currently trying to learn how to use Prolog. I have SWI-Prolog version 6.2.6 installed. It seems to run: ?- 3<4. tru...
How can I ask questions on a family tree in Prolog? How can I ask questions on a family tree in Prolog? prolog How Prolog SWI-Prolog family.pl Warning Desktop family.pl:7 Clauses family.pl:9 family.pl:11 family.pl:12 family.pl:13 family.pl:14 How can I ask questions on a family tree in Prolog? I'm currently trying to l...
[ 0.027587890625, 0.010009765625, 0.004302978515625, 0.00958251953125, -0.01513671875, 0.01434326171875, 0.0002689361572265625, -0.0034027099609375, -0.00537109375, -0.058837890625, 0.0023193359375, -0.00616455078125, -0.00872802734375, -0.0111083984375, 0.0277099609375, 0.00775146484375...
[ 11249, 831, 26458, 17582, 98, 14449, 53201, 1250, 4867, 87, 23, 502, 38969, 10752, 2424, 5550, 592, 141423, 966, 100700, 1126, 19993, 20927, 22635, 4527, 159, 2289, 154784, 20600, 11675, 27781, 29479, 207116, 113292, 4343, 72367, 75463, 21212...
[ 0.049591064453125, 0.05694580078125, 0.1737060546875, 0.2161865234375, 0.07794189453125, 0.1090087890625, 0.2139892578125, 0.146484375, 0.2266845703125, 0.015594482421875, 0.029815673828125, 0.0784912109375, 0.15673828125, 0.113037109375, 0.0916748046875, 0.1075439453125, 0.036590576...
embed
10231815_c0
10231815
prolog
0
Title: Recursion in Prolog - Finding Path Between Cities Problem title: Recursion in Prolog - Finding Path Between Cities Tags: recursion, unification, prolog Problem: Recursion in Prolog - Finding Path Between Cities I'm trying to work my way through the exercises at the bottom of this page and I find myself utterly c...
Recursion in Prolog - Finding Path Between Cities Recursion in Prolog - Finding Path Between Cities recursion unification prolog Recursion Prolog Finding Path Between Cities Out _17 Exit Call _217 _242 _267 _292 Recursion in Prolog - Finding Path Between Cities I'm trying to work my way through the exercises at the bot...
[ 0.00051116943359375, 0.0123291015625, 0.0152587890625, 0.01043701171875, 0.00634765625, 0.015869140625, -0.01416015625, -0.0115966796875, 0.01495361328125, -0.052734375, -0.00579833984375, -0.0059814453125, -0.02587890625, 0.00579833984375, 0.006805419921875, -0.002410888671875, 0.00...
[ 165428, 42, 6889, 1250, 4867, 26040, 214, 108421, 6300, 1177, 33, 44156, 23, 195625, 1830, 51, 41274, 502, 13538, 2489, 5443, 217, 26265, 4046, 4235, 81979, 103136, 55681, 14012, 1031, 8781, 7413, 1810, 7722, 47, 26983, 17721, 6626, 162708,...
[ 0.162109375, 0.153076171875, 0.1224365234375, 0.1390380859375, 0.2340087890625, 0.1170654296875, 0.016204833984375, 0.2174072265625, 0.1214599609375, 0.168701171875, 0.116455078125, 0.15234375, 0.007476806640625, 0.2056884765625, 0.042816162109375, 0.1488037109375, 0.0928955078125, ...
embed
29907432_c0
29907432
prolog
0
Title: How to compile picoProlog from source code? Problem title: How to compile picoProlog from source code? Tags: c, pascal, prolog Problem: How to compile picoProlog from source code? I am a student in Computer Science, and I am learning about logic programming with Prolog. I have found an interesting Prolog interpr...
How to compile picoProlog from source code? How to compile picoProlog from source code? c pascal prolog source How How to compile picoProlog from source code? I am a student in Computer Science, and I am learning about logic programming with Prolog. I have found an interesting Prolog interpreter, picoProlog ( http://sp...
[ -0.0034027099609375, 0.0223388671875, 0.01507568359375, 0.01708984375, -0.002227783203125, -0.005645751953125, -0.005950927734375, -0.00836181640625, -0.01055908203125, -0.033935546875, -0.0067138671875, -0.0028228759765625, -0.00726318359375, -0.0029449462890625, 0.0260009765625, -0.0...
[ 11249, 47, 9969, 1340, 6, 90710, 10752, 4867, 1295, 31344, 18151, 32, 501, 452, 6827, 502, 9836, 23, 40139, 28745, 52080, 62775, 56037, 678, 1250, 14037, 49041, 29481, 56, 67709, 583, 17574, 113972, 172895, 2363, 165523, 49725, 98, 29908, ...
[ 0.125, 0.06488037109375, 0.2049560546875, 0.1878662109375, 0.0164337158203125, 0.267333984375, 0.2049560546875, 0.286865234375, 0.1424560546875, 0.242431640625, 0.2376708984375, 0.00885009765625, 0.100341796875, 0.098388671875, 0.142333984375, 0.1639404296875, 0.1226806640625, 0.04...
embed
4416656_c0
4416656
prolog
0
Title: Return shortest path with Breadth-first search in prolog Problem title: Return shortest path with Breadth-first search in prolog Tags: shortest-path, graph-theory, prolog Problem: Return shortest path with Breadth-first search in prolog I would like to find the shortest route from station A to station B in prolo...
Return shortest path with Breadth-first search in prolog Return shortest path with Breadth-first search in prolog shortest-path graph-theory prolog Breadth-first Start End Path Staion1 Station2 Abbesses Pigalle Lamarck Caulaincourt Ale Mouton Duvernet Porte Orle Alexandre Dumas Philippe Auguste Avron Alma Marcesu solve...
[ 0.005615234375, 0.004852294921875, 0.0133056640625, 0.01275634765625, -0.01123046875, -0.0027008056640625, -0.010498046875, -0.0184326171875, 0.0130615234375, -0.043701171875, 0.002288818359375, 0.004302978515625, -0.0159912109375, 0.003997802734375, 0.00970458984375, -0.00921630859375...
[ 173340, 16610, 525, 60875, 678, 6499, 712, 927, 13448, 33938, 502, 4867, 128405, 41382, 13794, 18878, 108421, 6512, 1830, 418, 38488, 304, 3157, 372, 43576, 58593, 13474, 1727, 2594, 60570, 16442, 118383, 4733, 45709, 1507, 814, 1179, 162981,...
[ 0.21630859375, 0.22607421875, 0.169921875, 0.22509765625, 0.037261962890625, 0.1220703125, 0.0928955078125, 0.09014892578125, 0.1136474609375, 0.2010498046875, 0.140380859375, 0.2357177734375, 0.1719970703125, 0.17578125, 0.0843505859375, 0.10595703125, 0.1671142578125, 0.108764648...
embed
62643532_c0
62643532
prolog
0
Title: misconception about how prolog works Problem title: misconception about how prolog works Tags: prolog Problem: misconception about how prolog works So I am currently learning prolog and I can't get my head around how this language works. "It tries all the possible solutions until it finds one, if it doesn't it r...
misconception about how prolog works misconception about how prolog works prolog Row Column Column1 Row1 Column2 Row2 Diff1 Diff2 misconception about how prolog works So I am currently learning prolog and I can't get my head around how this language works. "It tries all the possible solutions until it finds one, if it ...
[ 0.014404296875, 0.0152587890625, 0.035400390625, -0.0026092529296875, -0.013427734375, 0.004241943359375, -0.013671875, -0.00274658203125, 0.004547119140625, -0.041015625, 0.0203857421875, 0.0208740234375, -0.0159912109375, -0.0022125244140625, 0.00086212158203125, -0.006103515625, -...
[ 1239, 2271, 63928, 3642, 502, 4867, 43240, 96190, 233987, 191144, 418, 304, 52080, 10336, 46876, 23389, 1927, 756, 70, 7722, 51347, 24189, 7413, 1632, 2174, 22027, 18, 30646, 98320, 12301, 14602, 34601, 29806, 86869, 382, 41, 1755, 2967, 36...
[ 0.07098388671875, 0.11962890625, 0.113037109375, 0.08984375, 0.1912841796875, 0.2626953125, 0.1826171875, 0.150634765625, 0.1287841796875, 0.1748046875, 0.0186309814453125, 0.069580078125, 0.00311279296875, 0.0258636474609375, 0.1307373046875, 0.0279998779296875, 0.1165771484375, 0...
embed
16078292_c0
16078292
prolog
0
Title: Can&#x27;t access to a file in Prolog, always read the end_of_file atom Problem title: Can&#x27;t access to a file in Prolog, always read the end_of_file atom Tags: prolog Problem: Can't access to a file in Prolog, always read the end_of_file atom I am studying Prolog using SWI Prolog and I am finding some diffi...
Can&#x27;t access to a file in Prolog, always read the end_of_file atom Can&#x27;t access to a file in Prolog, always read the end_of_file atom prolog Can Prolog end_of_file File Query Call Exit _G697 Can't access to a file in Prolog, always read the end_of_file atom I am studying Prolog using SWI Prolog and I am findi...
[ 0.026123046875, -0.0035400390625, 0.00469970703125, 0.00830078125, -0.0238037109375, 0.0079345703125, 0.0157470703125, 0.004913330078125, -0.00799560546875, -0.04931640625, 0.0205078125, 0.037353515625, -0.0159912109375, 0.00142669677734375, 0.01318359375, 0.00075531005859375, 0.0266...
[ 4171, 3768, 18, 17203, 47, 11435, 23, 1250, 4867, 11343, 12301, 3564, 4390, 29822, 34627, 502, 42724, 58836, 26265, 5443, 217, 724, 194148, 35187, 159, 38969, 34844, 41018, 16454, 32562, 8781, 1528, 1295, 5570, 107730, 149186, 33022, 71924, ...
[ 0.04583740234375, 0.058258056640625, 0.06878662109375, 0.20361328125, 0.075439453125, 0.175048828125, 0.0745849609375, 0.1866455078125, 0.2208251953125, 0.1324462890625, 0.1732177734375, 0.133544921875, 0.1541748046875, 0.1279296875, 0.22509765625, 0.1270751953125, 0.108154296875, ...
embed
49036185_c0
49036185
prolog
0
Title: Concurrently applying a predicate to filter a list (SWI Prolog) Problem title: Concurrently applying a predicate to filter a list (SWI Prolog) Tags: prolog, swi-prolog, concurrency Problem: Concurrently applying a predicate to filter a list (SWI Prolog) My problem: apply a predicate to filter a list in parallel ...
Concurrently applying a predicate to filter a list (SWI Prolog) Concurrently applying a predicate to filter a list (SWI Prolog) prolog swi-prolog concurrency include prolog Concurrently SWI concurrent_ concurrent_maplist use_module N-1 ERROR Undefined However par_test Good Goals Concurrently applying a predicate to fil...
[ 0.00142669677734375, 0.00146484375, -0.0027313232421875, -0.01312255859375, -0.01470947265625, 0.0008087158203125, 0.01611328125, 0.017578125, -0.0062255859375, -0.05712890625, 0.01190185546875, 0.031982421875, -0.015380859375, -0.0177001953125, 0.000926971435546875, 0.0174560546875, ...
[ 1657, 163812, 59911, 1653, 2063, 67, 46312, 5303, 294, 38969, 1250, 4867, 502, 91, 2452, 3454, 108636, 982, 26698, 159, 133244, 62346, 6562, 4527, 83279, 541, 5759, 151206, 5983, 33306, 366, 6954, 18621, 2016, 16765, 2967, 23, 95103, 41361,...
[ 0.0640869140625, 0.193359375, 0.156005859375, 0.1866455078125, 0.1934814453125, 0.0802001953125, 0.2352294921875, 0.192626953125, 0.003875732421875, 0.186767578125, 0.1243896484375, 0.1424560546875, 0.10369873046875, 0.0009765625, 0.1585693359375, 0.096923828125, 0.136474609375, 0....
embed
14217966_c0
14217966
prolog
0
Title: How can I get the type of a term in SWI Prolog Problem title: How can I get the type of a term in SWI Prolog Tags: prolog Problem: How can I get the type of a term in SWI Prolog Is there a way to know what type is a variable in Prolog? I have the code test:- writeln('Please enter the absolut file name :'), read(...
How can I get the type of a term in SWI Prolog How can I get the type of a term in SWI Prolog prolog How SWI Prolog Please FileName Opening Stream read_file Lines at_end_of_stream LPrefs atom_length ERROR Thread pdt_console_client_0_Default Process Type How can I get the type of a term in SWI Prolog Is there a way to k...
[ 0.0213623046875, 0.00799560546875, -0.000484466552734375, 0.02978515625, -0.01141357421875, 0.0031280517578125, 0.001953125, 0.0245361328125, -0.0123291015625, -0.04443359375, 0.001983642578125, 0.00074005126953125, -0.0203857421875, -0.0230712890625, 0.0201416015625, 0.021484375, 0....
[ 11249, 831, 2046, 10644, 111, 13579, 159, 38969, 1250, 4867, 502, 30607, 42724, 163612, 13527, 115061, 12301, 29822, 16777, 3611, 86429, 29087, 34627, 23986, 151206, 136719, 13384, 40777, 222978, 2389, 187423, 11, 123996, 60457, 87, 23, 3917, ...
[ 0.017303466796875, 0.034912109375, 0.1083984375, 0.2291259765625, 0.078125, 0.255859375, 0.0516357421875, 0.20556640625, 0.1490478515625, 0.1910400390625, 0.10504150390625, 0.01025390625, 0.0394287109375, 0.02154541015625, 0.0328369140625, 0.06591796875, 0.1368408203125, 0.09985351...
embed
30281606_c0
30281606
prolog
0
Title: Implement a rule in prolog called &quot;stepWith&quot;, that takes three parameters, a list L and two integers i and j Problem title: Implement a rule in prolog called &quot;stepWith&quot;, that takes three parameters, a list L and two integers i and j Tags: prolog Problem: Implement a rule in prolog called "ste...
Implement a rule in prolog called &quot;stepWith&quot;, that takes three parameters, a list L and two integers i and j Implement a rule in prolog called &quot;stepWith&quot;, that takes three parameters, a list L and two integers i and j prolog only 6 Implement Namely Make You CLARIFICATION J-I Implement a rule in prol...
[ -0.01275634765625, 0.031982421875, -0.011474609375, 0.00787353515625, -0.006195068359375, 0.01416015625, -0.01336669921875, 0.0120849609375, 0.0096435546875, -0.0205078125, 0.0169677734375, 0.017822265625, -0.010009765625, 0.011474609375, 0.0126953125, 0.0016021728515625, 0.026123046...
[ 153941, 79986, 502, 4867, 95528, 194583, 74, 51776, 17262, 171859, 7, 5303, 339, 6626, 892, 17, 136, 1647, 23, 26255, 4734, 305, 15757, 538, 26176, 2583, 313, 47523, 122112, 821, 9, 568, 35839, 10, 30646, 29568, 2174, 70, 34292, 831, 82...
[ 0.253662109375, 0.2193603515625, 0.158447265625, 0.23193359375, 0.224609375, 0.315673828125, 0.004547119140625, 0.0880126953125, 0.170654296875, 0.2169189453125, 0.005645751953125, 0.150146484375, 0.1224365234375, 0.040252685546875, 0.0997314453125, 0.1273193359375, 0.1102294921875, ...
embed
17497330_c0
17497330
prolog
0
Title: Is this prolog sort program overflowing the stack simply because of its complexity--or because it&#x27;s wrong? Problem title: Is this prolog sort program overflowing the stack simply because of its complexity--or because it&#x27;s wrong? Tags: prolog, failure-slice Problem: Is this prolog sort program overflowi...
Is this prolog sort program overflowing the stack simply because of its complexity--or because it&#x27;s wrong? Is this prolog sort program overflowing the stack simply because of its complexity--or because it&#x27;s wrong? prolog failure-slice backtrack_perm perm_recurse Is this prolog sort program overflowing the sta...
[ 0.009765625, 0.01361083984375, 0.0235595703125, -0.0184326171875, -0.0108642578125, -0.00921630859375, -0.02197265625, -0.00531005859375, 0.017822265625, -0.033447265625, 0.021728515625, 0.0279541015625, 0.0181884765625, -0.0186767578125, 0.01220703125, -0.003448486328125, -0.0040283...
[ 2071, 903, 502, 4867, 12096, 1528, 645, 118664, 214, 177261, 42856, 6637, 6863, 27140, 2481, 3768, 44691, 70, 137578, 13348, 4420, 125728, 1264, 39, 117, 48650, 748, 155605, 33022, 706, 3454, 12765, 36766, 1632, 5303, 561, 22062, 111, 15700...
[ 0.058074951171875, 0.09600830078125, 0.184326171875, 0.2449951171875, 0.2303466796875, 0.1727294921875, 0.152587890625, 0.253662109375, 0.08697509765625, 0.183349609375, 0.0555419921875, 0.057861328125, 0.0239410400390625, 0.158203125, 0.06597900390625, 0.043212890625, 0.16943359375,...
embed
75779187_c0
75779187
prolog
0
Title: Why does my Prolog predicate not work, when it&#x27;s an exact copy of the one in Clocksin &amp; Mellish that does work? Problem title: Why does my Prolog predicate not work, when it&#x27;s an exact copy of the one in Clocksin &amp; Mellish that does work? Tags: prolog Problem: Why does my Prolog predicate not w...
Why does my Prolog predicate not work, when it&#x27;s an exact copy of the one in Clocksin &amp; Mellish that does work? Why does my Prolog predicate not work, when it&#x27;s an exact copy of the one in Clocksin &amp; Mellish that does work? prolog Why Prolog Clocksin Mellish Why does my Prolog predicate not work, when...
[ 0.0037078857421875, -0.021240234375, 0.0025482177734375, 0.0213623046875, -0.0206298828125, 0.0162353515625, 0.021484375, -0.0159912109375, 0.003875732421875, -0.0059814453125, 0.03125, 0.035888671875, 0.01177978515625, 0.00238037109375, 0.010009765625, -0.0191650390625, -0.000541687...
[ 44084, 14602, 759, 1250, 4867, 1653, 2063, 67, 959, 4488, 3768, 24763, 43658, 21135, 1596, 619, 13892, 15227, 502, 1632, 113860, 20697, 27958, 360, 9451, 79737, 60212, 179933, 38704, 29479, 10, 9393, 12477, 29568, 2174, 5117, 10750, 229231, ...
[ 0.0980224609375, 0.0278167724609375, 0.0177001953125, 0.1822509765625, 0.264892578125, 0.195556640625, 0.2117919921875, 0.108154296875, 0.127685546875, 0.1563720703125, 0.0179443359375, 0.1197509765625, 0.158447265625, 0.1705322265625, 0.1612548828125, 0.08349609375, 0.1282958984375,...
embed
5816801_c0
5816801
prolog
0
Title: Need Help Understanding Somethings In Prolog Problem title: Need Help Understanding Somethings In Prolog Tags: prolog Problem: Need Help Understanding Somethings In Prolog Am a beginner in Prolog and finding it hard to understand how backtracking works when using rules. I don't even know if backtracking works in...
Need Help Understanding Somethings In Prolog Need Help Understanding Somethings In Prolog prolog Need Help Understanding Somethings Prolog Output Goal Need Help Understanding Somethings In Prolog Am a beginner in Prolog and finding it hard to understand how backtracking works when using rules. I don't even know if back...
[ 0.00152587890625, 0.0205078125, 0.018310546875, 0.016845703125, -0.01409912109375, 0.034423828125, 0.01104736328125, 0.0157470703125, 0.0262451171875, -0.01416015625, 0.005889892578125, -0.02490234375, -0.01416015625, -0.01019287109375, 0.0205078125, 0.01300048828125, 0.0291748046875...
[ 52889, 39527, 9626, 144057, 200905, 360, 1250, 4867, 502, 13538, 2016, 1679, 28219, 4420, 125728, 214, 43240, 91736, 25632, 1528, 10554, 756, 3853, 892, 26255, 5303, 54397, 35978, 98441, 29806, 140992, 4358, 11522, 144851, 19537, 6868, 1810, ...
[ 0.0770263671875, 0.1270751953125, 0.074951171875, 0.07550048828125, 0.076171875, 0.03564453125, 0.132080078125, 0.1983642578125, 0.0904541015625, 0.025482177734375, 0.0648193359375, 0.01873779296875, 0.08221435546875, 0.1739501953125, 0.24462890625, 0.10430908203125, 0.100341796875, ...
embed
75449833_c0
75449833
prolog
0
Title: How is it that a clause that requires a ground term works, but that term isn&#x27;t ground outside of the clause? Problem title: How is it that a clause that requires a ground term works, but that term isn&#x27;t ground outside of the clause? Tags: prolog Problem: How is it that a clause that requires a ground t...
How is it that a clause that requires a ground term works, but that term isn&#x27;t ground outside of the clause? How is it that a clause that requires a ground term works, but that term isn&#x27;t ground outside of the clause? prolog How copy_term Len How is it that a clause that requires a ground term works, but that...
[ 0.002410888671875, 0.0299072265625, -0.005584716796875, 0.0206298828125, -0.01153564453125, 0.0076904296875, 0.005828857421875, -0.00897216796875, 0.002227783203125, -0.03662109375, 0.005889892578125, 0.009033203125, -0.0120849609375, -0.0042724609375, 0.01068115234375, 0.0123901367187...
[ 11249, 83, 70731, 13, 144570, 61585, 13579, 43240, 1284, 56112, 3768, 18, 50782, 502, 4867, 43658, 32166, 18226, 3034, 1556, 4734, 1632, 29806, 28219, 15400, 22027, 4488, 208124, 116120, 3387, 39933, 11001, 102588, 34, 1363, 1653, 2063, 31577...
[ 0.058685302734375, 0.009307861328125, 0.19384765625, 0.11181640625, 0.163818359375, 0.2215576171875, 0.225830078125, 0.1519775390625, 0.0546875, 0.05718994140625, 0.04754638671875, 0.075439453125, 0.14013671875, 0.1148681640625, 0.1815185546875, 0.1888427734375, 0.2164306640625, 0....
embed
64831615_c0
64831615
prolog
0
Title: Similar like world blocks in prolog with new rules Problem title: Similar like world blocks in prolog with new rules Tags: prolog, planning Problem: Similar like world blocks in prolog with new rules I will go on a trip and take my pets, I have 3 animals (dog, cat, rat), but they don't get along very well. I can...
Similar like world blocks in prolog with new rules Similar like world blocks in prolog with new rules prolog planning Similar Pilas Pila1 Tope1 Pila2 OtrasPilas Pilas1 Ys1 Estado Here Animal NO_Llevar Este_no Nodo PrimerNodo UltimoNodo Camino MenosElUltimo solucion4 NodoInicial Sol NodoMeta Similar like world blocks in...
[ -0.004669189453125, 0.017578125, 0.0031280517578125, 0.01177978515625, -0.0032196044921875, -0.01141357421875, -0.0128173828125, 0.00970458984375, 0.0045166015625, -0.0291748046875, -0.004638671875, 0.0126953125, -0.01287841796875, -0.006988525390625, -0.0172119140625, 0.017578125, -...
[ 209683, 1884, 8999, 46389, 7, 502, 4867, 678, 3525, 91736, 58136, 13289, 162, 11, 418, 4792, 13, 109221, 159742, 990, 12383, 11853, 82821, 9520, 133, 1961, 3224, 157, 438, 46282, 5021, 14976, 23463, 55948, 1111, 93193, 155294, 617, 6678, ...
[ 0.1197509765625, 0.0755615234375, 0.11328125, 0.2384033203125, 0.0587158203125, 0.1510009765625, 0.2137451171875, 0.081298828125, 0.115966796875, 0.17138671875, 0.23193359375, 0.1358642578125, 0.0556640625, 0.04388427734375, 0.031097412109375, 0.112548828125, 0.0107421875, 0.061065...
embed
60176929_c0
60176929
prolog
0
Title: How to get full stop in this Prolog predicate? Problem title: How to get full stop in this Prolog predicate? Tags: failure-slice, prolog Problem: How to get full stop in this Prolog predicate? I have this following code: factor_in_inches(Unit, Scale) :- recursiveScale(Unit, Scale, inch). %Part3 scale_factor(Unit...
How to get full stop in this Prolog predicate? How to get full stop in this Prolog predicate? failure-slice prolog How Prolog factor_in_inches Unit Scale Part3 scale_factor Unit1 Unit2 Factor Part Scale1 Part2 Big Smallest Smaller MoreScale ScaleAgain Quantity1 Quantity2 Factor1 Factor2 How to get full stop in this Pro...
[ 0.00885009765625, 0.000492095947265625, 0.01361083984375, 0.000118255615234375, -0.0213623046875, -0.008544921875, -0.016357421875, 0.01043701171875, 0.007049560546875, 0.003997802734375, 0.01019287109375, 0.01513671875, -0.0135498046875, -0.01361083984375, 0.0289306640625, 0.007568359...
[ 11249, 47, 2046, 4393, 7279, 23, 903, 1250, 4867, 1653, 2063, 67, 137578, 13348, 502, 31461, 73, 17007, 46640, 152653, 16995, 363, 105994, 144810, 117969, 105508, 525, 5455, 57965, 75344, 304, 18151, 35509, 15824, 11675, 109921, 50218, 3034, ...
[ 0.08489990234375, 0.02471923828125, 0.0950927734375, 0.170654296875, 0.256591796875, 0.045379638671875, 0.083984375, 0.1591796875, 0.244384765625, 0.150634765625, 0.1839599609375, 0.06787109375, 0.2420654296875, 0.1904296875, 0.1181640625, 0.1502685546875, 0.057098388671875, 0.0496...
embed
29888420_c0
29888420
prolog
0
Title: prolog uncaught exception error Problem title: prolog uncaught exception error Tags: prolog Problem: prolog uncaught exception error Hi I'm new to prolog and I was trying to create a basic family tree so fair i have this: /* Database for family. It consists of facts and rules. */ /* Facts */ female(ella). female...
prolog uncaught exception error prolog uncaught exception error prolog Database Facts father_of mother_of Rules grandmother_of Arnold Mark is_male is_female prolog uncaught exception error Hi I'm new to prolog and I was trying to create a basic family tree so fair i have this: However, I was trying to do this: Define (...
[ 0.02880859375, 0.00775146484375, -0.0037078857421875, 0.004852294921875, -0.00738525390625, 0.0274658203125, 0.0028076171875, -0.0166015625, 0.004638671875, -0.04052734375, -0.0037689208984375, -0.0196533203125, 0.000682830810546875, -0.001373291015625, 0.031982421875, 0.00291442871093...
[ 502, 4867, 51, 408, 46526, 131527, 18499, 187781, 132640, 67373, 4390, 42732, 139118, 9963, 432, 9319, 126756, 7880, 83, 49100, 2242, 3525, 31577, 28282, 62822, 14449, 53201, 44075, 262, 64552, 4028, 3934, 63399, 79986, 132, 1542, 30646, 6373...
[ 0.1676025390625, 0.252685546875, 0.1165771484375, 0.1748046875, 0.1824951171875, 0.2139892578125, 0.21337890625, 0.1826171875, 0.1300048828125, 0.235107421875, 0.0955810546875, 0.164306640625, 0.2080078125, 0.0966796875, 0.1322021484375, 0.06280517578125, 0.2288818359375, 0.2230224...
embed
22670696_c0
22670696
prolog
0
Title: how to avoid duplicates in this case Problem title: how to avoid duplicates in this case Tags: prolog Problem: how to avoid duplicates in this case I have now this working as I want it : male(roelof). male(mans). male(ronald). male(jan). female(chantal). female(marie). female(gerda). female(dagmar). female(denis...
how to avoid duplicates in this case how to avoid duplicates in this case prolog Looks Gives father_child Child Father mother_child Mother same_father Sibling same_mother Persons Displays display_siblings Person Sibs display_the_siblings Display display_many Many display_the-siblings better_display Single Element how t...
[ -0.00616455078125, 0.00848388671875, 0.01043701171875, -0.0103759765625, -0.0228271484375, -0.000911712646484375, -0.0062255859375, 0.0123291015625, 0.0010223388671875, -0.033935546875, 0.00592041015625, -0.0115966796875, 0.005859375, 0.01495361328125, 0.02001953125, 0.02197265625, 0...
[ 3642, 47, 71864, 171763, 1636, 23, 903, 7225, 502, 4867, 60818, 77878, 67373, 123829, 160960, 42732, 38472, 115217, 5701, 1021, 602, 79298, 15270, 90045, 44116, 76103, 33992, 16145, 669, 52455, 2347, 11522, 3827, 20706, 43609, 48325, 20697, 2...
[ 0.0616455078125, 0.041656494140625, 0.21728515625, 0.25244140625, 0.17333984375, 0.09271240234375, 0.11572265625, 0.1412353515625, 0.14111328125, 0.1881103515625, 0.1856689453125, 0.08746337890625, 0.0936279296875, 0.0457763671875, 0.061126708984375, 0.0248260498046875, 0.00238037109...
embed
51673750_c0
51673750
prolog
0
Title: DCG prolog returning multiple variable answers Problem title: DCG prolog returning multiple variable answers Tags: dcg, prolog Problem: DCG prolog returning multiple variable answers Consider the following code snippet: The task is to get variables and their values from sentences of the form [the, variable, x, i...
DCG prolog returning multiple variable answers DCG prolog returning multiple variable answers dcg prolog DCG use_module Data Answers Variables PreviousVariables CurrentVariables Remainder SentencesInBetween Answer DCG prolog returning multiple variable answers Consider the following code snippet: The task is to get var...
[ 0.014892578125, -0.00616455078125, -0.01177978515625, 0.0120849609375, 0.000911712646484375, 0.0218505859375, -0.0023193359375, -0.0022735595703125, 0.0179443359375, -0.031494140625, -0.00799560546875, -0.00628662109375, 0.0027008056640625, 0.0072021484375, 0.0211181640625, 0.035888671...
[ 391, 56367, 502, 4867, 30646, 48716, 77336, 35166, 104, 177, 4527, 83279, 11809, 130373, 111477, 13566, 6422, 81827, 14, 19736, 114063, 24931, 820, 63999, 69098, 4153, 95211, 1177, 18151, 66211, 2046, 142424, 149357, 3173, 2347, 1022, 83, 436...
[ 0.077392578125, 0.208251953125, 0.1387939453125, 0.208740234375, 0.119384765625, 0.186767578125, 0.2607421875, 0.1851806640625, 0.007965087890625, 0.06207275390625, 0.0740966796875, 0.1312255859375, 0.0694580078125, 0.24853515625, 0.2305908203125, 0.1533203125, 0.1221923828125, 0.1...
embed
3325045_c0
3325045
prolog
0
Title: Stoping generator in first answer, use return instead Problem title: Stoping generator in first answer, use return instead Tags: python, prolog-cut, prolog, yield Problem: Stoping generator in first answer, use return instead I am using too much to my taste the pattern (after every possible solution branch of th...
Stoping generator in first answer, use return instead Stoping generator in first answer, use return instead python prolog-cut prolog yield Stoping word_path None correct_neighbour neighbour_set used_copy Stoping generator in first answer, use return instead I am using too much to my taste the pattern (after every possi...
[ 0.00836181640625, 0.00262451171875, 0.0201416015625, -0.0029144287109375, -0.0074462890625, 0.0225830078125, -0.0150146484375, -0.0238037109375, -0.00799560546875, -0.0556640625, -0.00201416015625, 0.034423828125, -0.00390625, 0.0107421875, 0.0213623046875, 0.0084228515625, -0.009033...
[ 42284, 214, 145823, 5117, 35166, 4527, 30646, 64457, 17198, 50828, 502, 4867, 19774, 11180, 19388, 2565, 128405, 438, 26785, 6958, 38648, 3509, 11814, 137366, 17368, 5792, 5045, 90365, 103510, 29806, 33938, 18151, 7413, 337, 129384, 34153, 1080...
[ 0.1961669921875, 0.044403076171875, 0.260009765625, 0.0924072265625, 0.169677734375, 0.08203125, 0.276123046875, 0.17041015625, 0.050323486328125, 0.126953125, 0.09765625, 0.16357421875, 0.1019287109375, 0.05706787109375, 0.1187744140625, 0.09039306640625, 0.144775390625, 0.0814208...
embed
33668458_c0
33668458
prolog
0
Title: Problems with German Umlaute, TCPIP from SWI Prolog to JAVA Problem title: Problems with German Umlaute, TCPIP from SWI Prolog to JAVA Tags: ffi, tcp, java, prolog, swi-prolog Problem: Problems with German Umlaute, TCPIP from SWI Prolog to JAVA I try to implement a tcpip connection between a Prolog server applic...
Problems with German Umlaute, TCPIP from SWI Prolog to JAVA Problems with German Umlaute, TCPIP from SWI Prolog to JAVA ffi tcp java prolog swi-prolog SWI client Problems German Umlaute TCPIP Prolog JAVA BufferedReader InputStreamReader clientSocket.getInputStream UTF-8 StringBuilder inputreader.readLine System.out.pri...
[ 0.034423828125, -0.002899169921875, 0.007110595703125, 0.006622314453125, -0.00653076171875, -0.037109375, -0.004791259765625, 0.0123291015625, -0.0162353515625, 0.002899169921875, 0.034423828125, 0.0054931640625, -0.015869140625, -0.0008392333984375, 0.0115966796875, -0.00662231445312...
[ 15649, 678, 30839, 2793, 143, 6743, 17854, 10931, 1295, 159, 38969, 1250, 4867, 47, 189950, 24500, 121422, 79, 330, 502, 2452, 3454, 23282, 18234, 31345, 115061, 30992, 17376, 23351, 121137, 107730, 1283, 39116, 12353, 22687, 57553, 5423, 190...
[ 0.1622314453125, 0.00775146484375, 0.2325439453125, 0.1446533203125, 0.10162353515625, 0.2061767578125, 0.1083984375, 0.170654296875, 0.048187255859375, 0.0389404296875, 0.1937255859375, 0.14404296875, 0.2078857421875, 0.041656494140625, 0.218017578125, 0.1119384765625, 0.11218261718...
embed
40722648_c0
40722648
prolog
0
Title: How to correctly write an implication in implication with prolog? Problem title: How to correctly write an implication in implication with prolog? Tags: prolog Problem: How to correctly write an implication in implication with prolog? I am trying to write a predicate, that will be true if and only then if list D...
How to correctly write an implication in implication with prolog? How to correctly write an implication in implication with prolog? prolog How sub_third D_new A_new How to correctly write an implication in implication with prolog? I am trying to write a predicate, that will be true if and only then if list D contains e...
[ -0.0155029296875, -0.006683349609375, 0.00909423828125, 0.01312255859375, -0.00107574462890625, 0.026123046875, -0.00921630859375, 0.0203857421875, 0.00921630859375, -0.01312255859375, 0.0135498046875, 0.018798828125, -0.01104736328125, 0.0196533203125, 0.0264892578125, -0.002090454101...
[ 11249, 26785, 33022, 17914, 1363, 23, 678, 502, 4867, 142, 1614, 95037, 71, 391, 54936, 62, 31577, 1653, 2063, 67, 29568, 4734, 2174, 5303, 70541, 80854, 1295, 14012, 20028, 1221, 98320, 190, 6626, 17262, 5256, 18151, 159750, 19725, 452, ...
[ 0.042999267578125, 0.1435546875, 0.19091796875, 0.26318359375, 0.1524658203125, 0.04315185546875, 0.0775146484375, 0.1849365234375, 0.2486572265625, 0.02508544921875, 0.1566162109375, 0.217041015625, 0.1041259765625, 0.1116943359375, 0.10986328125, 0.06427001953125, 0.043975830078125...
embed
43500776_c0
43500776
prolog
0
Title: Interpreters riddle in prolog Problem title: Interpreters riddle in prolog Tags: zebra-puzzle, prolog Problem: Interpreters riddle in prolog Here's a riddle's info Six interpreters: Fran French, Geraldine German, Dudley Dutch, Spike Spanish, Polly Polish and Romanian Ron. Everyone speaks two languages, among the...
Interpreters riddle in prolog Interpreters riddle in prolog zebra-puzzle prolog Interpreters rule1 rule2 rule3 rule4 rule5 rule6a rule6b rule7 rule7a rule7b rule7c rule7d rule8 rule6 Interpreters riddle in prolog Here's a riddle's info Six interpreters: Fran French, Geraldine German, Dudley Dutch, Spike Spanish, Polly ...
[ 0.00726318359375, -0.01025390625, -0.00139617919921875, 0.0166015625, -0.019775390625, 0.01312255859375, -0.01495361328125, 0.02294921875, 0.0076904296875, -0.03515625, 0.0028228759765625, 0.0014801025390625, -0.015625, -0.0162353515625, 0.021240234375, 0.02783203125, -0.000503540039...
[ 5337, 56359, 1314, 31351, 19298, 23, 502, 4867, 116232, 1766, 13894, 133, 79986, 418, 363, 617, 910, 966, 1019, 11853, 10, 3004, 84247, 29481, 25408, 92265, 161237, 1212, 30839, 786, 71, 4293, 174705, 33365, 195374, 9017, 28820, 16554, 3327...
[ 0.198974609375, 0.28271484375, 0.21484375, 0.1810302734375, 0.163818359375, 0.0355224609375, 0.206787109375, 0.220703125, 0.2210693359375, 0.06890869140625, 0.111328125, 0.053863525390625, 0.11279296875, 0.01220703125, 0.0225830078125, 0.0185089111328125, 0.0738525390625, 0.0533142...
embed
50615716_c0
50615716
prolog
0
Title: Predicate works but can&#x27;t fill in the blanks automatically Problem title: Predicate works but can&#x27;t fill in the blanks automatically Tags: prolog Problem: Predicate works but can't fill in the blanks automatically I wrote a predicate that takes two lists, one with the link s and one using those link s ...
Predicate works but can&#x27;t fill in the blanks automatically Predicate works but can&#x27;t fill in the blanks automatically prolog only Predicate Can Elem Swap List Res Ring Length First Last member_or Alt Second Predicate works but can't fill in the blanks automatically I wrote a predicate that takes two lists, on...
[ -0.019775390625, 0.000385284423828125, 0.004547119140625, 0.011474609375, -0.02685546875, 0.01348876953125, -0.013671875, 0.0140380859375, 0.009521484375, -0.00628662109375, 0.0016632080078125, 0.015869140625, 0.01116943359375, 0.0101318359375, 0.00093841552734375, 0.01055908203125, ...
[ 7145, 2063, 67, 43240, 1284, 831, 3768, 18, 26292, 23, 44237, 191082, 7, 502, 4867, 4734, 4171, 540, 195, 43062, 254, 32036, 9624, 21434, 77554, 23972, 21672, 32786, 10544, 77648, 54397, 1653, 51776, 6626, 5303, 3126, 91, 17368, 35604, 12...
[ 0.1986083984375, 0.2296142578125, 0.1209716796875, 0.1505126953125, 0.046722412109375, 0.09326171875, 0.0506591796875, 0.0732421875, 0.1890869140625, 0.13427734375, 0.2025146484375, 0.19189453125, 0.026763916015625, 0.115478515625, 0.1876220703125, 0.0245208740234375, 0.0265350341796...
embed
31357006_c0
31357006
prolog
0
Title: What is the general pattern for creating a dcg for file input? Problem title: What is the general pattern for creating a dcg for file input? Tags: swi-prolog, prolog, fasta, dcg Problem: What is the general pattern for creating a dcg for file input? I always seem to struggle to write DCG's to parse input files. ...
What is the general pattern for creating a dcg for file input? What is the general pattern for creating a dcg for file input? swi-prolog prolog fasta dcg What use_module portray_text set_prolog_flag double_quotes back_quotes fasta_file Section Sections fasta_section fasta_description Description fasta_seq Sequence no_g...
[ 0.022705078125, 0.01470947265625, -0.012939453125, 0.0020751953125, 0.0089111328125, 0.00909423828125, 0.0022430419921875, -0.006805419921875, 0.0103759765625, -0.021484375, -0.00113677978515625, -0.0081787109375, -0.01251220703125, 0.016357421875, 0.0091552734375, 0.0198974609375, 0...
[ 4537, 103510, 100, 105233, 104, 238, 177, 11435, 107730, 10, 2452, 3454, 4867, 502, 4271, 11, 4527, 83279, 11469, 7092, 22829, 5423, 190872, 41929, 68726, 4420, 29822, 140978, 7, 58994, 59478, 70643, 864, 944, 110, 134873, 724, 37315, 18822...
[ 0.1331787109375, 0.2244873046875, 0.03558349609375, 0.171142578125, 0.0831298828125, 0.090576171875, 0.1983642578125, 0.1387939453125, 0.199951171875, 0.0295257568359375, 0.149658203125, 0.06103515625, 0.164794921875, 0.07318115234375, 0.1422119140625, 0.1451416015625, 0.088012695312...
embed
55037681_c0
55037681
prolog
0
Title: I want to implement the predicate noDupl/2 in Prolog &amp; have trouble with singleton variables Problem title: I want to implement the predicate noDupl/2 in Prolog &amp; have trouble with singleton variables Tags: list, prolog Problem: I want to implement the predicate noDupl/2 in Prolog & have trouble with sin...
I want to implement the predicate noDupl/2 in Prolog &amp; have trouble with singleton variables I want to implement the predicate noDupl/2 in Prolog &amp; have trouble with singleton variables list prolog Prolog Tail List I want to implement the predicate noDupl/2 in Prolog & have trouble with singleton variables My c...
[ -0.0036468505859375, 0.0283203125, -0.00003075599670410156, -0.0020904541015625, -0.0250244140625, 0.0322265625, 0.005523681640625, -0.0003566741943359375, 0.006256103515625, -0.031494140625, -0.01263427734375, -0.0052490234375, 0.0067138671875, 0.004669189453125, 0.00787353515625, 0.0...
[ 29479, 1653, 2063, 67, 110, 17726, 2424, 12477, 1250, 4867, 25133, 63134, 11001, 1507, 77336, 5303, 502, 1218, 379, 32036, 169463, 100094, 11814, 135812, 101935, 108975, 66161, 24145, 171763, 5117, 10750, 47, 7968, 53, 731, 17932, 1636, 27781...
[ 0.173095703125, 0.170166015625, 0.1922607421875, 0.0755615234375, 0.161376953125, 0.1689453125, 0.2236328125, 0.2398681640625, 0.1591796875, 0.214599609375, 0.009307861328125, 0.0906982421875, 0.144287109375, 0.1534423828125, 0.222412109375, 0.181884765625, 0.0810546875, 0.09082031...
embed
7058983_c0
7058983
prolog
0
Title: Tautology Checker for GNU Prolog Problem title: Tautology Checker for GNU Prolog Tags: prolog, theorem-proving, gnu-prolog, open-source Problem: Tautology Checker for GNU Prolog I am looking for open-source implementations of tautology checkers written in GNU Prolog (implementation for SWI-Prolog is acceptable a...
Tautology Checker for GNU Prolog Tautology Checker for GNU Prolog prolog theorem-proving gnu-prolog open-source Tautology Checker GNU Prolog Tautology Checker for GNU Prolog I am looking for open-source implementations of tautology checkers written in GNU Prolog (implementation for SWI-Prolog is acceptable as well, but...
[ 0.0026397705078125, 0.0162353515625, 0.01251220703125, -0.0029144287109375, 0.0009918212890625, -0.0091552734375, 0.00848388671875, -0.01031494140625, -0.0203857421875, -0.046142578125, 0.0137939453125, 0.0172119140625, -0.016357421875, 0.0018768310546875, 0.0115966796875, 0.0098266601...
[ 21139, 18, 25443, 38679, 56, 100, 165132, 1250, 4867, 502, 70, 58391, 70628, 104155, 3454, 9803, 60427, 16487, 208124, 5705, 12765, 1314, 197648, 159, 38969, 10752, 213850, 12601, 1884, 61590, 1528, 107730, 41, 110, 22062, 831, 12921, 41206, ...
[ 0.1861572265625, 0.1246337890625, 0.1783447265625, 0.2440185546875, 0.1549072265625, 0.045623779296875, 0.2325439453125, 0.1700439453125, 0.203857421875, 0.135498046875, 0.037109375, 0.1805419921875, 0.143310546875, 0.18505859375, 0.138427734375, 0.086181640625, 0.10198974609375, 0...
embed
38064479_c0
38064479
prolog
0
Title: How to validate commutativity involving the dif/2 constraint? Problem title: How to validate commutativity involving the dif/2 constraint? Tags: prolog-dif, clp, prolog Problem: How to validate commutativity involving the dif/2 constraint? There is a lot of hype around the dif/2 constraint, especially as a rescu...
How to validate commutativity involving the dif/2 constraint? How to validate commutativity involving the dif/2 constraint? prolog-dif clp prolog How Welcome SWI-Prolog Multi-threaded Version Copyright University Amsterdam How to validate commutativity involving the dif/2 constraint? There is a lot of hype around the d...
[ -0.010009765625, -0.0234375, 0.0166015625, 0.025146484375, -0.00098419189453125, -0.01031494140625, -0.019775390625, -0.006683349609375, -0.00077056884765625, -0.00921630859375, -0.005096435546875, 0.025146484375, 0.0264892578125, 0.0164794921875, 0.0003204345703125, -0.006622314453125...
[ 11249, 44622, 67, 375, 68754, 54613, 3784, 45755, 12477, 158, 2816, 4288, 502, 4867, 428, 420, 254, 91334, 38969, 10752, 39116, 40647, 4189, 12535, 21391, 53, 5915, 2119, 1081, 114777, 351, 50718, 320, 69112, 28728, 64176, 27706, 60089, 277...
[ 0.03778076171875, 0.226318359375, 0.0943603515625, 0.094482421875, 0.2117919921875, 0.149658203125, 0.06414794921875, 0.2166748046875, 0.25390625, 0.0714111328125, 0.197509765625, 0.0701904296875, 0.06390380859375, 0.10443115234375, 0.05120849609375, 0.06719970703125, 0.0105895996093...
embed
12539523_c0
12539523
prolog
0
Title: A simple synonym matcher in Prolog (well, rubylog) Problem title: A simple synonym matcher in Prolog (well, rubylog) Tags: prolog, ruby Problem: A simple synonym matcher in Prolog (well, rubylog) I'm experimenting with rubylog, which is a Prolog for Ruby. My goal is to create logical links between words to dig u...
A simple synonym matcher in Prolog (well, rubylog) A simple synonym matcher in Prolog (well, rubylog) prolog ruby Rubylog::DSL::Constants Prolog Symbol.rubylog_functor synonym_of X.synonym X.synonym_of Y.synonym_of math.synonym_of mathematics.synonym_of Synonyms math.synonym to_a maths.synonym mathematics.synonym Y.syn...
[ -0.0106201171875, 0.01300048828125, 0.003173828125, 0.0184326171875, 0.00592041015625, 0.0009002685546875, 0.01080322265625, 0.0091552734375, 0.00567626953125, -0.03857421875, 0.005157470703125, -0.003387451171875, -0.0059814453125, -0.0150146484375, 0.00872802734375, -0.009033203125, ...
[ 8781, 164661, 110394, 1250, 4867, 19256, 21922, 53, 502, 158189, 114479, 42539, 131899, 882, 1272, 16498, 18770, 4390, 1193, 12654, 45757, 990, 48909, 140363, 19010, 47, 41637, 28007, 69236, 28282, 62775, 22317, 17721, 34153, 1466, 94878, 60525...
[ 0.1639404296875, 0.23291015625, 0.2802734375, 0.14501953125, 0.224365234375, 0.0226898193359375, 0.1175537109375, 0.0960693359375, 0.10211181640625, 0.21728515625, 0.083251953125, 0.1053466796875, 0.189453125, 0.05230712890625, 0.08123779296875, 0.061859130859375, 0.0860595703125, ...
embed
55068525_c0
55068525
prolog
0
Title: How to return a list of recommendations in Prolog? Problem title: How to return a list of recommendations in Prolog? Tags: prolog, prolog-findall Problem: How to return a list of recommendations in Prolog? For my assignment, I am supposed to list 20 potential pets and then define facts about each of the pets. Th...
How to return a list of recommendations in Prolog? How to return a list of recommendations in Prolog? prolog prolog-findall How Prolog pet_size_ok pet_size sleep_type_ok sleep_type pet_location_ok pet_location kind_ok life_ok which_pet Size Sleep Place Type Age Pets Suggestions How to return a list of recommendations i...
[ 0.00439453125, 0.0233154296875, 0.006591796875, 0.01416015625, -0.000732421875, 0.006622314453125, -0.0111083984375, 0.00020885467529296875, -0.0038299560546875, -0.0089111328125, -0.000036716461181640625, -0.004669189453125, -0.01434326171875, -0.01806640625, 0.0252685546875, 0.009643...
[ 11249, 30646, 5303, 111, 209236, 23, 1250, 4867, 502, 111607, 5584, 8093, 62539, 685, 60268, 50986, 87632, 8562, 6897, 5408, 80378, 132140, 41076, 60457, 72944, 26516, 141933, 95486, 387, 38516, 61924, 15824, 26458, 101785, 43606, 17582, 28288,...
[ 0.03436279296875, 0.2003173828125, 0.17236328125, 0.030792236328125, 0.2509765625, 0.044769287109375, 0.1566162109375, 0.243408203125, 0.0986328125, 0.0325927734375, 0.08087158203125, 0.1949462890625, 0.06243896484375, 0.06341552734375, 0.1312255859375, 0.10675048828125, 0.0579223632...
embed
60036683_c0
60036683
prolog
0
Title: Why can&#x27;t I reach the array data by the array name in Prolog? Problem title: Why can&#x27;t I reach the array data by the array name in Prolog? Tags: prolog Problem: Why can't I reach the array data by the array name in Prolog? I'm trying to build a chess game in Prolog, and I started by studying this Stack...
Why can&#x27;t I reach the array data by the array name in Prolog? Why can&#x27;t I reach the array data by the array name in Prolog? prolog Why Prolog print_array Array array1 print_rows Row Rows print_row Cell Columns print_cell Why can't I reach the array data by the array name in Prolog? I'm trying to build a chess...
[ 0.0133056640625, 0.00494384765625, 0.025146484375, 0.0220947265625, -0.00066375732421875, 0.00848388671875, -0.01495361328125, 0.018310546875, 0.00860595703125, -0.0026397705078125, 0.00567626953125, 0.00286865234375, -0.0026092529296875, -0.023681640625, 0.00396728515625, -0.014099121...
[ 44084, 831, 3768, 18, 58359, 10298, 53, 2053, 9351, 1250, 4867, 390, 23, 502, 28412, 19305, 69253, 418, 15555, 96190, 80743, 233987, 34680, 45367, 290, 7, 6712, 118664, 17203, 6626, 157955, 40956, 12830, 45443, 126371, 28007, 8781, 43240, 2...
[ 0.0794677734375, 0.10162353515625, 0.020477294921875, 0.061492919921875, 0.2071533203125, 0.202392578125, 0.1119384765625, 0.1856689453125, 0.14306640625, 0.186279296875, 0.2447509765625, 0.0313720703125, 0.02215576171875, 0.1146240234375, 0.1614990234375, 0.1661376953125, 0.18640136...
embed
75145822_c0
75145822
prolog
0
Title: shift scheduling prolog company 50 people 30 days at least to rest days a week Problem title: shift scheduling prolog company 50 people 30 days at least to rest days a week Tags: prolog, scheduling, timetable Problem: shift scheduling prolog company 50 people 30 days at least to rest days a week I have a semi co...
shift scheduling prolog company 50 people 30 days at least to rest days a week shift scheduling prolog company 50 people 30 days at least to rest days a week prolog scheduling timetable days_in_month employees_num Days show_days two_days other_day_constraints day_constraint rest_if_not_work Min Element Lst EmpsNum list...
[ 0.007110595703125, -0.0002689361572265625, 0.00897216796875, 0.02490234375, -0.01318359375, -0.004547119140625, -0.0281982421875, 0.0037384033203125, 0.0026702880859375, -0.037841796875, 0.004608154296875, 0.0203857421875, -0.005645751953125, 0.007659912109375, 0.00164794921875, 0.0251...
[ 122925, 5094, 15246, 2069, 502, 4867, 14380, 836, 3395, 496, 13312, 19713, 47, 10588, 5895, 1733, 22819, 93215, 2606, 97292, 7639, 5636, 6626, 3789, 2816, 5155, 3190, 10869, 18244, 4211, 48325, 31678, 316, 5303, 10557, 429, 62766, 19943, 56...
[ 0.27392578125, 0.1243896484375, 0.169189453125, 0.0161590576171875, 0.169921875, 0.23486328125, 0.1590576171875, 0.20556640625, 0.108154296875, 0.1922607421875, 0.0888671875, 0.108154296875, 0.01092529296875, 0.150146484375, 0.109619140625, 0.010650634765625, 0.116455078125, 0.1696...
embed
43528158_c0
43528158
prolog
0
Title: How can i use the prompt or terminal to verify the animal identification Problem title: How can i use the prompt or terminal to verify the animal identification Tags: prolog, expert-system Problem: How can i use the prompt or terminal to verify the animal identification /* animal.pro animal identification game. ...
How can i use the prompt or terminal to verify the animal identification How can i use the prompt or terminal to verify the animal identification prolog expert-system How animal.pro Animal has_tawny_color has_dark_spots has_black_stripes has_long_neck has_long_legs does_not_fly is_black_and_white appears_in_story_Ancie...
[ 0.00159454345703125, 0.0147705078125, -0.0022430419921875, 0.041748046875, 0.006256103515625, 0.00186920166015625, 0.00616455078125, 0.02294921875, -0.0152587890625, -0.0303955078125, 0.0191650390625, -0.006805419921875, -0.00341796875, -0.01019287109375, 0.01214599609375, 0.0095214843...
[ 11249, 831, 17, 4527, 70, 105876, 707, 33949, 493, 40383, 26249, 221160, 502, 4867, 26808, 16751, 3454, 82821, 1556, 102, 434, 299, 46133, 1506, 53370, 151675, 7655, 10617, 86, 2594, 2828, 10869, 35121, 148477, 135179, 73, 86385, 45964, 633...
[ 0.05316162109375, 0.07135009765625, 0.07073974609375, 0.162841796875, 0.04071044921875, 0.266845703125, 0.0892333984375, 0.28564453125, 0.18115234375, 0.1937255859375, 0.2734375, 0.2381591796875, 0.163330078125, 0.210693359375, 0.1981201171875, 0.14697265625, 0.1766357421875, 0.237...
embed
53470483_c0
53470483
prolog
0
Title: Prolog - Explain trace steps in English Problem title: Prolog - Explain trace steps in English Tags: trace, unification, prolog Problem: Prolog - Explain trace steps in English plays(alice, leadguitar). plays(noah, drums). plays(mike, leadguitar). plays(mike, drums). plays(katie, baseguitar). plays(drew, leadgui...
Prolog - Explain trace steps in English Prolog - Explain trace steps in English trace unification prolog Prolog Explain English Person1 Person2 Person3 Prolog - Explain trace steps in English I write a new rule called combo that determines whether or not three people can make a combo with a drummer, a base guitar, and ...
[ 0.0174560546875, 0.015869140625, -0.00384521484375, 0.0294189453125, -0.005462646484375, 0.0140380859375, -0.0079345703125, 0.0103759765625, 0.0078125, -0.018798828125, -0.00897216796875, 0.01708984375, 0.0030059814453125, -0.009521484375, -0.005157470703125, 0.009765625, 0.020874023...
[ 1250, 4867, 60075, 16442, 144851, 98441, 23, 14941, 51, 41274, 502, 15270, 418, 304, 363, 33022, 3525, 79986, 375, 837, 83324, 17262, 3395, 831, 3249, 678, 47617, 1991, 3647, 101275, 37105, 4171, 169361, 10, 13348, 136, 324, 350, 29568, 3...
[ 0.200927734375, 0.25439453125, 0.07379150390625, 0.134033203125, 0.2281494140625, 0.2333984375, 0.05621337890625, 0.2188720703125, 0.156494140625, 0.12890625, 0.15771484375, 0.14697265625, 0.06964111328125, 0.1005859375, 0.1580810546875, 0.058807373046875, 0.043182373046875, 0.1613...
embed
54984486_c0
54984486
prolog
0
Title: Translation to DCG Semicontext not working Problem title: Translation to DCG Semicontext not working Tags: dcg, prolog, dcg-semicontext Problem: Translation to DCG Semicontext not working Since this question uses list, I wanted to solve it using DCG. In the process I realized that semicontext could be used. ( DC...
Translation to DCG Semicontext not working Translation to DCG Semicontext not working dcg prolog dcg-semicontext list Translation DCG Semicontext count_dcg Singleton Need begin_tests end_tests run_tests PL-Unit ERROR question_110.pl:80 question_110.pl:84 question_110.pl:88 question_110.pl:92 question_110.pl:96 question...
[ -0.000675201416015625, 0.0126953125, 0.01300048828125, 0.0081787109375, 0.0152587890625, 0.022216796875, -0.025634765625, -0.0052490234375, 0.015869140625, -0.014404296875, -0.0003986358642578125, 0.0101318359375, 0.00421142578125, 0.0250244140625, 0.01806640625, -0.00531005859375, -...
[ 194927, 47, 391, 56367, 84420, 2271, 22829, 959, 20697, 104, 238, 177, 502, 4867, 84505, 5303, 54529, 43609, 1507, 52889, 9842, 6954, 3564, 11675, 33106, 85600, 151206, 9655, 36053, 4836, 13903, 12772, 12231, 11648, 3559, 363, 60818, 31251, ...
[ 0.250244140625, 0.1396484375, 0.1134033203125, 0.198486328125, 0.1737060546875, 0.0938720703125, 0.1920166015625, 0.05633544921875, 0.153564453125, 0.03387451171875, 0.042236328125, 0.122802734375, 0.1033935546875, 0.1580810546875, 0.14599609375, 0.1136474609375, 0.1754150390625, 0...
embed
33948437_c0
33948437
prolog
0
Title: Seating chart starts to output wrong permutations in Prolog Problem title: Seating chart starts to output wrong permutations in Prolog Tags: algorithm, permutation, prolog Problem: Seating chart starts to output wrong permutations in Prolog I have a homework assignment where I must write a predicate seatingChart...
Seating chart starts to output wrong permutations in Prolog Seating chart starts to output wrong permutations in Prolog algorithm permutation prolog person Seating Prolog Database People ANSWER PersonX PersonY GenderX GenderY HobbyX HobbyY Create Have Generate Seating chart starts to output wrong permutations in Prolog...
[ 0.007568359375, -0.003509521484375, 0.017578125, 0.0024871826171875, -0.01373291015625, 0.01300048828125, -0.05029296875, -0.005950927734375, -0.00653076171875, -0.0174560546875, -0.0115966796875, 0.00396728515625, 0.03173828125, 0.01422119140625, 0.004180908203125, 0.0081787109375, ...
[ 503, 26518, 116287, 4034, 140992, 44691, 117, 14311, 21094, 1250, 4867, 234873, 561, 502, 3445, 187781, 41021, 48789, 15270, 1542, 1723, 23894, 126527, 151313, 31901, 155370, 23, 5368, 18244, 95486, 33022, 1653, 2063, 40, 84068, 18, 382, 9821...
[ 0.2059326171875, 0.1998291015625, 0.25390625, 0.089111328125, 0.1845703125, 0.209228515625, 0.088134765625, 0.2171630859375, 0.08624267578125, 0.1448974609375, 0.2166748046875, 0.134033203125, 0.158935546875, 0.1004638671875, 0.0848388671875, 0.078857421875, 0.04266357421875, 0.030...
embed