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
72390258_c0
72390258
prolog
0
Title: Prolog implementation of "Which answer in this list is the correct answer to this question?" Problem title: Prolog implementation of "Which answer in this list is the correct answer to this question?" Tags: prolog, logic Problem: Prolog implementation of "Which answer in this list is the corr...
Prolog implementation of "Which answer in this list is the correct answer to this question?" Prolog implementation of "Which answer in this list is the correct answer to this question?" prolog logic Prolog Which Prolog implementation of "Which answer in this list is the correct answer to this questi...
[ 0.010009765625, 0.0118408203125, 0.02880859375, 0.00982666015625, -0.00738525390625, 0.004547119140625, -0.01165771484375, -0.002349853515625, 0.004547119140625, -0.0264892578125, -0.00537109375, 0.00579833984375, -0.004119873046875, 0.01123046875, 0.020263671875, 0.0208740234375, 0....
[ 1250, 4867, 208124, 206, 35166, 903, 5303, 83, 26785, 47, 9655, 502, 62775, 130078, 979, 36880, 1305, 78804, 104758, 29806, 25632, 104192, 3714, 190, 3917, 51359, 3647, 22, 40899, 4677, 31577, 151575, 11675, 3934, 54241, 195625, 1830, 84751, ...
[ 0.2232666015625, 0.281982421875, 0.2049560546875, 0.055419921875, 0.221923828125, 0.1309814453125, 0.1976318359375, 0.0616455078125, 0.1993408203125, 0.09063720703125, 0.1014404296875, 0.177734375, 0.1448974609375, 0.03631591796875, 0.0203704833984375, 0.008087158203125, 0.0012512207...
embed
61668299_c0
61668299
prolog
0
Title: Beginner with Prolog - Arguments Insufficiently Instantiated Problem title: Beginner with Prolog - Arguments Insufficiently Instantiated Tags: prolog Problem: Beginner with Prolog - Arguments Insufficiently Instantiated Brand new to Prolog. I've played around with variable names and making sure variables have a ...
Beginner with Prolog - Arguments Insufficiently Instantiated Beginner with Prolog - Arguments Insufficiently Instantiated prolog Beginner Prolog Arguments Insufficiently Instantiated Answer Answer1 Iterations Iterations1 log10 Iterations2 _672 _738 _740 _796 Beginner with Prolog - Arguments Insufficiently Instantiated ...
[ 0.00408935546875, 0.0005950927734375, -0.0028533935546875, -0.005340576171875, 0.0079345703125, 0.032958984375, 0.0133056640625, 0.0003643035888671875, 0.01318359375, -0.01275634765625, 0.006591796875, 0.0030517578125, -0.008544921875, 0.01300048828125, 0.0213623046875, -0.001937866210...
[ 67053, 56, 678, 1250, 4867, 112140, 360, 129980, 538, 166945, 14, 27686, 502, 130373, 87, 720, 12684, 963, 304, 198493, 206007, 117525, 11648, 7, 3525, 47, 112730, 10932, 77336, 123055, 74481, 34292, 8110, 132283, 9844, 6713, 4358, 26366, 1...
[ 0.116943359375, 0.08074951171875, 0.0830078125, 0.158447265625, 0.2470703125, 0.228271484375, 0.09661865234375, 0.1751708984375, 0.009033203125, 0.1173095703125, 0.109375, 0.05731201171875, 0.084716796875, 0.0311126708984375, 0.00506591796875, 0.1678466796875, 0.0966796875, 0.08850...
embed
37480427_c0
37480427
prolog
0
Title: Non-overlapping rectangles in CLP (CHR) Problem title: Non-overlapping rectangles in CLP (CHR) Tags: clp, prolog Problem: Non-overlapping rectangles in CLP (CHR) I have a set of rectangles with varying coordinates for the top left corner of the rectangle and varying width/height. For example, let's take a rectan...
Non-overlapping rectangles in CLP (CHR) Non-overlapping rectangles in CLP (CHR) clp prolog Non-overlapping CLP CHR Hint H-1 NewY W-1 NewX Non-overlapping rectangles in CLP (CHR) I have a set of rectangles with varying coordinates for the top left corner of the rectangle and varying width/height. For example, let's take...
[ -0.00982666015625, 0.00213623046875, 0.0311279296875, 0.006591796875, 0.0101318359375, -0.0059814453125, -0.014892578125, -0.0283203125, 0.009033203125, 0.00122833251953125, 0.005523681640625, -0.006195068359375, 0.01336669921875, -0.0089111328125, 0.0196533203125, 0.0084228515625, 0...
[ 3775, 5465, 143, 26783, 148734, 449, 1577, 313, 37352, 29562, 23, 33139, 254, 502, 4867, 19895, 572, 5759, 2356, 1723, 601, 1542, 5423, 285, 176866, 2663, 25737, 107767, 146984, 1106, 133, 62, 61585, 77336, 106, 1193, 43297, 116, 990, 155...
[ 0.1593017578125, 0.1119384765625, 0.180419921875, 0.089111328125, 0.152587890625, 0.14990234375, 0.07489013671875, 0.029632568359375, 0.1947021484375, 0.198974609375, 0.037750244140625, 0.027374267578125, 0.09161376953125, 0.09954833984375, 0.15771484375, 0.1265869140625, 0.028442382...
embed
78431443_c0
78431443
prolog
0
Title: Math expressions DCG in Prolog looping Problem title: Math expressions DCG in Prolog looping Tags: context-free-grammar, prolog, dcg Problem: Math expressions DCG in Prolog looping I'm trying to implement a DCG for math expressions in Prolog because I wanna do the basic exercise of implementing a calculator in t...
Math expressions DCG in Prolog looping Math expressions DCG in Prolog looping context-free-grammar prolog dcg Math DCG Prolog Num Math expressions DCG in Prolog looping I'm trying to implement a DCG for math expressions in Prolog because I wanna do the basic exercise of implementing a calculator in the language, this i...
[ 0.023193359375, -0.021484375, 0.0020904541015625, 0.0169677734375, 0.01513671875, 0.0220947265625, 0.00897216796875, 0.0026092529296875, 0.013427734375, -0.044189453125, 0.010009765625, 0.00689697265625, -0.0146484375, -0.005706787109375, 0.031982421875, 0.0184326171875, 0.0071411132...
[ 78804, 125195, 391, 56367, 23, 1250, 4867, 40956, 214, 43701, 32087, 107415, 147, 502, 104, 238, 177, 52782, 31577, 29479, 48909, 62822, 81979, 154993, 46876, 18151, 116, 44402, 3095, 3229, 23253, 26548, 8781, 27781, 15190, 22144, 83613, 42, ...
[ 0.1563720703125, 0.242431640625, 0.076904296875, 0.2103271484375, 0.0318603515625, 0.1475830078125, 0.2349853515625, 0.193359375, 0.096435546875, 0.1171875, 0.076416015625, 0.0687255859375, 0.116455078125, 0.1102294921875, 0.0107421875, 0.00823974609375, 0.0246734619140625, 0.125, ...
embed
40630470_c0
40630470
prolog
0
Title: Asserting and using fast, LARGE arrays in prolog Problem title: Asserting and using fast, LARGE arrays in prolog Tags: prolog, swi-prolog, prolog-directive-dynamic, arrays Problem: Asserting and using fast, LARGE arrays in prolog I'm using functors to get random-access arrays using arg/3 in SWI-Prolog. What i'm ...
Asserting and using fast, LARGE arrays in prolog Asserting and using fast, LARGE arrays in prolog prolog swi-prolog prolog-directive-dynamic arrays fast Asserting LARGE current_sample arraybase_from_list__set_arg_from_list Head Tail ResArray nb_setarg arraybase_from_list List custom_array_data test_array_create Creates...
[ 0.0242919921875, 0.007537841796875, -0.0031585693359375, -0.00122833251953125, -0.0096435546875, -0.026123046875, -0.0111083984375, 0.01470947265625, 0.004119873046875, -0.042236328125, 0.0179443359375, 0.0291748046875, -0.0029144287109375, -0.0220947265625, 0.0208740234375, 0.00039291...
[ 62, 16865, 1916, 17368, 4271, 16271, 11679, 10298, 4778, 502, 4867, 2452, 3454, 936, 100034, 242554, 43581, 433, 33209, 37382, 161063, 6562, 3509, 61477, 44816, 1218, 379, 9624, 7614, 7092, 32036, 114122, 19305, 10135, 3034, 7612, 43523, 1419...
[ 0.056304931640625, 0.2342529296875, 0.0267791748046875, 0.1134033203125, 0.13916015625, 0.078857421875, 0.0843505859375, 0.1708984375, 0.1474609375, 0.1510009765625, 0.2362060546875, 0.14013671875, 0.110107421875, 0.0248565673828125, 0.026824951171875, 0.088623046875, 0.1553955078125...
embed
27878382_c0
27878382
prolog
0
Title: How to do a parser in Prolog? Problem title: How to do a parser in Prolog? Tags: prolog, parsing, dcg Problem: How to do a parser in Prolog? I would like to do a parser in prolog. This one should be able to parse something like this: a = 3 + (6 * 11); For now I only have this grammar done. It's working but I wou...
How to do a parser in Prolog? How to do a parser in Prolog? prolog parsing dcg How Prolog ParseTree Program add_sub mul_div PARSE TREE assign_op mult_op add_op left_paren sub_op output_result OutputFile OutputStream writeln_term Stream Tabs write_tabs Term _Functor Tabs1 Functor Arity Tabs2 writeln_args Arg Num1 Num2 w...
[ 0.019287109375, 0.002685546875, -0.001953125, 0.0216064453125, -0.009033203125, 0.035400390625, -0.00970458984375, -0.01446533203125, 0.006744384765625, -0.0260009765625, -0.003936767578125, -0.003936767578125, -0.01092529296875, -0.0096435546875, 0.01519775390625, -0.00096511840820312...
[ 11249, 47, 54, 10, 366, 2189, 23, 1250, 4867, 502, 6953, 104, 238, 177, 2392, 184, 62731, 7663, 15190, 22144, 16690, 30618, 28358, 9127, 93681, 95486, 2146, 3869, 25737, 2500, 33, 1614, 140992, 7136, 13538, 174350, 115061, 33022, 32166, 2...
[ 0.072021484375, 0.044036865234375, 0.113037109375, 0.08587646484375, 0.1973876953125, 0.275634765625, 0.1063232421875, 0.1810302734375, 0.271484375, 0.131103515625, 0.06585693359375, 0.0137939453125, 0.0236968994140625, 0.0694580078125, 0.1483154296875, 0.1614990234375, 0.22497558593...
embed
9238452_c0
9238452
prolog
0
Title: Partitioning a large integer using Prolog Problem title: Partitioning a large integer using Prolog Tags: list, prolog, data-partitioning, integer Problem: Partitioning a large integer using Prolog I've been trying to teach myself Prolog for a few weeks. Right now I'm trying to find all ways to make a large integ...
Partitioning a large integer using Prolog Partitioning a large integer using Prolog list prolog data-partitioning integer Prolog N Partitioning N-IH Output Partitioning a large integer using Prolog I've been trying to teach myself Prolog for a few weeks. Right now I'm trying to find all ways to make a large integer fro...
[ -0.02587890625, 0.0101318359375, 0.0198974609375, -0.00823974609375, -0.015380859375, 0.0024261474609375, -0.02099609375, -0.0125732421875, 0.0078125, -0.00640869140625, -0.0029754638671875, -0.01434326171875, -0.009033203125, 0.010498046875, 0.005126953125, -0.006500244140625, 0.025...
[ 9148, 1363, 21334, 892, 1505, 17368, 1250, 4867, 5303, 502, 2053, 15866, 541, 38624, 13538, 31577, 94957, 48322, 3249, 1295, 40368, 164917, 26255, 1653, 2063, 2878, 18113, 4488, 1884, 201, 106, 116, 136, 1031, 786, 52721, 51347, 68252, 304,...
[ 0.213623046875, 0.1246337890625, 0.12939453125, 0.1451416015625, 0.10028076171875, 0.044647216796875, 0.1898193359375, 0.26025390625, 0.145751953125, 0.1165771484375, 0.038970947265625, 0.1583251953125, 0.120361328125, 0.1104736328125, 0.047698974609375, 0.00140380859375, 0.029800415...
embed
79072993_c0
79072993
prolog
0
Title: swiplserver.prologmqi.PrologError: existence_error(procedure, '/'(wordsn, 2)) Problem title: swiplserver.prologmqi.PrologError: existence_error(procedure, '/'(wordsn, 2)) Tags: swi-prolog, prolog, nlp Problem: swiplserver.prologmqi.PrologError: existence_error(procedure, '/'(wordsn, 2)) For m...
swiplserver.prologmqi.PrologError: existence_error(procedure, '/'(wordsn, 2)) swiplserver.prologmqi.PrologError: existence_error(procedure, '/'(wordsn, 2)) swi-prolog prolog nlp swiplserver.prologmqi.PrologError PrologError existence_error CONSULT Your Wordsa File alice.txt Stream string_to_list Inp...
[ 0.016357421875, 0.00567626953125, -0.0157470703125, 0.01531982421875, -0.027099609375, 0.01251220703125, 0.01806640625, -0.00787353515625, 0.01287841796875, -0.052490234375, 0.0196533203125, 0.0216064453125, -0.003173828125, -0.02099609375, 0.0341796875, 0.01214599609375, 0.018310546...
[ 91, 2452, 2424, 39642, 3454, 4867, 10084, 10752, 18468, 31611, 116311, 188800, 232578, 3768, 47416, 7, 19, 4958, 502, 26775, 1250, 82643, 22543, 433, 42724, 10, 13348, 124326, 115061, 79315, 188, 6562, 71713, 21656, 154663, 11549, 91995, 2104...
[ 0.005157470703125, 0.1708984375, 0.0770263671875, 0.1767578125, 0.1239013671875, 0.1943359375, 0.130126953125, 0.13818359375, 0.136962890625, 0.10107421875, 0.2264404296875, 0.264892578125, 0.18896484375, 0.087646484375, 0.1759033203125, 0.08111572265625, 0.182373046875, 0.17919921...
embed
14906580_c0
14906580
prolog
0
Title: prolog: Local maximum in a list Problem title: prolog: Local maximum in a list Tags: prolog Problem: prolog: Local maximum in a list I'm trying to find out the local maximum in a list. Basically I am to find values that are greater than the element before the list and the element after it, and the result should ...
prolog: Local maximum in a list prolog: Local maximum in a list prolog Local local_maximum Answer BASE CASE prolog: Local maximum in a list I'm trying to find out the local maximum in a list. Basically I am to find values that are greater than the element before the list and the element after it, and the result should ...
[ -0.0022735595703125, 0.0380859375, 0.0233154296875, 0.005401611328125, 0.000453948974609375, 0.0166015625, -0.0277099609375, -0.0027923583984375, 0.0303955078125, -0.0267333984375, 0.012939453125, -0.01507568359375, -0.0096435546875, 0.003692626953125, 0.0299072265625, 0.01519775390625...
[ 502, 4867, 24172, 38132, 23, 5303, 4000, 192, 53950, 316, 130373, 335, 76783, 313, 31577, 7413, 1810, 70, 142424, 621, 117396, 3501, 12830, 8108, 7103, 16750, 41, 1294, 363, 155761, 80389, 129678, 35166, 135461, 910, 42380, 190, 62775, 1369...
[ 0.1514892578125, 0.2021484375, 0.2032470703125, 0.240966796875, 0.049713134765625, 0.1959228515625, 0.1876220703125, 0.0899658203125, 0.1900634765625, 0.153076171875, 0.1689453125, 0.0241851806640625, 0.0556640625, 0.031036376953125, 0.0235748291015625, 0.082275390625, 0.054412841796...
embed
47624626_c0
47624626
prolog
0
Title: Prolog cousin once removed and half sister/brother rules Problem title: Prolog cousin once removed and half sister/brother rules Tags: prolog Problem: Prolog cousin once removed and half sister/brother rules Am working on a prolog genealogy project and cannot figure out how to make the rules for cousin once remo...
Prolog cousin once removed and half sister/brother rules Prolog cousin once removed and half sister/brother rules prolog Prolog married_to Prolog cousin once removed and half sister/brother rules Am working on a prolog genealogy project and cannot figure out how to make the rules for cousin once removed and half sister...
[ 0.0260009765625, 0.01409912109375, 0.016357421875, 0.006927490234375, -0.00165557861328125, -0.004638671875, -0.017822265625, 0.019775390625, 0.00946044921875, -0.017578125, -0.009521484375, -0.026611328125, -0.00098419189453125, 0.00836181640625, 0.01263427734375, -0.005645751953125, ...
[ 1250, 4867, 193429, 24145, 184750, 136, 23552, 114015, 6369, 9319, 91736, 502, 139505, 188, 20697, 22293, 7779, 13452, 53418, 26366, 1810, 3642, 3249, 70, 100, 64, 17336, 765, 4488, 4358, 157666, 77947, 158012, 65665, 37842, 6863, 8781, 18151...
[ 0.167724609375, 0.234375, 0.2308349609375, 0.11572265625, 0.20849609375, 0.051605224609375, 0.1793212890625, 0.1854248046875, 0.120849609375, 0.114013671875, 0.2003173828125, 0.1309814453125, 0.2232666015625, 0.0472412109375, 0.01580810546875, 0.004547119140625, 0.0230255126953125, ...
embed
64472018_c0
64472018
prolog
0
Title: Prolog program that finds the culprit of a crime given the following facts Problem title: Prolog program that finds the culprit of a crime given the following facts Tags: prolog, zebra-puzzle Problem: Prolog program that finds the culprit of a crime given the following facts Facts about the situation -- image (f...
Prolog program that finds the culprit of a crime given the following facts Prolog program that finds the culprit of a crime given the following facts prolog zebra-puzzle Prolog Angela Mary David Leung Diamond Grant Prolog program that finds the culprit of a crime given the following facts Facts about the situation -- i...
[ 0.027587890625, -0.0225830078125, 0.0031280517578125, 0.0079345703125, -0.0218505859375, 0.031494140625, -0.0057373046875, -0.0093994140625, -0.003204345703125, -0.02490234375, 0.0076904296875, -0.005035400390625, -0.009033203125, 0.007476806640625, -0.00335693359375, 0.01031494140625,...
[ 1250, 4867, 1528, 450, 7413, 7, 57940, 5293, 18, 111, 10, 46824, 34475, 25632, 15824, 502, 116232, 1766, 13894, 133, 60338, 23213, 6765, 636, 1619, 69124, 110427, 132640, 1672, 16648, 29569, 32087, 22578, 35206, 31577, 28560, 7565, 4642, 17...
[ 0.20849609375, 0.300537109375, 0.21484375, 0.0198974609375, 0.1494140625, 0.009002685546875, 0.146484375, 0.2218017578125, 0.1551513671875, 0.0694580078125, 0.03729248046875, 0.1956787109375, 0.112060546875, 0.091064453125, 0.1746826171875, 0.15283203125, 0.22802734375, 0.103759765...
embed
60213894_c0
60213894
prolog
0
Title: Recursive program to compute Taylor approx of cosine not functioning in Prolog Problem title: Recursive program to compute Taylor approx of cosine not functioning in Prolog Tags: trigonometry, prolog, approximate Problem: Recursive program to compute Taylor approx of cosine not functioning in Prolog I'm still pr...
Recursive program to compute Taylor approx of cosine not functioning in Prolog Recursive program to compute Taylor approx of cosine not functioning in Prolog trigonometry prolog approximate class Recursive Taylor Prolog Factorial N-1 Calculate Base begin_tests cosine_approximation factorial_test_case_generator signCnt_...
[ 0.01458740234375, -0.003997802734375, 0.01483154296875, 0.00421142578125, 0.01031494140625, -0.0009307861328125, -0.0009765625, -0.0126953125, 0.01708984375, -0.00439453125, -0.00139617919921875, 0.0036468505859375, -0.021728515625, -0.00136566162109375, 0.013427734375, 0.0220947265625...
[ 853, 48650, 5844, 1528, 9969, 6743, 63569, 35707, 425, 552, 14186, 959, 32354, 214, 1250, 4867, 171353, 64970, 502, 5134, 18507, 117969, 15403, 541, 5759, 212467, 44978, 9842, 6954, 64101, 31461, 58437, 48281, 24092, 48838, 3564, 151525, 3310...
[ 0.051055908203125, 0.20703125, 0.11083984375, 0.1724853515625, 0.1175537109375, 0.141845703125, 0.28173828125, 0.1585693359375, 0.1243896484375, 0.1212158203125, 0.2091064453125, 0.082763671875, 0.1640625, 0.0120849609375, 0.14013671875, 0.2191162109375, 0.06829833984375, 0.0295562...
embed
15733986_c0
15733986
prolog
0
Title: Solving symbolic logic with prolog Problem title: Solving symbolic logic with prolog Tags: logic, puzzle, prolog Problem: Solving symbolic logic with prolog I'm going through some of Lewis Carrols logical quizzes and I have a question with riddle number 60 on that page: (1) The only animals in this house are cat...
Solving symbolic logic with prolog Solving symbolic logic with prolog logic puzzle prolog Solving Every When Kangaroos None Animals Univ prowl_at_night loves_moongazing animals_in_house suitable_pet can_kill_mice take_to_me Solving symbolic logic with prolog I'm going through some of Lewis Carrols logical quizzes and I...
[ 0.01043701171875, 0.01251220703125, 0.0111083984375, 0.017822265625, -0.00946044921875, 0.00396728515625, -0.00799560546875, 0.0208740234375, -0.0042724609375, -0.046630859375, -0.004180908203125, 0.00372314453125, 0.00543212890625, 0.004241943359375, 0.021484375, 0.0228271484375, -0...
[ 6678, 128201, 62775, 678, 502, 4867, 104192, 87769, 14847, 30267, 15938, 232, 438, 82821, 11789, 334, 27751, 257, 54350, 5161, 59533, 32312, 85825, 73, 23923, 202319, 5408, 831, 119261, 266, 329, 5646, 188, 282, 77330, 3980, 12722, 81758, 3...
[ 0.0775146484375, 0.214111328125, 0.1878662109375, 0.032470703125, 0.14208984375, 0.248291015625, 0.1099853515625, 0.1016845703125, 0.09814453125, 0.049468994140625, 0.1485595703125, 0.0986328125, 0.060760498046875, 0.1510009765625, 0.0328369140625, 0.0266265869140625, 0.1614990234375...
embed
24720738_c0
24720738
prolog
0
Title: prolog use post parameter properly Problem title: prolog use post parameter properly Tags: prolog, html, parameters, swi-prolog, post Problem: prolog use post parameter properly I want to create a dynamic question site, with some scroll, check, and whatever boxes. After the user send the form, i want to use the ...
prolog use post parameter properly prolog use post parameter properly prolog html parameters swi-prolog post get_event Event_1 Event_2 get_component Type_1 Component_1 Type_2 Component_2 get_incident Incident_1 Incident_2 Request reply_html_page Questions All Question_1 Question_2 Question_3 Submit Priority Event Compo...
[ -0.0002498626708984375, 0.006561279296875, 0.019775390625, -0.0169677734375, -0.018798828125, -0.0064697265625, 0.007171630859375, 0.0264892578125, 0.002716064453125, -0.06884765625, 0.016357421875, -0.009765625, -0.012451171875, 0.010986328125, 0.00457763671875, -0.0177001953125, 0....
[ 502, 4867, 4527, 1305, 171859, 155965, 7693, 91, 2452, 3454, 2046, 90141, 36943, 115187, 304, 277, 54137, 60457, 36079, 75616, 75836, 22469, 68185, 3164, 363, 8273, 168857, 3288, 360, 3444, 28282, 84079, 9655, 1764, 192046, 12765, 16530, 3893...
[ 0.205078125, 0.294189453125, 0.121337890625, 0.224365234375, 0.313232421875, 0.22705078125, 0.163330078125, 0.0193023681640625, 0.1915283203125, 0.1888427734375, 0.047821044921875, 0.1646728515625, 0.150390625, 0.0274505615234375, 0.0201873779296875, 0.016876220703125, 0.147094726562...
embed
6011167_c1
6011167
prolog
1
WAS NICE TALKING TO YOU USER, SEE YOU NEXT TIME!'). no_response_found(ListOfResponse):- list_length(ListOfResponse, NumOfResponse), NumOfResponse == 0, write('I''M NOT SURE IF I UNDERSTAND WHAT YOU ARE TALKING ABOUT.'), !. no_response_found(_). get_keyword(KeyList, [KeyList,_]). get_response(RespList, [_, RespList]). ...
WAS NICE TALKING TO YOU USER, SEE YOU NEXT TIME!'). no_response_found(ListOfResponse):- list_length(ListOfResponse, NumOfResponse), NumOfResponse == 0, write('I''M NOT SURE IF I UNDERSTAND WHAT YOU ARE TALKING ABOUT.'), !. no_response_found(_). get_keyword(KeyList, [KeyList,_]). get_response(RespList, [_, RespList]). ...
[ -0.01397705078125, 0.0020294189453125, 0.01708984375, 0.00872802734375, -0.003448486328125, 0.017578125, 0.0091552734375, -0.00616455078125, 0.000965118408203125, -0.01287841796875, 0.01361083984375, 0.0142822265625, -0.0257568359375, 0.00384521484375, 0.027099609375, -0.01470947265625...
[ 116387, 6, 178030, 89577, 115228, 9926, 82310, 345, 50184, 159, 24821, 9960, 70981, 110500, 38, 110, 134719, 13, 151645, 154663, 132887, 94399, 5303, 23986, 52782, 69112, 757, 33022, 568, 594, 86725, 66704, 55449, 87, 8274, 18044, 75700, 4332...
[ 0.1922607421875, 0.004058837890625, 0.229248046875, 0.18408203125, 0.166748046875, 0.122314453125, 0.128662109375, 0.154052734375, 0.1624755859375, 0.125732421875, 0.1947021484375, 0.0997314453125, 0.1650390625, 0.203857421875, 0.04931640625, 0.1162109375, 0.2216796875, 0.075988769...
embed
38856894_c0
38856894
prolog
0
Title: Prolog predicate arguments: readability vs. efficiency Problem title: Prolog predicate arguments: readability vs. efficiency Tags: prolog Problem: Prolog predicate arguments: readability vs. efficiency I want to ask pros and cons of different Prolog representations in arguments of predicates. For example in Exer...
Prolog predicate arguments: readability vs. efficiency Prolog predicate arguments: readability vs. efficiency prolog Prolog List Prolog predicate arguments: readability vs. efficiency I want to ask pros and cons of different Prolog representations in arguments of predicates. For example in Exercise 4.3 : Write a predic...
[ 0.0159912109375, -0.00616455078125, 0.01177978515625, 0.00041961669921875, -0.00079345703125, 0.00946044921875, -0.021484375, -0.01422119140625, -0.007568359375, -0.00154876708984375, 0.0118408203125, 0.01171875, -0.00194549560546875, 0.00012063980102539062, 0.023681640625, 0.004791259...
[ 1250, 4867, 1653, 2063, 67, 10750, 7, 12, 12301, 41159, 20209, 227066, 502, 32036, 26458, 38280, 158, 12921, 18811, 5256, 1636, 155534, 80196, 18781, 17932, 1542, 154663, 12765, 36766, 1193, 12830, 29806, 15044, 68991, 21373, 5117, 1286, 2886...
[ 0.1822509765625, 0.2449951171875, 0.1973876953125, 0.2308349609375, 0.108154296875, 0.2423095703125, 0.008331298828125, 0.000274658203125, 0.2064208984375, 0.150146484375, 0.1424560546875, 0.210205078125, 0.126220703125, 0.15087890625, 0.04193115234375, 0.09375, 0.0946044921875, 0....
embed
57393356_c0
57393356
prolog
0
Title: How to generate a grid of predicates in Prolog? Problem title: How to generate a grid of predicates in Prolog? Tags: prolog, swi-prolog Problem: How to generate a grid of predicates in Prolog? I'm trying to create a program in Prolog, but I'm still new to it and not sure what the best approach is to generating a...
How to generate a grid of predicates in Prolog? How to generate a grid of predicates in Prolog? prolog swi-prolog How Prolog North West South East North_1 North_2 Interconnect_1 West_1 East_1 Interconnect_2 Interconnect_3 Interconnect_4 West_2 East_2 South_1 South_2 Processing How to generate a grid of predicates in Pr...
[ -0.0164794921875, 0.006072998046875, 0.0019989013671875, -0.00086212158203125, -0.01141357421875, 0.01434326171875, 0.006195068359375, -0.00180816650390625, -0.01513671875, -0.029052734375, 0.00107574462890625, 0.02392578125, -0.021240234375, -0.00830078125, -0.0034027099609375, 0.0067...
[ 11249, 139392, 120067, 111, 1653, 2063, 1636, 23, 1250, 4867, 10, 502, 2452, 3454, 23924, 10542, 25134, 24453, 115187, 304, 5337, 135457, 617, 123996, 28282, 1528, 2965, 51515, 12663, 5062, 45646, 27781, 67, 38750, 17357, 201, 10750, 3444, ...
[ 0.067626953125, 0.2132568359375, 0.275146484375, 0.115966796875, 0.1861572265625, 0.229736328125, 0.1572265625, 0.05059814453125, 0.165283203125, 0.2437744140625, 0.0052490234375, 0.0880126953125, 0.103759765625, 0.09088134765625, 0.1370849609375, 0.09320068359375, 0.12548828125, 0...
embed
3511999_c0
3511999
prolog
0
Title: variable is only used once Problem title: variable is only used once Tags: prolog, turbo-prolog Problem: variable is only used once I am using ancient Turbo Prolog since it is included in our curriculum. Why is this program not working? domains disease, indication = symbol Patient = string Fe,Ra,He,Ch,Vo,Ru = ch...
variable is only used once variable is only used once prolog turbo-prolog Patient What head_ache runny_nose Disease Sorry Fever Feedback Write Does Reply chicken_pox variable is only used once I am using ancient Turbo Prolog since it is included in our curriculum. Why is this program not working? I get the warning vari...
[ 0.003936767578125, -0.00021266937255859375, 0.0125732421875, 0.004852294921875, 0.00127410888671875, 0.002105712890625, -0.0220947265625, 0.00433349609375, -0.00396728515625, -0.060791015625, 0.0142822265625, 0.00555419921875, -0.005584716796875, 0.0025482177734375, 0.011962890625, 0.0...
[ 77336, 4734, 11814, 24145, 502, 4867, 94779, 3454, 135004, 10336, 46994, 11675, 299, 157, 184, 229200, 90502, 4221, 814, 174633, 122813, 143896, 771, 425, 17368, 45964, 102228, 1250, 99201, 162878, 44084, 83, 903, 1528, 959, 20697, 1631, 592,...
[ 0.324951171875, 0.154541015625, 0.1661376953125, 0.2252197265625, 0.1439208984375, 0.2529296875, 0.2139892578125, 0.1231689453125, 0.1131591796875, 0.0792236328125, 0.1204833984375, 0.045379638671875, 0.05950927734375, 0.080078125, 0.00250244140625, 0.05230712890625, 0.03030395507812...
embed
77339929_c0
77339929
prolog
0
Title: Trying to calculate a hash with crypto_data_hash causes SWI session to crash - am I doing something wrong or is this a bug? Problem title: Trying to calculate a hash with crypto_data_hash causes SWI session to crash - am I doing something wrong or is this a bug? Tags: prolog, swi-prolog Problem: Trying to calcul...
Trying to calculate a hash with crypto_data_hash causes SWI session to crash - am I doing something wrong or is this a bug? Trying to calculate a hash with crypto_data_hash causes SWI session to crash - am I doing something wrong or is this a bug? prolog swi-prolog Trying crypto_data_hash SWI use_module Hash sha1 Welco...
[ -0.0026702880859375, 0.0167236328125, -0.0000820159912109375, 0.00506591796875, -0.0107421875, -0.020751953125, 0.00225830078125, 0.012939453125, -0.01202392578125, -0.02880859375, -0.0062255859375, 0.0167236328125, 0.006561279296875, 0.0216064453125, 0.0091552734375, -0.0225830078125,...
[ 40858, 74481, 1556, 127, 678, 215637, 10135, 126234, 113660, 159, 38969, 56002, 150631, 20594, 44691, 54608, 67, 454, 47, 903, 502, 4867, 91, 2452, 3454, 4527, 83279, 162087, 9638, 418, 10752, 134912, 22543, 7550, 33649, 313, 590, 2594, 331...
[ 0.121826171875, 0.1627197265625, 0.15576171875, 0.1136474609375, 0.062042236328125, 0.1494140625, 0.1097412109375, 0.189697265625, 0.054107666015625, 0.078369140625, 0.2244873046875, 0.1566162109375, 0.1749267578125, 0.01092529296875, 0.0924072265625, 0.1207275390625, 0.0041198730468...
embed
76084814_c0
76084814
prolog
0
Title: How can I create a function in prolog that iterates through a list of lists and before passing to the next list goes through the one it´s pointing at? Problem title: How can I create a function in prolog that iterates through a list of lists and before passing to the next list goes through the one it´s pointing ...
How can I create a function in prolog that iterates through a list of lists and before passing to the next list goes through the one it´s pointing at? How can I create a function in prolog that iterates through a list of lists and before passing to the next list goes through the one it´s pointing at? prolog How Color R...
[ 0.00616455078125, -0.006195068359375, 0.0068359375, 0.0081787109375, -0.013427734375, 0.003753662109375, -0.00634765625, 0.005584716796875, 0.0240478515625, -0.018310546875, 0.01275634765625, 0.003997802734375, 0.00750732421875, 0.0001049041748046875, 0.013427734375, 0.00921630859375, ...
[ 11249, 831, 28282, 32354, 502, 4867, 17, 8560, 8305, 5303, 8108, 452, 11737, 3309, 6275, 214, 99, 23, 51193, 139118, 151313, 32036, 55903, 1974, 162738, 933, 73866, 5659, 59911, 882, 133, 6678, 1636, 60899, 31577, 3249, 442, 14624, 1284, ...
[ 0.012786865234375, 0.036224365234375, 0.156005859375, 0.2213134765625, 0.16357421875, 0.20947265625, 0.0216217041015625, 0.214111328125, 0.1453857421875, 0.1903076171875, 0.082763671875, 0.059906005859375, 0.03570556640625, 0.001373291015625, 0.155029296875, 0.03472900390625, 0.11914...
embed
77664602_c0
77664602
prolog
0
Title: CLP(FD): solution number count speedup Problem title: CLP(FD): solution number count speedup Tags: prolog, clpfd, clpb Problem: CLP(FD): solution number count speedup I'm working with the following SWI-Prolog version: SWI-Prolog version 9.1.2 for x86_64-linux . I'm trying to count the number of valid solutions u...
CLP(FD): solution number count speedup CLP(FD): solution number count speedup prolog clpfd clpb CLP SWI-Prolog x86_64-linux Flat CountList Count fd_set fdset_size sat_count Variables ERROR Domain clpb_expr CLP(FD): solution number count speedup I'm working with the following SWI-Prolog version: SWI-Prolog version 9.1.2...
[ -0.000720977783203125, -0.0024871826171875, 0.002227783203125, -0.00933837890625, 0.00152587890625, -0.0157470703125, -0.0184326171875, -0.019775390625, 0.0150146484375, -0.05419921875, -0.0037689208984375, -0.0244140625, 0.0185546875, 0.02392578125, 0.0224609375, -0.009033203125, -0...
[ 313, 37352, 132, 98553, 29806, 14012, 54529, 38352, 2037, 502, 4867, 33139, 39557, 71, 254, 275, 38969, 10752, 15276, 13307, 2397, 106516, 108210, 154663, 1238, 3509, 62539, 11736, 71013, 111477, 151206, 93702, 83613, 20697, 159, 11389, 9, 35...
[ 0.052886962890625, 0.26513671875, 0.03192138671875, 0.2305908203125, 0.19775390625, 0.16845703125, 0.1756591796875, 0.1563720703125, 0.1171875, 0.098876953125, 0.209228515625, 0.04443359375, 0.01751708984375, 0.07684326171875, 0.0509033203125, 0.072998046875, 0.1807861328125, 0.154...
embed
10207511_c0
10207511
prolog
0
Title: Using JPL (Java + Prolog) in a Java EE web application Problem title: Using JPL (Java + Prolog) in a Java EE web application Tags: jpl, prolog, java, jakarta-ee, database Problem: Using JPL (Java + Prolog) in a Java EE web application I would like to develop a Java EE web application that requires Prolog, via JP...
Using JPL (Java + Prolog) in a Java EE web application Using JPL (Java + Prolog) in a Java EE web application jpl prolog java jakarta-ee database Using JPL Java Prolog Using JPL (Java + Prolog) in a Java EE web application I would like to develop a Java EE web application that requires Prolog, via JPL, for certain sear...
[ 0.023193359375, 0.026123046875, -0.004425048828125, -0.01470947265625, -0.019287109375, 0.0238037109375, 0.00115203857421875, -0.01129150390625, -0.005706787109375, -0.050048828125, 0.01220703125, 0.031982421875, -0.01324462890625, -0.0096435546875, -0.0012054443359375, 0.0302734375, ...
[ 345, 6953, 821, 21130, 156202, 997, 1250, 4867, 16, 41925, 79990, 1467, 38415, 23, 1647, 2424, 502, 79, 330, 59505, 9, 7039, 63399, 1884, 85493, 144570, 4, 1829, 100, 33938, 62548, 66211, 7, 1221, 186, 13158, 53, 297, 70, 140752, 10723,...
[ 0.11767578125, 0.0198516845703125, 0.160400390625, 0.2880859375, 0.224609375, 0.18310546875, 0.20703125, 0.2607421875, 0.00604248046875, 0.2322998046875, 0.205810546875, 0.1146240234375, 0.137451171875, 0.0234832763671875, 0.08746337890625, 0.2322998046875, 0.1668701171875, 0.08575...
embed
60961924_c0
60961924
prolog
0
Title: I want to use Prolog to order some things, and I keep getting stack overflow errors Problem title: I want to use Prolog to order some things, and I keep getting stack overflow errors Tags: stack-overflow, prolog Problem: I want to use Prolog to order some things, and I keep getting stack overflow errors For my p...
I want to use Prolog to order some things, and I keep getting stack overflow errors I want to use Prolog to order some things, and I keep getting stack overflow errors stack-overflow prolog Prolog Define chicken_soup Now ERROR Stack Choice Probable user:outspeeds _1098 _1118 I want to use Prolog to order some things, a...
[ 0.017822265625, 0.003692626953125, 0.00927734375, -0.0019989013671875, 0.004150390625, -0.01324462890625, -0.024169921875, -0.01239013671875, 0.016845703125, -0.037109375, 0.0146484375, -0.000010073184967041016, 0.004364013671875, -0.0086669921875, 0.015869140625, 0.006439208984375, ...
[ 3444, 4527, 1250, 4867, 12989, 8966, 13695, 177261, 645, 118664, 18499, 5465, 502, 64552, 143896, 991, 2037, 14240, 151206, 6512, 2594, 181948, 275, 38937, 6056, 175870, 16665, 1819, 20949, 34053, 27744, 18507, 28779, 21972, 28560, 26366, 30482...
[ 0.045928955078125, 0.092529296875, 0.163330078125, 0.27490234375, 0.19873046875, 0.087890625, 0.097412109375, 0.1627197265625, 0.1318359375, 0.2305908203125, 0.199462890625, 0.0966796875, 0.0982666015625, 0.108154296875, 0.189208984375, 0.1524658203125, 0.1715087890625, 0.080078125...
embed
43574819_c0
43574819
prolog
0
Title: Getting the Helper function to compile Problem title: Getting the Helper function to compile Tags: prolog, list Problem: Getting the Helper function to compile I am trying to get this list to parse through a knowledge base, but I am having trouble getting the helper function to work. The program I am trying to c...
Getting the Helper function to compile Getting the Helper function to compile prolog list Getting Helper Main Tot CUTOFF ListOfTypes Type Exp Getting the Helper function to compile I am trying to get this list to parse through a knowledge base, but I am having trouble getting the helper function to work. The program I ...
[ 0.0284423828125, -0.0084228515625, -0.00051116943359375, 0.0191650390625, -0.01104736328125, 0.010498046875, -0.0074462890625, -0.0113525390625, 0.02294921875, -0.0036773681640625, -0.0034942626953125, -0.00689697265625, 0.01092529296875, -0.0034637451171875, 0.00909423828125, 0.004699...
[ 210732, 39527, 56, 32354, 47, 9969, 1340, 502, 4867, 5303, 12321, 13715, 17632, 125754, 32036, 132887, 196707, 60457, 60075, 2046, 366, 184, 51359, 3647, 63134, 20949, 4358, 4488, 1528, 28282, 140992, 38694, 19713, 116, 52895, 3622, 16981, 34...
[ 0.087646484375, 0.26220703125, 0.24560546875, 0.1865234375, 0.02593994140625, 0.1676025390625, 0.1925048828125, 0.1484375, 0.207275390625, 0.15087890625, 0.060577392578125, 0.1402587890625, 0.09979248046875, 0.2249755859375, 0.076171875, 0.09393310546875, 0.177734375, 0.17346191406...
embed
30895117_c0
30895117
prolog
0
Title: make all elements in list equal with minimal cost Problem title: make all elements in list equal with minimal cost Tags: optimization, list, prolog Problem: make all elements in list equal with minimal cost I am trying to create a prolog program that allows to convert a list into a list with the same length cons...
make all elements in list equal with minimal cost make all elements in list equal with minimal cost optimization list prolog make_all_equal List Cost Result Sorted occurs_most Left Nr1 Acc Tail Acc1 There make all elements in list equal with minimal cost I am trying to create a prolog program that allows to convert a l...
[ 0.01708984375, 0.01544189453125, 0.01214599609375, 0.004119873046875, -0.00140380859375, -0.00811767578125, -0.012451171875, -0.005340576171875, 0.00848388671875, -0.0103759765625, 0.00799560546875, -0.0028533935546875, 0.010986328125, 0.00653076171875, 0.0021209716796875, -0.009521484...
[ 3249, 756, 80854, 23, 5303, 105950, 678, 20187, 11034, 87235, 502, 4867, 5584, 13, 71723, 32036, 63099, 126684, 53666, 74918, 7, 840, 18, 636, 2480, 9308, 418, 29899, 1218, 379, 31577, 28282, 1528, 96760, 3934, 5701, 140909, 58055, 4734, ...
[ 0.146240234375, 0.174560546875, 0.22265625, 0.088134765625, 0.2122802734375, 0.259765625, 0.048187255859375, 0.1927490234375, 0.1712646484375, 0.1639404296875, 0.127685546875, 0.170166015625, 0.13671875, 0.0556640625, 0.228515625, 0.1923828125, 0.17138671875, 0.11669921875, 0.131...
embed
47870741_c0
47870741
prolog
0
Title: Menu system exit not working as desired Problem title: Menu system exit not working as desired Tags: prolog Problem: Menu system exit not working as desired I am having trouble with this code below. There is something wrong when I try to exit the menu. park(_,blue,basketball_court). time(officehour,_) :- menu2. ...
Menu system exit not working as desired Menu system exit not working as desired prolog Menu basketball_court menu2 start_message menu1 Select Input Exit choice1 Place Check End Enter program._896 Menu system exit not working as desired I am having trouble with this code below. There is something wrong when I try to exi...
[ -0.00970458984375, -0.00262451171875, 0.0125732421875, 0.0166015625, -0.00482177734375, 0.004608154296875, -0.038818359375, -0.006591796875, 0.0035400390625, -0.021484375, 0.016357421875, 0.017822265625, -0.013671875, -0.00005316734313964844, 0.01007080078125, -0.00164031982421875, 0...
[ 49434, 5426, 82230, 959, 20697, 237, 104851, 502, 4867, 142739, 141, 118383, 8026, 304, 4034, 74157, 51620, 360, 7077, 5443, 217, 44126, 41076, 38679, 18878, 60816, 1528, 1019, 11648, 63134, 18151, 35064, 44691, 9790, 47, 16750, 36917, 11675,...
[ 0.234619140625, 0.1796875, 0.2498779296875, 0.08135986328125, 0.153076171875, 0.1280517578125, 0.13623046875, 0.12548828125, 0.20361328125, 0.1207275390625, 0.0665283203125, 0.1417236328125, 0.202392578125, 0.0325927734375, 0.08575439453125, 0.081298828125, 0.039520263671875, 0.037...
embed
67747443_c0
67747443
prolog
0
Title: Prolog - How would I recursively build a list? Problem title: Prolog - How would I recursively build a list? Tags: list, logic, prolog, predicate Problem: Prolog - How would I recursively build a list? I'm working through the exercises on Learn Prolog Now! and I'm stumped on the very last question. Given the fol...
Prolog - How would I recursively build a list? Prolog - How would I recursively build a list? list logic prolog predicate Prolog How Prolog - How would I recursively build a list? I'm working through the exercises on Learn Prolog Now! and I'm stumped on the very last question. Given the following facts: here's my go fu...
[ 0.0181884765625, 0.0177001953125, 0.00750732421875, -0.005706787109375, 0.017333984375, 0.018310546875, -0.00872802734375, -0.01202392578125, 0.01507568359375, -0.039306640625, 0.001922607421875, -0.013916015625, -0.0233154296875, -0.00001728534698486328, -0.00060272216796875, 0.002197...
[ 1250, 4867, 11249, 2806, 87, 195625, 5844, 45367, 5303, 538, 10, 62775, 502, 1653, 2063, 81979, 134031, 14240, 48708, 20051, 4568, 9655, 3688, 759, 738, 7477, 18770, 7, 11853, 26983, 12477, 67, 63134, 18113, 11675, 959, 64194, 27117, 9077, ...
[ 0.1649169921875, 0.2406005859375, 0.1015625, 0.1082763671875, 0.03424072265625, 0.22216796875, 0.1761474609375, 0.2125244140625, 0.239990234375, 0.064453125, 0.05841064453125, 0.1212158203125, 0.1119384765625, 0.1767578125, 0.2130126953125, 0.06463623046875, 0.0418701171875, 0.0516...
embed
78960165_c1
78960165
prolog
1
score_for_job('Data Visualization', 'Data Scientist', 10, 15). score_for_job('Data Analytics Quiz', 'Data Scientist', 10, 15). score_for_job('Data Warehousing', 'Data Scientist', 10, 15). score_for_job('ETL Assessment For ETL Developers', 'ETL Developer', 10, 15). score_for_job('Data Warehousing', 'ETL Developer', 10,...
score_for_job('Data Visualization', 'Data Scientist', 10, 15). score_for_job('Data Analytics Quiz', 'Data Scientist', 10, 15). score_for_job('Data Warehousing', 'Data Scientist', 10, 15). score_for_job('ETL Assessment For ETL Developers', 'ETL Developer', 10, 15). score_for_job('Data Warehousing', 'ETL Developer', 10,...
[ 0.023193359375, 0.0230712890625, -0.01416015625, 0.00396728515625, -0.01531982421875, -0.0003948211669921875, -0.0274658203125, 0.00616455078125, 0.0155029296875, 0.007171630859375, -0.0107421875, 0.0040283203125, -0.0072021484375, 0.0030975341796875, -0.000957489013671875, 0.014587402...
[ 47763, 2472, 36791, 137989, 73372, 47691, 25, 4, 159, 45964, 1419, 209, 423, 194, 132, 50480, 116727, 454, 100084, 13885, 6953, 23385, 866, 233397, 1326, 241, 41445, 152774, 7, 242, 294, 35613, 13034, 350, 48316, 11809, 23923, 382, 1745, ...
[ 0.253173828125, 0.16943359375, 0.211669921875, 0.154052734375, 0.2120361328125, 0.1522216796875, 0.0149078369140625, 0.0148468017578125, 0.06634521484375, 0.157470703125, 0.115234375, 0.1295166015625, 0.158447265625, 0.0367431640625, 0.014862060546875, 0.187255859375, 0.205810546875,...
embed
42398454_c0
42398454
prolog
0
Title: How to get current working directory Problem title: How to get current working directory Tags: yap, prolog Problem: How to get current working directory I'm new with yap (and with Prolog in general), and I can't figure out how to get the current directory. In fact, I can't make sense of the documentation: workin...
How to get current working directory How to get current working directory yap prolog How working_directory CurDir NextDir Restoring Yap startup.yss x86_64-linux Sat Nov UTC SYNTAX ERROR HERE INSTANTIATION meta_call _131099 How to get current working directory I'm new with yap (and with Prolog in general), and I can't f...
[ 0.006195068359375, 0.00811767578125, 0.0230712890625, 0.0177001953125, -0.0035247802734375, 0.024169921875, -0.00396728515625, -0.01531982421875, -0.01806640625, -0.055908203125, 0.032470703125, 0.02294921875, -0.055908203125, -0.0133056640625, 0.003265380859375, 0.007415771484375, 0...
[ 11249, 47, 2046, 43581, 20697, 14364, 53, 15850, 502, 4867, 80581, 30675, 17065, 397, 481, 4997, 9624, 1290, 47246, 73882, 4778, 7, 1022, 15276, 13307, 2397, 6077, 20745, 15360, 99577, 55858, 22879, 72850, 151206, 65791, 64083, 618, 75706, ...
[ 0.08892822265625, 0.03363037109375, 0.15234375, 0.267578125, 0.255859375, 0.26318359375, 0.1644287109375, 0.228515625, 0.169921875, 0.238037109375, 0.1756591796875, 0.0694580078125, 0.1890869140625, 0.1239013671875, 0.18798828125, 0.162841796875, 0.05792236328125, 0.134521484375, ...
embed
64048419_c0
64048419
prolog
0
Title: How to express "ancestor" recursively Problem title: How to express "ancestor" recursively Tags: transitive-closure, recursion, prolog Problem: How to express "ancestor" recursively I'm stuck with this recursion which doesn't work as I expect. Where is my mistake? #!/usr/bin/prolog % Facts mo...
How to express "ancestor" recursively How to express "ancestor" recursively transitive-closure recursion prolog How Facts Rules Mother Child Father Parent Ancestors Queries Ancestor Eve GrandParent GrandMother FatherOrMother GrandsFather SisterOrBrother MotherOrFather MotherAndFather GrandMothers Ch...
[ -0.00958251953125, 0.003631591796875, 0.00994873046875, 0.01470947265625, 0.004669189453125, 0.0079345703125, -0.00482177734375, 0.019775390625, 0.0001430511474609375, -0.040771484375, 0.02099609375, -0.0042724609375, -0.00433349609375, 0.0250244140625, 0.032470703125, -0.0162353515625...
[ 11249, 47, 36510, 60502, 1290, 41502, 195625, 5844, 538, 62621, 170224, 1830, 502, 4867, 132640, 7, 139118, 115217, 123829, 160960, 170918, 893, 5170, 22230, 5813, 10484, 3956, 20820, 70077, 12801, 28636, 2517, 594, 126340, 19060, 17647, 602, ...
[ 0.049224853515625, 0.025360107421875, 0.1826171875, 0.1983642578125, 0.233154296875, 0.0579833984375, 0.2352294921875, 0.1885986328125, 0.05633544921875, 0.12353515625, 0.1988525390625, 0.100830078125, 0.139404296875, 0.2099609375, 0.1513671875, 0.02410888671875, 0.1676025390625, 0...
embed
69328940_c0
69328940
prolog
0
Title: Prolog predicate return true and false Problem title: Prolog predicate return true and false Tags: prolog Problem: Prolog predicate return true and false I've set out to solve a logical problem found in a kid game just to prove myself that some problems has more than one solution. The game is as follow, you have...
Prolog predicate return true and false Prolog predicate return true and false prolog Prolog bear_yellow bear_green bear_orange bear_red licorice_red cake_blue cake_red cake_green cake_yellow fish_yellow fish_orange fish_red fish_green jelly_bean jelly_bean_red jelly_bean_green jelly_bean_pink jelly_bean_purple jelly_be...
[ -0.0027008056640625, -0.021240234375, 0.0019378662109375, 0.0152587890625, -0.0064697265625, 0.0003986358642578125, -0.0035858154296875, 0.007232666015625, 0.00457763671875, -0.01220703125, -0.00494384765625, -0.0050048828125, -0.000385284423828125, 0.0057373046875, 0.0203857421875, 0....
[ 1250, 4867, 1653, 2063, 67, 30646, 29568, 136, 98320, 502, 81148, 1033, 41566, 454, 99433, 10727, 13, 2822, 37728, 32512, 86963, 143802, 67155, 55, 372, 5128, 12097, 4717, 66, 84433, 83, 67890, 109020, 24480, 70541, 133, 4438, 3630, 45029, ...
[ 0.2027587890625, 0.28076171875, 0.1949462890625, 0.2337646484375, 0.0946044921875, 0.2332763671875, 0.218017578125, 0.1046142578125, 0.2646484375, 0.18212890625, 0.166748046875, 0.07501220703125, 0.1512451171875, 0.00140380859375, 0.1392822265625, 0.1383056640625, 0.010101318359375, ...
embed
76466591_c0
76466591
prolog
0
Title: i have problems with my connect_four.pl program Problem title: i have problems with my connect_four.pl program Tags: prolog Problem: i have problems with my connect_four.pl program I'm working on a Prolog program for a class project and I'm running into a syntax error on line 74 when I try to compile it using GN...
i have problems with my connect_four.pl program i have problems with my connect_four.pl program prolog connect_four.pl Inizializza init_grid Stampa print_grid Row Rest print_rotated_grid Grid rotate_grid RotatedGrid Ruota Transposed Calcola Tss lists_firsts_rests Ms1 Estrae Verifica valid_input Input Chiede choose_colu...
[ -0.0159912109375, 0.003082275390625, 0.0274658203125, 0.00390625, -0.022705078125, -0.00439453125, -0.03466796875, 0.0025634765625, -0.01220703125, -0.016845703125, 0.0033721923828125, -0.00150299072265625, -0.0108642578125, -0.015869140625, -0.02294921875, 0.00836181640625, 0.000682...
[ 17, 765, 44402, 678, 759, 37067, 160018, 2424, 1528, 502, 4867, 63506, 150, 7070, 23, 217, 120067, 159703, 28412, 96190, 49756, 16210, 27686, 31945, 47014, 146283, 19040, 45688, 11062, 9113, 21854, 5303, 13448, 56644, 70802, 418, 111576, 2024...
[ 0.028106689453125, 0.1083984375, 0.176513671875, 0.1103515625, 0.037353515625, 0.2237548828125, 0.263916015625, 0.1749267578125, 0.171142578125, 0.14501953125, 0.210205078125, 0.06939697265625, 0.006378173828125, 0.0087890625, 0.06732177734375, 0.12548828125, 0.2021484375, 0.159179...
embed
74071216_c0
74071216
prolog
0
Title: Binary Arithmetic with non-standard representation in Prolog Problem title: Binary Arithmetic with non-standard representation in Prolog Tags: prolog Problem: Binary Arithmetic with non-standard representation in Prolog I'm trying to do binary operations in Prolog for a homework assignment. I'm not looking for c...
Binary Arithmetic with non-standard representation in Prolog Binary Arithmetic with non-standard representation in Prolog prolog Binary Arithmetic Prolog Question Ans Binary Arithmetic with non-standard representation in Prolog I'm trying to do binary operations in Prolog for a homework assignment. I'm not looking for ...
[ 0.01409912109375, 0.006988525390625, 0.0106201171875, 0.0198974609375, -0.01458740234375, 0.023681640625, -0.007781982421875, -0.02783203125, -0.01007080078125, -0.0108642578125, 0.017578125, 0.0084228515625, -0.0208740234375, 0.018798828125, 0.0283203125, -0.0052490234375, 0.0151367...
[ 54092, 1294, 1172, 8962, 282, 9523, 678, 351, 66589, 18811, 1250, 4867, 502, 1363, 23, 31577, 2394, 6635, 41018, 5368, 18244, 95486, 134665, 179933, 6275, 77947, 101935, 61924, 1238, 2389, 757, 418, 106, 19713, 2684, 88551, 153939, 96679, 2...
[ 0.22119140625, 0.1248779296875, 0.010009765625, 0.1513671875, 0.082763671875, 0.004150390625, 0.07177734375, 0.1256103515625, 0.193115234375, 0.195556640625, 0.15283203125, 0.2373046875, 0.1243896484375, 0.006866455078125, 0.0745849609375, 0.00018310546875, 0.2017822265625, 0.14868...
embed
35167969_c0
35167969
prolog
0
Title: Prolog with C#. Access Voilation Error Problem title: Prolog with C#. Access Voilation Error Tags: c%23, prolog Problem: Prolog with C#. Access Voilation Error I am new to Prolog and C#. When I try to integrate Prolog with C# I found some errors. I followed the instructions written at SWI-Prolog website and uses...
Prolog with C#. Access Voilation Error Prolog with C#. Access Voilation Error c%23 prolog uwe Prolog Access Voilation Error Environment.SetEnvironmentVariable SWI_HOME_DIR Program Files x86 PATH PlEngine.IsInitialized PlEngine.Initialize PlQuery.PlCall PlQuery atomic_list_concat is_father_of PlQueryVariables q.Solution...
[ 0.01324462890625, 0.0198974609375, -0.005126953125, 0.01324462890625, -0.020263671875, 0.005859375, -0.0001811981201171875, -0.0027923583984375, 0.0028533935546875, -0.06103515625, 0.0230712890625, 0.013427734375, 0.0019989013671875, -0.000957489013671875, 0.020263671875, -0.013671875,...
[ 1250, 4867, 678, 313, 4904, 40266, 22591, 57860, 212059, 501, 3742, 502, 36648, 686, 1900, 294, 126, 81827, 2886, 159, 38969, 841, 91245, 123237, 7663, 42724, 15276, 139909, 29016, 91384, 1212, 29598, 1890, 40705, 41732, 141, 441, 34627, 65...
[ 0.19287109375, 0.240478515625, 0.1494140625, 0.03594970703125, 0.2137451171875, 0.263427734375, 0.23583984375, 0.1763916015625, 0.1741943359375, 0.010833740234375, 0.163818359375, 0.166259765625, 0.157470703125, 0.10791015625, 0.1265869140625, 0.04052734375, 0.07171630859375, 0.108...
embed
2252657_c0
2252657
prolog
0
Title: Java help - StringIndexOutOfBoundsException - String index out of range: -1 Problem title: Java help - StringIndexOutOfBoundsException - String index out of range: -1 Tags: prolog, java, interprolog Problem: Java help - StringIndexOutOfBoundsException - String index out of range: -1 Code signals: StringIndexOutO...
Java help - StringIndexOutOfBoundsException - String index out of range: -1 Java help - StringIndexOutOfBoundsException - String index out of range: -1 prolog java interprolog StringIndexOutOfBoundsException java.lang.StringIndexOutOfBoundsException com.declarativa.interprolog.util.IPException package Java Exception AW...
[ 0.03173828125, 0.0155029296875, 0.00151824951171875, 0.00213623046875, -0.01385498046875, 0.00665283203125, 0.004608154296875, 0.017578125, 0.006591796875, -0.0186767578125, 0.01171875, 0.01055908203125, -0.0230712890625, 0.0042724609375, 0.0302734375, -0.027099609375, 0.022338867187...
[ 41925, 4358, 23351, 214, 4153, 39659, 79858, 132887, 12647, 7030, 19279, 63928, 63262, 1810, 111, 37457, 68940, 20, 502, 4867, 79, 330, 1940, 3454, 5, 3066, 71713, 7, 375, 50718, 3945, 4501, 10433, 3675, 10931, 98169, 5443, 62, 156416, 19...
[ 0.2330322265625, 0.183837890625, 0.21533203125, 0.0968017578125, 0.1087646484375, 0.2197265625, 0.178955078125, 0.2249755859375, 0.04522705078125, 0.1748046875, 0.0474853515625, 0.206787109375, 0.25, 0.1724853515625, 0.1373291015625, 0.2149658203125, 0.1900634765625, 0.007171630859...
embed
28874369_c0
28874369
prolog
0
Title: Handling wide characters when parsing with DCGs Problem title: Handling wide characters when parsing with DCGs Tags: widechar, unicode, swi-prolog, prolog, dcg Problem: Handling wide characters when parsing with DCGs As I dig further into the use of DCGs, I find myself stymied by wide characters. I am trying to ...
Handling wide characters when parsing with DCGs Handling wide characters when parsing with DCGs widechar unicode swi-prolog prolog dcg Handling DCGs code_type char_type Handling wide characters when parsing with DCGs As I dig further into the use of DCGs, I find myself stymied by wide characters. I am trying to write a...
[ 0.0179443359375, -0.0045166015625, -0.003997802734375, 0.0164794921875, -0.0107421875, 0.000514984130859375, -0.00150299072265625, -0.006683349609375, -0.005889892578125, -0.0034637451171875, -0.00144195556640625, -0.0263671875, -0.013427734375, -0.005950927734375, -0.0118408203125, 0....
[ 193237, 38134, 124850, 366, 678, 391, 56367, 9254, 60347, 2452, 3454, 4867, 502, 104, 18151, 50986, 21441, 4527, 40536, 266, 33022, 4537, 60042, 47, 1098, 52825, 134234, 26548, 7986, 11435, 4727, 86077, 132338, 107415, 66801, 72483, 54940, 62...
[ 0.17333984375, 0.2208251953125, 0.2054443359375, 0.1392822265625, 0.0587158203125, 0.0823974609375, 0.2056884765625, 0.1494140625, 0.06597900390625, 0.126220703125, 0.0555419921875, 0.1346435546875, 0.0511474609375, 0.002593994140625, 0.1563720703125, 0.1326904296875, 0.1370849609375...
embed
33898168_c0
33898168
prolog
0
Title: prolog - Is it necessary to remove the "singleton variable" warning while stating a fact? Problem title: prolog - Is it necessary to remove the "singleton variable" warning while stating a fact? Tags: prolog, singleton Problem: prolog - Is it necessary to remove the "singleton variable" warni...
prolog - Is it necessary to remove the "singleton variable" warning while stating a fact? prolog - Is it necessary to remove the "singleton variable" warning while stating a fact? prolog singleton power.pl Y-1 Y1-1 SWI-PROLOG Singleton prolog - Is it necessary to remove the "singleton variable" warn...
[ 0.03076171875, 0.0128173828125, 0.017822265625, 0.007598876953125, -0.008056640625, -0.00677490234375, -0.004058837890625, 0.001617431640625, 0.00616455078125, -0.03173828125, -0.005615234375, -0.01055908203125, -0.0289306640625, -0.026123046875, 0.0101318359375, 0.0247802734375, 0.0...
[ 502, 4867, 63559, 87388, 6953, 133, 1507, 77336, 1631, 592, 12960, 13254, 15824, 214, 11001, 14537, 2424, 990, 5759, 115727, 38969, 47970, 47510, 43609, 1250, 3688, 8781, 18151, 74481, 16750, 14012, 47, 111, 15700, 1723, 11675, 75101, 62783, ...
[ 0.1473388671875, 0.2357177734375, 0.1654052734375, 0.1917724609375, 0.13037109375, 0.107421875, 0.2493896484375, 0.29052734375, 0.1829833984375, 0.12744140625, 0.073974609375, 0.159423828125, 0.1693115234375, 0.00482177734375, 0.1190185546875, 0.1907958984375, 0.113037109375, 0.030...
embed
31584614_c0
31584614
prolog
0
Title: Modules with dynamic predicates Problem title: Modules with dynamic predicates Tags: swi-prolog, prolog, prolog-directive-dynamic, prolog-assert, module Problem: Modules with dynamic predicates This is a follow up question to : Adapting csv reading for multiple tables If I have the following module defined: :- m...
Modules with dynamic predicates Modules with dynamic predicates swi-prolog prolog prolog-directive-dynamic prolog-assert module Modules csv_load_mod prepare_db use_module set_prolog_stack File Column_Key Relation Column_Key_Term Relation_Term read_row Row store_row Column_Key_Test ColKeys Cols RowKey Values store_relat...
[ 0.0245361328125, -0.0087890625, 0.0150146484375, 0.01361083984375, -0.00799560546875, 0.012451171875, 0.0230712890625, 0.010498046875, -0.009765625, -0.039306640625, -0.0128173828125, 0.007232666015625, -0.0228271484375, -0.0233154296875, 0.0167236328125, 0.0072021484375, -0.00613403...
[ 63014, 678, 84079, 1653, 2063, 91, 2452, 3454, 4867, 502, 242554, 162, 33657, 88996, 20763, 334, 63033, 13415, 114606, 48073, 4527, 83279, 5423, 2594, 42724, 233987, 162429, 116822, 35484, 12301, 15555, 96190, 4343, 111337, 11554, 190060, 107, ...
[ 0.1898193359375, 0.07177734375, 0.248046875, 0.182861328125, 0.1947021484375, 0.029266357421875, 0.166259765625, 0.09649658203125, 0.1500244140625, 0.0819091796875, 0.134033203125, 0.0185394287109375, 0.168212890625, 0.2130126953125, 0.1002197265625, 0.2047119140625, 0.105224609375, ...
embed
33668458_c1
33668458
prolog
1
), ( writeln('closing...'), close(In), close(Out))), !, server_loop(S). server_operation(In, Out) :- \+at_end_of_stream(In), read_pending_input(In, Codes, []), atom_codes(Text,Codes), write('received from client: '),write(Text),nl, % job which has to be done in Prolog extract_fct_call( Text, Fname, ListOfIname, ListOfI...
), ( writeln('closing...'), close(In), close(Out))), !, server_loop(S). server_operation(In, Out) :- \+at_end_of_stream(In), read_pending_input(In, Codes, []), atom_codes(Text,Codes), write('received from client: '),write(Text),nl, % job which has to be done in Prolog extract_fct_call( Text, Fname, ListOfIname, ListOfI...
[ 0.0208740234375, 0.00213623046875, 0.018310546875, 0.0081787109375, -0.0087890625, -0.02099609375, 0.00970458984375, 0.006072998046875, 0.0035247802734375, -0.0174560546875, 0.019775390625, 0.0011444091796875, -0.002685546875, 0.0179443359375, 0.01483154296875, -0.017333984375, 0.033...
[ 247, 33022, 19, 63499, 6953, 27, 20903, 4153, 79858, 711, 10723, 28354, 294, 21473, 1363, 13538, 1328, 3611, 86429, 12301, 96819, 73, 7077, 28864, 34627, 40899, 174379, 114211, 74105, 23282, 12447, 1556, 16940, 1250, 4867, 125663, 140443, 18,...
[ 0.039764404296875, 0.0726318359375, 0.0111083984375, 0.131591796875, 0.1240234375, 0.0411376953125, 0.150146484375, 0.11865234375, 0.1422119140625, 0.042724609375, 0.1552734375, 0.1478271484375, 0.0233306884765625, 0.1405029296875, 0.044677734375, 0.155517578125, 0.032257080078125, ...
embed
79434794_c0
79434794
prolog
0
Title: How do I pass parameters to ichiban/prolog's Query function? Problem title: How do I pass parameters to ichiban/prolog's Query function? Tags: go, ffi, prolog, iso-prolog Problem: How do I pass parameters to ichiban/prolog's Query function? I have the following Go code: package main import ( "context" ...
How do I pass parameters to ichiban/prolog's Query function? How do I pass parameters to ichiban/prolog's Query function? go ffi prolog iso-prolog How Query github.com go:embed permissions.pl User Name Roles CheckPerm context.Context u.Roles fmt.Sprintf strings.Join prolog.New p.ExecContext p.QueryContext res...
[ 0.0130615234375, 0.026611328125, 0.0002422332763671875, 0.0201416015625, -0.02197265625, 0.0002231597900390625, -0.00130462646484375, -0.0004253387451171875, 0.0032806396484375, -0.047119140625, 0.0238037109375, -0.0108642578125, -0.0186767578125, 0.002410888671875, -0.017822265625, 0....
[ 11249, 54, 87, 27875, 171859, 7, 47, 654, 14, 761, 3454, 4867, 3768, 58836, 53, 32354, 738, 24500, 502, 13882, 62270, 32102, 277, 195, 13482, 168081, 2424, 53400, 15757, 2777, 38679, 15277, 43701, 22829, 75, 12724, 1238, 18, 35662, 420, ...
[ 0.08782958984375, 0.01580810546875, 0.022735595703125, 0.185302734375, 0.30322265625, 0.0892333984375, 0.1002197265625, 0.1337890625, 0.1016845703125, 0.2401123046875, 0.14697265625, 0.219970703125, 0.051666259765625, 0.203857421875, 0.1282958984375, 0.1865234375, 0.16552734375, 0....
embed
49870172_c0
49870172
prolog
0
Title: Prolog Logic Puzzle not working? Problem title: Prolog Logic Puzzle not working? Tags: prolog, zebra-puzzle Problem: Prolog Logic Puzzle not working? I have been working on this Prolog logic problem for awhile. It is getting incorrect results and it is taking awhile to run the program itself which is what concer...
Prolog Logic Puzzle not working? Prolog Logic Puzzle not working? prolog zebra-puzzle Prolog Logic Puzzle empty_building puzzle_soln BLDG HFN FFN FRN JFN JRN BFN BRN EFN ERN DFN DRN GFN GRN CFN CRN Prolog Logic Puzzle not working? I have been working on this Prolog logic problem for awhile. It is getting incorrect resu...
[ 0.0037689208984375, 0.01123046875, 0.003875732421875, -0.010498046875, -0.01348876953125, 0.0263671875, -0.032958984375, -0.03857421875, 0.004638671875, -0.0289306640625, 0.01104736328125, 0.003814697265625, 0.0225830078125, -0.017333984375, 0.0029754638671875, 0.0111083984375, -0.00...
[ 1250, 4867, 50592, 238, 179277, 959, 20697, 502, 116232, 1766, 13894, 133, 201505, 146049, 104192, 8748, 19, 68170, 84324, 66882, 839, 106076, 50456, 104105, 79035, 62775, 2967, 204610, 214552, 50339, 35971, 11675, 1528, 68034, 50509, 1950, 183...
[ 0.193359375, 0.280029296875, 0.2149658203125, 0.1002197265625, 0.251220703125, 0.1341552734375, 0.1851806640625, 0.156005859375, 0.222412109375, 0.107421875, 0.1319580078125, 0.048553466796875, 0.2091064453125, 0.1673583984375, 0.224365234375, 0.15185546875, 0.045440673828125, 0.01...
embed
30200533_c0
30200533
prolog
0
Title: Syntax error in the representation of DCG in Prolog? Problem title: Syntax error in the representation of DCG in Prolog? Tags: dcg, prolog, syntax-error Problem: Syntax error in the representation of DCG in Prolog? I am writing a grammar for a game simulation using DCG of prolog. I assume that the logic is corre...
Syntax error in the representation of DCG in Prolog? Syntax error in the representation of DCG in Prolog? dcg prolog syntax-error Syntax DCG Prolog XSIZE YSIZE OBSTACLE CHARACTER START END TURN LEFT CHANGESPEED SENSE PRINT STOP OKAY ERROR dcggame.p:19:37 Operator dcggame.p:21:42 Warning dcggame.p:24 Singleton Syntax er...
[ 0.021240234375, -0.01025390625, -0.007354736328125, 0.0147705078125, 0.005218505859375, 0.0252685546875, -0.032958984375, -0.01080322265625, 0.000873565673828125, -0.011474609375, -0.01275634765625, -0.00921630859375, -0.00628662109375, -0.021240234375, 0.0159912109375, 0.0120849609375...
[ 19010, 86531, 18499, 18811, 391, 56367, 1250, 4867, 104, 238, 177, 502, 6002, 188800, 1193, 9902, 19157, 990, 35988, 22565, 188359, 39015, 70436, 25217, 14045, 14082, 153726, 138911, 159, 207771, 10865, 59537, 70675, 14315, 51720, 151206, 35311...
[ 0.1571044921875, 0.214599609375, 0.1865234375, 0.164794921875, 0.110107421875, 0.236572265625, 0.1402587890625, 0.2388916015625, 0.0369873046875, 0.045928955078125, 0.1243896484375, 0.105712890625, 0.133056640625, 0.1690673828125, 0.03765869140625, 0.054595947265625, 0.0987548828125,...
embed
60548751_c0
60548751
prolog
0
Title: How are anonymous variables interpreted in Prolog? Problem title: How are anonymous variables interpreted in Prolog? Tags: sld-resolution, prolog, evaluation, prolog-anonymous-variable Problem: How are anonymous variables interpreted in Prolog? A quick and simple question regarding what role anonymous variables ...
How are anonymous variables interpreted in Prolog? How are anonymous variables interpreted in Prolog? sld-resolution prolog evaluation prolog-anonymous-variable How Prolog How are anonymous variables interpreted in Prolog? A quick and simple question regarding what role anonymous variables play in the resolution of a P...
[ 0.01275634765625, 0.018798828125, 0.012939453125, -0.00185394287109375, 0.00083160400390625, -0.00022125244140625, 0.00049591064453125, 0.0167236328125, -0.0211181640625, 0.00885009765625, 0.0023040771484375, -0.006072998046875, -0.0203857421875, 0.00022125244140625, 0.00677490234375, ...
[ 11249, 52184, 10821, 77336, 7, 29481, 297, 1250, 4867, 7344, 107, 166589, 502, 219836, 66, 45757, 21690, 23, 31486, 11301, 158839, 41, 1294, 34475, 1528, 79986, 28219, 30362, 3173, 159, 30693, 43240, 53201, 64549, 13579, 69236, 69407, 132216,...
[ 0.05914306640625, 0.2462158203125, 0.13330078125, 0.27099609375, 0.0958251953125, 0.212158203125, 0.07421875, 0.1422119140625, 0.243896484375, 0.122802734375, 0.04718017578125, 0.130615234375, 0.0941162109375, 0.0819091796875, 0.02642822265625, 0.109130859375, 0.13134765625, 0.0196...
embed
78371988_c0
78371988
prolog
0
Title: Early stop predicate with a `true` value in Prolog Problem title: Early stop predicate with a `true` value in Prolog Tags: early-return, prolog, swi-prolog Problem: Early stop predicate with a `true` value in Prolog I am writing a http_server application with http_session s in Prolog. A request is handled with a...
Early stop predicate with a `true` value in Prolog Early stop predicate with a `true` value in Prolog early-return prolog swi-prolog Early Prolog http_server http_session Request ensure_path Session http_session_id http_session_data my_data Data show_error render_some_success_html Early stop predicate with a `true` val...
[ 0.0135498046875, 0.0157470703125, 0.0087890625, -0.00909423828125, -0.01806640625, 0.01226806640625, 0.009033203125, -0.012939453125, 0.00347900390625, -0.048095703125, 0.00225830078125, 0.025146484375, -0.0224609375, -0.000530242919921875, 0.03955078125, 0.0257568359375, 0.012329101...
[ 241, 147, 538, 7279, 1653, 2063, 67, 678, 9774, 13, 34292, 1250, 4867, 23, 39395, 65395, 502, 2452, 3454, 1621, 39642, 169234, 75616, 63284, 128405, 148735, 10135, 759, 11809, 7639, 188800, 89159, 43452, 226534, 7693, 32562, 38415, 91, 5033...
[ 0.0243682861328125, 0.1865234375, 0.104736328125, 0.2578125, 0.2296142578125, 0.2451171875, 0.1175537109375, 0.0521240234375, 0.1982421875, 0.1021728515625, 0.188720703125, 0.19580078125, 0.25390625, 0.01007080078125, 0.1846923828125, 0.248291015625, 0.122314453125, 0.1173095703125...
embed
48908809_c0
48908809
prolog
0
Title: Groovy XmlSlurper parse error - content is not allowed in prolog Problem title: Groovy XmlSlurper parse error - content is not allowed in prolog Tags: jmeter-3.2, prolog, groovy, xml Problem: Groovy XmlSlurper parse error - content is not allowed in prolog I am trying to parse an jmeter soap response (XML), howe...
Groovy XmlSlurper parse error - content is not allowed in prolog Groovy XmlSlurper parse error - content is not allowed in prolog jmeter-3.2 prolog groovy xml org.xml.sax.SAXParseException groovy.util.XmlSlurper groovy.util.XmlParser groovy.util.slurpersupport.NodeChild Groovy XmlSlurper Content ctx.getPreviousResult l...
[ -0.003173828125, 0.0184326171875, -0.0038909912109375, -0.0159912109375, 0.00665283203125, 0.0238037109375, -0.01434326171875, -0.010498046875, 0.006134033203125, 0.0098876953125, 0.00885009765625, 0.0172119140625, -0.0142822265625, -0.031494140625, 0.048583984375, 0.009033203125, -0...
[ 14854, 67983, 1193, 7237, 14749, 1264, 366, 184, 18499, 10941, 959, 107003, 23, 502, 4867, 1647, 29089, 107033, 11969, 131492, 30910, 14263, 28004, 63928, 3675, 1542, 28636, 105363, 5021, 112, 102656, 70870, 425, 235588, 7, 7136, 12684, 2500,...
[ 0.132080078125, 0.2314453125, 0.049224853515625, 0.189453125, 0.1226806640625, 0.21484375, 0.13232421875, 0.0867919921875, 0.1820068359375, 0.2281494140625, 0.052947998046875, 0.179443359375, 0.00555419921875, 0.1375732421875, 0.2142333984375, 0.050872802734375, 0.2291259765625, 0....
embed
30465055_c0
30465055
prolog
0
Title: searching in list getting true infinitely in prolog Problem title: searching in list getting true infinitely in prolog Tags: list, prolog, search Problem: searching in list getting true infinitely in prolog I tried to code a Prolog program that takes 2 value and calculates if the pair is valid or not. If pairs a...
searching in list getting true infinitely in prolog searching in list getting true infinitely in prolog list prolog search GroupB GroupA searching in list getting true infinitely in prolog I tried to code a Prolog program that takes 2 value and calculates if the pair is valid or not. If pairs are in different lists, th...
[ 0.0030364990234375, -0.0020599365234375, 0.023193359375, 0.0130615234375, -0.0233154296875, 0.00244140625, -0.00872802734375, 0.00543212890625, 0.011962890625, 0.000048160552978515625, 0.0233154296875, 0.018798828125, 0.0196533203125, -0.01129150390625, 0.004669189453125, -0.0038299560...
[ 157318, 23, 5303, 20949, 29568, 54241, 21286, 502, 4867, 33938, 10760, 571, 284, 37842, 18151, 1250, 1528, 51776, 116, 34292, 74481, 80836, 35604, 959, 12921, 14858, 6626, 7175, 5701, 51588, 831, 98320, 26859, 7639, 17569, 13, 40956, 8781, ...
[ 0.2171630859375, 0.1258544921875, 0.20361328125, 0.0908203125, 0.2369384765625, 0.164306640625, 0.10546875, 0.14013671875, 0.2103271484375, 0.1875, 0.1497802734375, 0.10791015625, 0.06842041015625, 0.0190887451171875, 0.111572265625, 0.12890625, 0.123291015625, 0.009124755859375, ...
embed
61581545_c0
61581545
prolog
0
Title: The how(goal) question to show proof of conclusion the system arrived in prolog Problem title: The how(goal) question to show proof of conclusion the system arrived in prolog Tags: expert-system, prolog Problem: The how(goal) question to show proof of conclusion the system arrived in prolog I have created a bird...
The how(goal) question to show proof of conclusion the system arrived in prolog The how(goal) question to show proof of conclusion the system arrived in prolog expert-system prolog Native Prolog Enter load_kb top_goal MenuList What check_val nostrils:external_tubular live:at_sea bill:hooked wings:long_narrow color:whit...
[ 0.017333984375, 0.0031585693359375, -0.002349853515625, 0.031982421875, -0.00421142578125, 0.023193359375, -0.0218505859375, -0.00157928466796875, -0.0045166015625, -0.02978515625, 0.0123291015625, -0.00787353515625, -0.0084228515625, -0.005889892578125, 0.0242919921875, -0.00354003906...
[ 3642, 519, 289, 9655, 7639, 98869, 111, 93192, 5426, 174920, 23, 502, 4867, 26808, 16751, 353, 4935, 1250, 60816, 72367, 2663, 49434, 154663, 12765, 1405, 11863, 8080, 31586, 46656, 35975, 6867, 257, 184, 54727, 68336, 148, 5180, 10617, 105...
[ 0.19189453125, 0.162841796875, 0.153564453125, 0.187255859375, 0.1317138671875, 0.2056884765625, 0.06689453125, 0.229248046875, 0.1689453125, 0.1993408203125, 0.03662109375, 0.1553955078125, 0.2181396484375, 0.14794921875, 0.10986328125, 0.057373046875, 0.08441162109375, 0.11840820...
embed
26561848_c0
26561848
prolog
0
Title: List exploration via backtracking & mutual recursion Problem title: List exploration via backtracking & mutual recursion Tags: prolog Problem: List exploration via backtracking & mutual recursion I'm trying to implement an exploration algorithm using backtracking. The aim is to find what might be called ...
List exploration via backtracking & mutual recursion List exploration via backtracking & mutual recursion prolog List find_another find_palindrome find_loop Loop Word Word_length Get Hist_in Hist_out N_palindrome Finds Hist_next List exploration via backtracking & mutual recursion I'm trying to implement an exp...
[ 0.0076904296875, -0.00122833251953125, -0.0020294189453125, 0.01611328125, 0.00167083740234375, 0.007232666015625, 0.015869140625, 0.0186767578125, 0.050048828125, -0.027099609375, 0.01507568359375, 0.0191650390625, 0.00176239013671875, 0.0019683837890625, 0.0296630859375, -0.001945495...
[ 32036, 64222, 1829, 4420, 125728, 214, 25133, 199849, 195625, 1830, 502, 4867, 7413, 66, 126340, 5007, 73, 102851, 28354, 199694, 22543, 23986, 20779, 18763, 6056, 541, 26040, 18, 86, 29062, 31577, 29479, 1363, 234873, 464, 13648, 35839, 1150...
[ 0.1834716796875, 0.20703125, 0.055908203125, 0.1453857421875, 0.23974609375, 0.092529296875, 0.031982421875, 0.22607421875, 0.2125244140625, 0.048828125, 0.056854248046875, 0.0985107421875, 0.1856689453125, 0.0570068359375, 0.19775390625, 0.11572265625, 0.0828857421875, 0.174316406...
embed
74493152_c0
74493152
prolog
0
Title: Prolog define orthogonal constaint Problem title: Prolog define orthogonal constaint Tags: prolog Problem: Prolog define orthogonal constaint I am quite new in the Prolog magical universe, but it seems to be very powerful to solve my problem. I have two basis [i0,j0,k0] and [i1,j1,k1] . Then we have an orthogona...
Prolog define orthogonal constaint Prolog define orthogonal constaint prolog Prolog unordered_subset Tail NTail Set SubSet LSet LSubSet NSubSet X-Y Prolog define orthogonal constaint I am quite new in the Prolog magical universe, but it seems to be very powerful to solve my problem. I have two basis [i0,j0,k0] and [i1,...
[ -0.00299072265625, 0.0050048828125, 0.0164794921875, -0.015869140625, 0.010498046875, -0.01556396484375, -0.0303955078125, 0.01556396484375, 0.015869140625, -0.02099609375, -0.005767822265625, 0.010009765625, 0.0038909912109375, -0.00171661376953125, -0.017578125, 0.004486083984375, ...
[ 1250, 4867, 61924, 707, 24948, 6126, 289, 48808, 4288, 502, 51, 80596, 22144, 3509, 1218, 379, 25820, 19943, 8273, 294, 126, 339, 96472, 1193, 9, 1723, 3525, 49846, 14997, 113138, 86869, 2967, 6626, 18231, 14, 2389, 170, 92, 76172, 158, ...
[ 0.20556640625, 0.263671875, 0.2041015625, 0.2171630859375, 0.221923828125, 0.2249755859375, 0.1351318359375, 0.248046875, 0.22607421875, 0.1795654296875, 0.042755126953125, 0.1700439453125, 0.13671875, 0.045013427734375, 0.08538818359375, 0.049407958984375, 0.115234375, 0.124145507...
embed
54369699_c0
54369699
prolog
0
Title: How to write a parser in prolog to output a parse tree Problem title: How to write a parser in prolog to output a parse tree Tags: prolog, parsing, dcg Problem: How to write a parser in prolog to output a parse tree I am writing a parser in prolog that should be able to parse this math formula: a = 1 * 2 + (3 - ...
How to write a parser in prolog to output a parse tree How to write a parser in prolog to output a parse tree prolog parsing dcg How PARSE TREE assign_op mult_op add_op left_paren sub_op right_paren div_op program1.txt myparsetree1.txt letter_code Loads Expr Term Factor mul_op Digit digit_code Existence user:letter_cod...
[ 0.0218505859375, 0.024169921875, -0.0172119140625, 0.0260009765625, -0.00616455078125, 0.0223388671875, -0.018798828125, -0.0078125, -0.0031890869140625, -0.01904296875, -0.00096893310546875, -0.0002422332763671875, -0.0062255859375, -0.0283203125, 0.02099609375, 0.0089111328125, 0.0...
[ 11249, 33022, 366, 2189, 23, 502, 4867, 140992, 184, 53201, 238, 177, 28358, 9127, 93681, 647, 95486, 2146, 3869, 15190, 25737, 2500, 33, 1614, 7108, 18221, 1528, 124326, 759, 62600, 31330, 40899, 2091, 2994, 117969, 16690, 51174, 153939, 1...
[ 0.0462646484375, 0.177001953125, 0.203857421875, 0.238037109375, 0.035186767578125, 0.159912109375, 0.2205810546875, 0.1527099609375, 0.142822265625, 0.25244140625, 0.009033203125, 0.04547119140625, 0.1595458984375, 0.11279296875, 0.2200927734375, 0.030670166015625, 0.131591796875, ...
embed
49954314_c0
49954314
prolog
0
Title: SWI-Prolog: Understanding Infinite Loops Problem title: SWI-Prolog: Understanding Infinite Loops Tags: prolog Problem: SWI-Prolog: Understanding Infinite Loops I am currently trying to understand the basics of prolog. I have a knowledge base like this: p(a). p(X) :- p(X). If I enter the query p(b) , the unificat...
SWI-Prolog: Understanding Infinite Loops SWI-Prolog: Understanding Infinite Loops prolog SWI-Prolog Understanding Infinite Loops SWI-Prolog: Understanding Infinite Loops I am currently trying to understand the basics of prolog. I have a knowledge base like this: p(a). p(X) :- p(X). If I enter the query p(b) , the unifi...
[ 0.0303955078125, 0.0137939453125, 0.007476806640625, 0.0267333984375, -0.0050048828125, -0.0087890625, 0.00244140625, -0.00567626953125, 0.015869140625, -0.042236328125, 0.0228271484375, -0.006195068359375, -0.007720947265625, 0.01104736328125, 0.033203125, 0.01336669921875, 0.048583...
[ 159, 38969, 9, 10752, 4867, 12, 9626, 144057, 134322, 13, 199694, 7, 502, 82424, 31577, 28219, 62822, 51359, 3647, 1884, 903, 915, 132, 11, 194, 1542, 15772, 4263, 30957, 41, 275, 51, 41274, 678, 15824, 35782, 79986, 11814, 3129, 37105, ...
[ 0.05535888671875, 0.20068359375, 0.023712158203125, 0.140380859375, 0.2408447265625, 0.0247955322265625, 0.07489013671875, 0.1119384765625, 0.10479736328125, 0.05810546875, 0.1627197265625, 0.009674072265625, 0.179443359375, 0.006591796875, 0.004974365234375, 0.0955810546875, 0.05432...
embed
70790274_c0
70790274
prolog
0
Title: Prolog: Initialize predicate variables connected with operators correctly Problem title: Prolog: Initialize predicate variables connected with operators correctly Tags: prolog, predicate Problem: Prolog: Initialize predicate variables connected with operators correctly I created some predicate similar to that on...
Prolog: Initialize predicate variables connected with operators correctly Prolog: Initialize predicate variables connected with operators correctly prolog predicate Prolog Initialize find_axioms Specific BaseSet Fullfill Prolog: Initialize predicate variables connected with operators correctly I created some predicate ...
[ 0.01507568359375, -0.00421142578125, -0.0025634765625, -0.005950927734375, -0.00738525390625, 0.01025390625, 0.0152587890625, 0.0135498046875, 0.00762939453125, 0.005950927734375, 0.0262451171875, -0.006683349609375, 0.0279541015625, -0.01416015625, 0.01519775390625, 0.01116943359375, ...
[ 1250, 4867, 360, 40705, 119066, 1653, 2063, 67, 77336, 162711, 678, 39933, 26785, 502, 7413, 91095, 28016, 209052, 44978, 294, 126, 9312, 116115, 7, 75935, 21373, 20187, 27781, 35064, 32599, 2046, 5423, 567, 25632, 62775, 32813, 5408, 56, 1...
[ 0.149169921875, 0.2086181640625, 0.068359375, 0.16015625, 0.07537841796875, 0.1446533203125, 0.19970703125, 0.0582275390625, 0.256103515625, 0.1492919921875, 0.0921630859375, 0.22998046875, 0.1220703125, 0.1339111328125, 0.1004638671875, 0.1029052734375, 0.117431640625, 0.221923828...
embed
39422270_c0
39422270
prolog
0
Title: Prolog Beginner - macbook Problem title: Prolog Beginner - macbook Tags: prolog Problem: Prolog Beginner - macbook Current college student here and have to learn Prolog this semester. Wanted to mess around and get ahead and learn it before we actually get into any assignments and I am lost lol. I am creating a p...
Prolog Beginner - macbook Prolog Beginner - macbook prolog Prolog Beginner acted_in brad_pitt cate_blanchette sharlto_copley district_9 david_james alejandro_inarritu neill_blomkamp main.pl print_query_true true:Q print_query_false false:Q Did Leonardo DiCaprio Babel leonardo_dicaprio Prolog Beginner - macbook Current ...
[ 0.01458740234375, 0.043701171875, 0.00958251953125, 0.0224609375, -0.0225830078125, -0.001373291015625, -0.006866455078125, 0.0035858154296875, -0.002471923828125, -0.037109375, -0.0135498046875, -0.0145263671875, 0.004241943359375, 0.01202392578125, -0.0030059814453125, 0.007995605468...
[ 1250, 4867, 67053, 56, 20, 19138, 14137, 502, 10, 89829, 73, 1620, 71, 6295, 18, 38368, 68820, 142190, 54524, 141, 188, 8705, 53, 103724, 1126, 5518, 46378, 7, 39670, 49579, 5713, 106731, 27633, 5201, 2424, 28412, 944, 9774, 29568, 2737, ...
[ 0.2147216796875, 0.318115234375, 0.1893310546875, 0.1334228515625, 0.00390625, 0.1158447265625, 0.1669921875, 0.13525390625, 0.1318359375, 0.1429443359375, 0.08514404296875, 0.0931396484375, 0.0606689453125, 0.173828125, 0.109130859375, 0.1683349609375, 0.075439453125, 0.2279052734...
embed
74834622_c0
74834622
prolog
0
Title: Why does my Prolog program repeat matches for the same thing when I press semicolon? Problem title: Why does my Prolog program repeat matches for the same thing when I press semicolon? Tags: prolog, swi-prolog Problem: Why does my Prolog program repeat matches for the same thing when I press semicolon? I'm tryin...
Why does my Prolog program repeat matches for the same thing when I press semicolon? Why does my Prolog program repeat matches for the same thing when I press semicolon? prolog swi-prolog Why Prolog source_account destination_account interception_between Found Welcome SWI-Prolog ABSOLUTELY WARRANTY Please www.swi-prolo...
[ -0.0091552734375, 0.00933837890625, 0.004974365234375, 0.01116943359375, -0.01446533203125, 0.0224609375, -0.016357421875, 0.009033203125, 0.008056640625, -0.0223388671875, 0.0238037109375, 0.01263427734375, -0.0289306640625, -0.01019287109375, 0.03857421875, -0.021484375, 0.02050781...
[ 44084, 14602, 1250, 4867, 1528, 119140, 14858, 90, 100, 5701, 13580, 24234, 40, 46029, 4759, 502, 2452, 3454, 31344, 213499, 78869, 1940, 63928, 4626, 1177, 215624, 91334, 38969, 10752, 30174, 134912, 22543, 43578, 61152, 155816, 195977, 181668...
[ 0.1190185546875, 0.035186767578125, 0.1636962890625, 0.2303466796875, 0.1558837890625, 0.25830078125, 0.217529296875, 0.08367919921875, 0.0555419921875, 0.147705078125, 0.08624267578125, 0.1739501953125, 0.1197509765625, 0.1865234375, 0.1680908203125, 0.083740234375, 0.1180419921875,...
embed
52046194_c0
52046194
prolog
0
Title: Greedy search in prolog using heuristic value Problem title: Greedy search in prolog using heuristic value Tags: graph-algorithm, depth-first-search, shortest-path, prolog Problem: Greedy search in prolog using heuristic value I have a graph and a heuristic table, with a list connections and node values and also...
Greedy search in prolog using heuristic value Greedy search in prolog using heuristic value graph-algorithm depth-first-search shortest-path prolog heuristic Greedy GoalN Path Node Solution NextNode Greedy search in prolog using heuristic value I have a graph and a heuristic table, with a list connections and node valu...
[ -0.000835418701171875, 0.00140380859375, -0.007598876953125, -0.00787353515625, -0.01043701171875, 0.01177978515625, -0.00531005859375, 0.010986328125, -0.004913330078125, -0.042724609375, 0.0157470703125, -0.01190185546875, -0.0303955078125, -0.00927734375, 0.0162353515625, 0.01293945...
[ 10255, 297, 53, 33938, 502, 4867, 17368, 764, 474, 48242, 34292, 41382, 100628, 2783, 168867, 13448, 86250, 16610, 525, 128405, 2016, 289, 108421, 438, 112, 187895, 4997, 5021, 23180, 5303, 94878, 110, 142424, 11034, 1106, 6524, 11727, 1529, ...
[ 0.18505859375, 0.15185546875, 0.115478515625, 0.2276611328125, 0.1561279296875, 0.2119140625, 0.0263519287109375, 0.0899658203125, 0.189697265625, 0.1334228515625, 0.1495361328125, 0.169677734375, 0.035400390625, 0.0199737548828125, 0.113037109375, 0.023773193359375, 0.1673583984375,...
embed
16570776_c0
16570776
prolog
0
Title: Accessing SWI-Prolog libraries from Logtalk Problem title: Accessing SWI-Prolog libraries from Logtalk Tags: dcg, prolog, logtalk Problem: Accessing SWI-Prolog libraries from Logtalk I'm having a lot of fun using Logtalk, but ran into an issue using phrase_from_file . Specifically, my case looks something like t...
Accessing SWI-Prolog libraries from Logtalk Accessing SWI-Prolog libraries from Logtalk dcg prolog logtalk Logtalk Accessing SWI-Prolog phrase_from_file scan_parser Scan Scans dcg_basics:blanks scan_file Filename pio:phrase_from_file end_object scan_parser::scan_file input.txt ERROR Undefined pio:scanlist this::scanlis...
[ 0.0150146484375, 0.00469970703125, -0.006683349609375, 0.0216064453125, -0.022705078125, 0.00543212890625, -0.00185394287109375, 0.001708984375, 0.01116943359375, -0.07275390625, 0.01239013671875, -0.006866455078125, -0.0089111328125, -0.007354736328125, 0.00933837890625, -0.0072631835...
[ 40266, 159, 38969, 10752, 4867, 35773, 10484, 13146, 139109, 1295, 177, 502, 12684, 113860, 161063, 29822, 44954, 2500, 2189, 65533, 5918, 165839, 42724, 20402, 179665, 3564, 187694, 4398, 107730, 124326, 151206, 79912, 5983, 6562, 903, 7477, 3...
[ 0.0941162109375, 0.0516357421875, 0.2225341796875, 0.1136474609375, 0.1697998046875, 0.1688232421875, 0.0191650390625, 0.1199951171875, 0.2310791015625, 0.0030517578125, 0.0042724609375, 0.076416015625, 0.0325927734375, 0.2386474609375, 0.1903076171875, 0.25146484375, 0.15966796875, ...
embed
59557006_c0
59557006
prolog
0
Title: Change the default output values in ​swi-prolog "true" and "false" for predicate evaluation Problem title: Change the default output values in ​swi-prolog "true" and "false" for predicate evaluation Tags: unit-testing, prolog-toplevel, prolog Problem: Change the default ou...
Change the default output values in ​swi-prolog "true" and "false" for predicate evaluation Change the default output values in ​swi-prolog "true" and "false" for predicate evaluation unit-testing prolog-toplevel prolog Change messages.pl query_result extra_line prompt_alternativ...
[ 0.01287841796875, 0.036865234375, 0.00421142578125, 0.006134033203125, -0.0101318359375, -0.01239013671875, 0.0142822265625, -0.0040283203125, -0.01165771484375, 0.003509521484375, 0.00689697265625, 0.0250244140625, -0.0123291015625, 0.004119873046875, 0.0244140625, 0.00897216796875, ...
[ 87377, 114977, 140992, 142424, 91, 2452, 3454, 4867, 9774, 136, 8710, 184, 1653, 2063, 219836, 100, 25072, 6954, 502, 13784, 67919, 89914, 2424, 41, 2109, 7136, 4173, 2256, 105876, 119927, 151206, 8436, 20655, 1363, 4028, 126684, 53400, 1414,...
[ 0.176513671875, 0.250244140625, 0.225830078125, 0.1776123046875, 0.050567626953125, 0.2298583984375, 0.1744384765625, 0.206298828125, 0.152099609375, 0.111572265625, 0.158935546875, 0.06591796875, 0.1156005859375, 0.1583251953125, 0.1881103515625, 0.013580322265625, 0.09912109375, ...
embed
78549871_c0
78549871
prolog
0
Title: DCG LaTeX printer for FOL prover Problem title: DCG LaTeX printer for FOL prover Tags: first-order-logic, latex, logic, prolog, swi-prolog Problem: DCG LaTeX printer for FOL prover The following SWI Prolog code is mainly Jens Ottens' leanseq.pl prover for classical FOL: % ----------------------------------------...
DCG LaTeX printer for FOL prover DCG LaTeX printer for FOL prover first-order-logic latex logic prolog swi-prolog DCG LaTeX FOL leanseq.pl F.O.L Prolog use_module latex_prop latex_pred TPTP Formula Proof iteration:I P_Proof portray_clause buss_tex_print term_lower_upper L_Proof _LaTeX_output LOGICAL RULES unify_with_oc...
[ 0.035888671875, -0.00518798828125, -0.0029754638671875, -0.00677490234375, 0.016357421875, -0.0159912109375, 0.0106201171875, -0.00714111328125, -0.00799560546875, -0.0235595703125, -0.003143310546875, 0.005706787109375, -0.021240234375, -0.0233154296875, 0.001190185546875, 0.002380371...
[ 391, 56367, 239, 10476, 1542, 110264, 100, 172155, 502, 814, 5117, 80596, 137043, 21, 24371, 62775, 4867, 2452, 3454, 95, 864, 2424, 670, 866, 1250, 4527, 83279, 36290, 19714, 18303, 23658, 72791, 4390, 720, 568, 436, 10752, 11469, 18347, ...
[ 0.0584716796875, 0.1875, 0.058380126953125, 0.1748046875, 0.10516357421875, 0.2125244140625, 0.032196044921875, 0.203369140625, 0.1279296875, 0.1417236328125, 0.05279541015625, 0.159423828125, 0.131103515625, 0.0372314453125, 0.1844482421875, 0.1376953125, 0.1881103515625, 0.150024...
embed
74118254_c0
74118254
prolog
0
Title: Expert system returns this "catch/1" error Problem title: Expert system returns this "catch/1" error Tags: prolog, expert-system Problem: Expert system returns this "catch/1" error Below in code, the representation of a expert system to give response to a pattern of problems in a device (in t...
Expert system returns this "catch/1" error Expert system returns this "catch/1" error prolog expert-system Expert Problem Your Issue Question You low_battery software_problem hardware_problem virus_or_memory_issue phone_not_recharged charger_not_working device_turns_on_but_crashes some_program_dont_...
[ 0.021728515625, 0.0267333984375, 0.003173828125, 0.01287841796875, -0.00628662109375, 0.0169677734375, -0.0091552734375, 0.0166015625, 0.007659912109375, -0.01470947265625, 0.00421142578125, -0.00125885009765625, -0.00885009765625, -0.00836181640625, 0.018798828125, 0.01361083984375, ...
[ 70523, 5426, 30646, 903, 4460, 206, 11583, 18499, 502, 4867, 26808, 16751, 15649, 14804, 223317, 68185, 27226, 2848, 81423, 10975, 38953, 76407, 14994, 109005, 174404, 24089, 10869, 69674, 25534, 174796, 75186, 987, 8789, 15182, 18749, 18244, 1...
[ 0.275390625, 0.21533203125, 0.184326171875, 0.102294921875, 0.17578125, 0.1463623046875, 0.1954345703125, 0.1968994140625, 0.08636474609375, 0.114990234375, 0.243408203125, 0.22900390625, 0.1734619140625, 0.005218505859375, 0.10418701171875, 0.0499267578125, 0.08837890625, 0.034484...
embed
22467824_c0
22467824
prolog
0
Title: prolog - tail recursion issue Problem title: prolog - tail recursion issue Tags: list, prolog, recursion, tail-recursion Problem: prolog - tail recursion issue I am new to prolog and I am trying to create a predicate and am having some trouble. I have a list of cities that are connected via train. They are conne...
prolog - tail recursion issue prolog - tail recursion issue list prolog recursion tail-recursion st.catharines CitiesH Tail Ans Ans2 prolog - tail recursion issue I am new to prolog and I am trying to create a predicate and am having some trouble. I have a list of cities that are connected via train. They are connected...
[ 0.003662109375, 0.0047607421875, 0.0123291015625, 0.01953125, -0.015869140625, 0.0019073486328125, -0.0167236328125, -0.00006914138793945312, 0.0174560546875, -0.042724609375, 0.00408935546875, -0.01019287109375, 0.006683349609375, 0.0004520416259765625, 0.01806640625, -0.0039367675781...
[ 502, 4867, 46741, 195625, 1830, 31089, 5303, 48650, 6138, 4460, 10079, 1444, 44156, 841, 1218, 379, 893, 304, 3525, 31577, 28282, 1653, 2063, 63134, 162708, 162711, 1829, 25550, 22317, 12477, 70731, 32562, 15190, 54936, 318, 2449, 30646, 7311...
[ 0.151611328125, 0.2257080078125, 0.248046875, 0.2362060546875, 0.09130859375, 0.1767578125, 0.1822509765625, 0.1424560546875, 0.04248046875, 0.0277862548828125, 0.108642578125, 0.090087890625, 0.09552001953125, 0.06005859375, 0.1087646484375, 0.0875244140625, 0.029022216796875, 0.0...
embed
64850556_c0
64850556
prolog
0
Title: Is it possible to increment/count from 0 to n without an accumulator with SWI-Prolog? Problem title: Is it possible to increment/count from 0 to n without an accumulator with SWI-Prolog? Tags: prolog Problem: Is it possible to increment/count from 0 to n without an accumulator with SWI-Prolog? I am trying to cou...
Is it possible to increment/count from 0 to n without an accumulator with SWI-Prolog? Is it possible to increment/count from 0 to n without an accumulator with SWI-Prolog? prolog 0 SWI-Prolog Is it possible to increment/count from 0 to n without an accumulator with SWI-Prolog? I am trying to count from 0 to N, one valu...
[ -0.003265380859375, -0.00341796875, 0.01263427734375, -0.00157928466796875, -0.005950927734375, 0.0169677734375, 0.0101318359375, -0.00830078125, -0.004608154296875, -0.042236328125, 0.01190185546875, -0.01019287109375, -0.0159912109375, 0.01129150390625, 0.031982421875, 0.013061523437...
[ 2071, 442, 7722, 47, 158661, 64, 71013, 1295, 757, 653, 15490, 183278, 1290, 678, 159, 38969, 9, 10752, 4867, 502, 31577, 54529, 541, 1632, 34292, 176377, 1733, 5303, 13269, 6562, 18113, 4527, 195625, 1830, 6626, 1653, 2063, 63805, 156892, ...
[ 0.0328369140625, 0.0286407470703125, 0.1861572265625, 0.1295166015625, 0.242431640625, 0.0797119140625, 0.2091064453125, 0.10986328125, 0.199462890625, 0.1695556640625, 0.166748046875, 0.21533203125, 0.1512451171875, 0.0755615234375, 0.0994873046875, 0.260009765625, 0.045318603515625...
embed
28642031_c0
28642031
prolog
0
Title: How to setup a PrologScript Problem title: How to setup a PrologScript Tags: swi-prolog, prologscript, prolog, macos Problem: How to setup a PrologScript I setup the following rules to find if there is a relationship between two elements: directReference(A,B) :- projectReferences(A,B). transitiveReference(A,C) :...
How to setup a PrologScript How to setup a PrologScript swi-prolog prologscript prolog macos How PrologScript transitiveReferenceD1 transitiveReferenceD2 opts_spec Project Reference swipl.exe day.exe DevProjects AskJoe Output Sample.pro Sunday unique_atom How to setup a PrologScript I setup the following rules to find ...
[ 0.0185546875, 0.02294921875, 0.00811767578125, 0.0289306640625, -0.01171875, -0.023681640625, -0.0038299560546875, 0.0020599365234375, 0.002655029296875, -0.0277099609375, 0.0130615234375, 0.02783203125, -0.01385498046875, 0.0098876953125, 0.01708984375, -0.00665283203125, 0.01953125...
[ 11249, 169581, 1250, 4867, 147845, 91, 2452, 3454, 502, 32032, 291, 7840, 62621, 5844, 69988, 397, 418, 304, 233, 933, 16711, 27331, 215996, 2424, 46480, 5155, 40317, 223353, 105219, 16604, 13, 13538, 33209, 52305, 36998, 5928, 10, 91736, 7...
[ 0.0638427734375, 0.2330322265625, 0.185546875, 0.237060546875, 0.294189453125, 0.00018310546875, 0.187255859375, 0.103271484375, 0.09039306640625, 0.1832275390625, 0.019775390625, 0.139404296875, 0.1513671875, 0.077392578125, 0.1478271484375, 0.03521728515625, 0.0248870849609375, 0...
embed
56467776_c0
56467776
prolog
0
Title: Pruning symmetrical solutions in ECLiPSe Prolog with the use of constraints Problem title: Pruning symmetrical solutions in ECLiPSe Prolog with the use of constraints Tags: prolog, constraint-satisfaction, eclipse-clp Problem: Pruning symmetrical solutions in ECLiPSe Prolog with the use of constraints This is a ...
Pruning symmetrical solutions in ECLiPSe Prolog with the use of constraints Pruning symmetrical solutions in ECLiPSe Prolog with the use of constraints prolog constraint-satisfaction eclipse-clp Pruning ECLiPSe Prolog Count Target Others NewCount TruthVal Val OtherVals CurTruthVal UpdatedTruthVal CurP OtherVars PrevVal...
[ -0.01312255859375, 0.0037689208984375, 0.01953125, -0.000934600830078125, 0.0009918212890625, 0.00457763671875, -0.0205078125, 0.01556396484375, 0.00689697265625, -0.0211181640625, -0.01025390625, 0.031982421875, 0.0038909912109375, 0.00135040283203125, 0.00921630859375, 0.024047851562...
[ 55386, 592, 230612, 6827, 51347, 59947, 9506, 9059, 13, 1250, 4867, 4527, 158, 2816, 4288, 502, 50958, 1021, 106371, 184, 26775, 108210, 160017, 2356, 184431, 42272, 4769, 17065, 75481, 683, 81827, 74717, 215624, 31471, 27591, 4997, 866, 3323...
[ 0.1834716796875, 0.053131103515625, 0.256103515625, 0.1170654296875, 0.160888671875, 0.0931396484375, 0.14208984375, 0.101318359375, 0.12890625, 0.1280517578125, 0.1890869140625, 0.02734375, 0.09881591796875, 0.2158203125, 0.1448974609375, 0.0887451171875, 0.10302734375, 0.02980041...
embed
20060840_c0
20060840
prolog
0
Title: Prolog - Rules are correct, but not outputting the way it's supposed to? Problem title: Prolog - Rules are correct, but not outputting the way it's supposed to? Tags: failure-slice, prolog Problem: Prolog - Rules are correct, but not outputting the way it's supposed to? Clue Four guests (Colonel Mustar...
Prolog - Rules are correct, but not outputting the way it's supposed to? Prolog - Rules are correct, but not outputting the way it's supposed to? failure-slice prolog Prolog Rules INFINITE LOOP Killer suspect_name_1 suspect_name_2 unique_suspect Clue Spouse Prolog - Rules are correct, but not outputting the w...
[ 0.00225830078125, 0.014404296875, 0.003173828125, 0.01171875, -0.01092529296875, 0.034423828125, -0.006866455078125, -0.00104522705078125, 0.02294921875, -0.0177001953125, -0.0172119140625, -0.026611328125, 0.01177978515625, -0.0052490234375, 0.025390625, 0.025146484375, 0.0067749023...
[ 1250, 4867, 139118, 7, 621, 26785, 1284, 959, 140992, 1916, 70, 3917, 3768, 134598, 47, 20, 4, 442, 137578, 13348, 502, 5881, 129525, 25216, 22215, 20880, 104431, 56, 92610, 11627, 115187, 304, 36998, 1159, 16711, 140077, 13, 23172, 4032, ...
[ 0.216796875, 0.29736328125, 0.2093505859375, 0.076904296875, 0.021240234375, 0.179443359375, 0.0689697265625, 0.10296630859375, 0.2198486328125, 0.05645751953125, 0.0025634765625, 0.08154296875, 0.0692138671875, 0.1427001953125, 0.039947509765625, 0.006988525390625, 0.001251220703125...
embed
27114671_c0
27114671
prolog
0
Title: all possible routes between the Entry and the Exit Problem title: all possible routes between the Entry and the Exit Tags: prolog, transitive-closure, maze Problem: all possible routes between the Entry and the Exit i need help to solve the maze path. Thanks in advance link(a,b). link(b,c). link(c,d). link(f,c)....
all possible routes between the Entry and the Exit all possible routes between the Entry and the Exit prolog transitive-closure maze Entry Exit all possible routes between the Entry and the Exit i need help to solve the maze path. Thanks in advance Write a predicate that defines a route between any two adjacent points ...
[ 0.016845703125, -0.0106201171875, 0.019287109375, 0.0286865234375, 0.0084228515625, 0.01104736328125, -0.017578125, 0.01446533203125, 0.01116943359375, -0.035888671875, -0.0068359375, -0.001983642578125, -0.01513671875, 0.018310546875, 0.02490234375, 0.004638671875, 0.022705078125, ...
[ 756, 7722, 36439, 7, 17721, 357, 15123, 136, 5443, 217, 502, 4867, 62621, 5844, 170224, 291, 731, 17, 3871, 4358, 86869, 60875, 601, 18781, 1653, 2063, 67, 61924, 2499, 6626, 123594, 26847, 1542, 990, 27781, 35509, 3126, 195625, 29256, 45...
[ 0.10546875, 0.1851806640625, 0.2320556640625, 0.0318603515625, 0.157958984375, 0.1314697265625, 0.224853515625, 0.0926513671875, 0.174560546875, 0.1834716796875, 0.11376953125, 0.1363525390625, 0.1656494140625, 0.11767578125, 0.185302734375, 0.145263671875, 0.225341796875, 0.028381...
embed
28450235_c0
28450235
prolog
0
Title: String and list processing in swi-prolog Problem title: String and list processing in swi-prolog Tags: artificial-intelligence, prolog, swi-prolog Problem: String and list processing in swi-prolog I am taking sentence as input, then convert it to lowercase. Create list of this sentence for each word, then iterat...
String and list processing in swi-prolog String and list processing in swi-prolog artificial-intelligence prolog swi-prolog Upper UpperTail Lower LowerTail char_type to_lower Try Atom Substring sub_atom Where in_notin_result read.split in_sent notin_read None process_link post_script_link_list read_str read_str.lower s...
[ 0.0194091796875, -0.00933837890625, 0.0137939453125, 0.018798828125, -0.0201416015625, 0.0029296875, 0.028076171875, 0.007598876953125, 0.000059604644775390625, 0.00171661376953125, 0.00250244140625, 0.0068359375, -0.00341796875, -0.005950927734375, 0.00579833984375, 0.0008010864257812...
[ 23351, 214, 136, 5303, 9433, 91, 2452, 3454, 4867, 66733, 130687, 502, 26655, 9874, 379, 61187, 21441, 50986, 47, 17336, 56, 40858, 69728, 8273, 91693, 1614, 5928, 157, 2311, 2109, 7136, 12301, 7008, 4353, 23, 12832, 959, 73, 39116, 438, ...
[ 0.215576171875, 0.1015625, 0.118896484375, 0.240234375, 0.1392822265625, 0.061126708984375, 0.2215576171875, 0.1231689453125, 0.2208251953125, 0.0933837890625, 0.0894775390625, 0.1060791015625, 0.03863525390625, 0.1279296875, 0.040557861328125, 0.048248291015625, 0.1011962890625, 0...
embed
52529245_c0
52529245
prolog
0
Title: Prolog arithmetic in foreach Problem title: Prolog arithmetic in foreach Tags: scope, math, prolog Problem: Prolog arithmetic in foreach So I'm learning Prolog. One of the things I've found to be really obnoxious is demonstrated in the following example: foreach( between(1,10,X), somePredicate(X,X+Y,Result) ). T...
Prolog arithmetic in foreach Prolog arithmetic in foreach scope math prolog Prolog Result XPlusY Prolog arithmetic in foreach So I'm learning Prolog. One of the things I've found to be really obnoxious is demonstrated in the following example: This does not work. I am well aware that X+Y is not evaluated, here, and ins...
[ 0.01361083984375, 0.0084228515625, -0.004974365234375, -0.00250244140625, 0.00970458984375, 0.00494384765625, 0.0252685546875, 0.004852294921875, 0.01397705078125, -0.027099609375, 0.016845703125, 0.0283203125, -0.0216064453125, -0.020263671875, 0.0281982421875, -0.00457763671875, -0...
[ 1250, 4867, 187, 8962, 282, 9523, 23, 100, 41581, 70820, 48909, 502, 126684, 1193, 88225, 1723, 52080, 14037, 995, 157, 78697, 223, 106804, 27781, 3293, 959, 4488, 107419, 1328, 151575, 3688, 43573, 65042, 50782, 997, 990, 8110, 29568, 1767...
[ 0.1632080078125, 0.258544921875, 0.03759765625, 0.152099609375, 0.10296630859375, 0.055084228515625, 0.034332275390625, 0.0823974609375, 0.2259521484375, 0.176513671875, 0.07464599609375, 0.102783203125, 0.0867919921875, 0.099609375, 0.1937255859375, 0.1602783203125, 0.02630615234375...
embed
74561764_c0
74561764
prolog
0
Title: Prolog - split a list into lists of lists Problem title: Prolog - split a list into lists of lists Tags: swi-prolog, split, list, prolog Problem: Prolog - split a list into lists of lists The list to be split is a list of guests that attend a dinner. The dinner has three meals (appetizer, main, and dessert). The...
Prolog - split a list into lists of lists Prolog - split a list into lists of lists swi-prolog split list prolog Prolog Appetizer Tick Trick Track Tic Tac Toe Jerry Larry Harry Main Dessert make_dinner Starters List_of_Persons Group_size make_rudi get_number_of_groups Number list_length Prolog - split a list into lists...
[ 0.006011962890625, 0.01348876953125, 0.00518798828125, 0.00188446044921875, -0.0286865234375, 0.0224609375, -0.0159912109375, -0.01092529296875, 0.0235595703125, 0.0118408203125, -0.005828857421875, 0.005340576171875, -0.0086669921875, 0.01806640625, 0.01513671875, 0.0024871826171875, ...
[ 1250, 4867, 65450, 10, 5303, 3934, 7, 111, 2452, 3454, 502, 5659, 126, 52825, 2371, 2594, 141362, 69182, 133552, 87524, 47530, 138171, 174821, 20904, 12321, 5581, 33657, 3249, 428, 13857, 13794, 32036, 4390, 160054, 10760, 62539, 44720, 2046,...
[ 0.183837890625, 0.253662109375, 0.2293701171875, 0.043182373046875, 0.2452392578125, 0.14990234375, 0.0618896484375, 0.103271484375, 0.115478515625, 0.09521484375, 0.1392822265625, 0.091064453125, 0.10467529296875, 0.140380859375, 0.04107666015625, 0.033416748046875, 0.13427734375, ...
embed
37380645_c0
37380645
prolog
0
Title: Prolog type errors with DCG library functions Problem title: Prolog type errors with DCG library functions Tags: dcg, prolog Problem: Prolog type errors with DCG library functions I'm trying to write a DCG for a command interface. The idea is to read a string of input, split it on spaces, and hand the resulting ...
Prolog type errors with DCG library functions Prolog type errors with DCG library functions dcg prolog the Prolog DCG use_module ERROR code_type Type double_quote Prolog type errors with DCG library functions I'm trying to write a DCG for a command interface. The idea is to read a string of input, split it on spaces, a...
[ 0.008056640625, -0.01171875, 0.002105712890625, 0.04345703125, -0.00640869140625, 0.0205078125, 0.00726318359375, -0.02490234375, -0.0108642578125, -0.028076171875, -0.0159912109375, -0.0230712890625, -0.0220947265625, -0.0106201171875, -0.000583648681640625, 0.00836181640625, 0.0036...
[ 1250, 4867, 10644, 18499, 678, 391, 56367, 35773, 1294, 32354, 104, 238, 177, 502, 4527, 83279, 151206, 24638, 18151, 50986, 60457, 41929, 68726, 31577, 33022, 75101, 101758, 6528, 12301, 79315, 107730, 65450, 32628, 3535, 5303, 47, 84694, 36...
[ 0.12890625, 0.208740234375, 0.2000732421875, 0.169677734375, 0.055267333984375, 0.08892822265625, 0.1807861328125, 0.1824951171875, 0.040679931640625, 0.1129150390625, 0.053131103515625, 0.0496826171875, 0.1278076171875, 0.1177978515625, 0.050506591796875, 0.0728759765625, 0.11938476...
embed
19894125_c0
19894125
prolog
0
Title: How Can I override property in Inheritance relationship in PROLOG? Problem title: How Can I override property in Inheritance relationship in PROLOG? Tags: prolog, overriding, inheritance Problem: How Can I override property in Inheritance relationship in PROLOG? I want to make a rule that utilizes inheritance. F...
How Can I override property in Inheritance relationship in PROLOG? How Can I override property in Inheritance relationship in PROLOG? prolog overriding inheritance How Can Inheritance PROLOG Bird Object Property Value Parent How Can I override property in Inheritance relationship in PROLOG? I want to make a rule that u...
[ 0.014892578125, 0.006561279296875, 0.0311279296875, 0.0250244140625, 0.01556396484375, -0.0191650390625, 0.00384521484375, 0.0130615234375, 0.0016021728515625, -0.02099609375, -0.00994873046875, -0.00238037109375, -0.002655029296875, -0.00970458984375, 0.00372314453125, 0.0052490234375...
[ 11249, 4171, 645, 416, 112, 57266, 360, 3334, 217, 7154, 76755, 10514, 47510, 23, 502, 4867, 72607, 134549, 206984, 190060, 170918, 3444, 3249, 79986, 121876, 170277, 27781, 11814, 42840, 344, 15824, 33120, 41, 63805, 1556, 36290, 56, 939, ...
[ 0.046783447265625, 0.06402587890625, 0.1444091796875, 0.199951171875, 0.104736328125, 0.25244140625, 0.04449462890625, 0.1683349609375, 0.112060546875, 0.0758056640625, 0.1661376953125, 0.1636962890625, 0.2276611328125, 0.0855712890625, 0.118896484375, 0.17529296875, 0.205322265625, ...
embed
47951732_c0
47951732
prolog
0
Title: Prolog: Optimizing a puzzle solver after trying really hard Problem title: Prolog: Optimizing a puzzle solver after trying really hard Tags: prolog, sliding-tile-puzzle Problem: Prolog: Optimizing a puzzle solver after trying really hard I am trying to solve a 15 puzzle in Prolog, I need to find the minimal numb...
Prolog: Optimizing a puzzle solver after trying really hard Prolog: Optimizing a puzzle solver after trying really hard prolog sliding-tile-puzzle Prolog Optimizing Tree Head Tail Size Head_Size Result Data Priority Subtree_Content-Subtree_Indeterminate Head_Priority Concatenation Subtree_Content-Concatenation_Indeterm...
[ -0.0029449462890625, -0.0023193359375, 0.00457763671875, 0.0040283203125, -0.0255126953125, 0.020751953125, -0.0264892578125, -0.03564453125, 0.00634765625, -0.029541015625, 0.0162353515625, 0.018798828125, 0.0169677734375, -0.00750732421875, 0.01531982421875, -0.00244140625, 0.00274...
[ 1250, 4867, 43938, 84382, 104192, 3115, 814, 7103, 31577, 6183, 7941, 502, 132692, 214, 44555, 1766, 13894, 101344, 44816, 1218, 379, 80378, 126684, 11809, 168857, 8273, 62600, 25352, 96472, 145099, 33163, 748, 4460, 127167, 137989, 13025, 7, ...
[ 0.1707763671875, 0.2281494140625, 0.17333984375, 0.070068359375, 0.1817626953125, 0.1143798828125, 0.1204833984375, 0.0968017578125, 0.135986328125, 0.08685302734375, 0.112060546875, 0.1158447265625, 0.129638671875, 0.031402587890625, 0.11279296875, 0.0858154296875, 0.096923828125, ...
embed
17370392_c0
17370392
prolog
0
Title: Quest editor in java for big game Problem title: Quest editor in java for big game Tags: game-engine, java, prolog, triggers Problem: Quest editor in java for big game It's a very specific problem I have: I'm working on a text-based RPG, where the main work is to implement an editor, that gives the possibility t...
Quest editor in java for big game Quest editor in java for big game game-engine java prolog triggers Quest Quest editor in java for big game It's a very specific problem I have: I'm working on a text-based RPG, where the main work is to implement an editor, that gives the possibility to add NPCs, Items and place them o...
[ 0.017822265625, 0.004852294921875, -0.019775390625, -0.017333984375, 0.0086669921875, 0.00799560546875, -0.001312255859375, -0.00897216796875, 0.00927734375, -0.0220947265625, 0.01556396484375, 0.02783203125, -0.00927734375, 0.004364013671875, 0.0120849609375, 0.01104736328125, 0.013...
[ 88511, 30391, 23, 79, 330, 100, 6957, 6712, 128897, 502, 4867, 185553, 4552, 29458, 2967, 765, 20697, 7986, 9, 77007, 124207, 4, 70, 5201, 4488, 29479, 207116, 47, 15190, 12233, 7, 78426, 136, 3687, 2856, 98, 22288, 15434, 15490, 2499, ...
[ 0.259765625, 0.2362060546875, 0.0634765625, 0.151611328125, 0.203857421875, 0.0921630859375, 0.0821533203125, 0.0849609375, 0.1180419921875, 0.1002197265625, 0.16064453125, 0.1724853515625, 0.03057861328125, 0.091796875, 0.118408203125, 0.04901123046875, 0.0836181640625, 0.05163574...
embed
33296389_c0
33296389
prolog
0
Title: How to write prolog code to find student grade with below data? Problem title: How to write prolog code to find student grade with below data? Tags: prolog Problem: How to write prolog code to find student grade with below data? A student name is represented using a Prolog atom like jim . A student grade is repr...
How to write prolog code to find student grade with below data? How to write prolog code to find student grade with below data? prolog How name_grade Name Grade get_grade GradeTree add_grade NameGrade GradeTreeZ How to write prolog code to find student grade with below data? A student name is represented using a Prolog...
[ 0.0296630859375, 0.0224609375, -0.00074005126953125, -0.0107421875, -0.005767822265625, 0.00286865234375, -0.018798828125, -0.017578125, -0.0106201171875, -0.0059814453125, 0.01519775390625, 0.01104736328125, -0.0084228515625, -0.0008392333984375, 0.00909423828125, -0.0211181640625, ...
[ 11249, 33022, 502, 4867, 18151, 7413, 9836, 44000, 678, 35064, 2053, 32, 47, 9351, 44286, 15757, 22453, 13, 2046, 62731, 15190, 37878, 1511, 33636, 17368, 1250, 34627, 1884, 15117, 23, 9199, 45646, 62600, 83, 12989, 2394, 6635, 53201, 25632...
[ 0.07794189453125, 0.1649169921875, 0.17724609375, 0.2283935546875, 0.2020263671875, 0.1312255859375, 0.2359619140625, 0.265625, 0.097900390625, 0.217041015625, 0.1436767578125, 0.000274658203125, 0.0096435546875, 0.1522216796875, 0.211669921875, 0.1280517578125, 0.187255859375, 0.0...
embed
15705001_c0
15705001
prolog
0
Title: Programming for Young tableaux Problem title: Programming for Young tableaux Tags: c, clpfd, constraint-programming, diagram, prolog Problem: Programming for Young tableaux A strange question follows: I'm doing a problem solving competition @ my school, and they allow us to use a computer. Since I'm the only one...
Programming for Young tableaux Programming for Young tableaux c clpfd constraint-programming diagram prolog Programming Young Programming for Young tableaux A strange question follows: I'm doing a problem solving competition @ my school, and they allow us to use a computer. Since I'm the only one in the competition who...
[ 0.0322265625, 0.002471923828125, 0.0189208984375, 0.00396728515625, -0.0103759765625, -0.001800537109375, 0.0002727508544921875, -0.00168609619140625, 0.00177001953125, -0.026611328125, 0.000308990478515625, -0.002197265625, -0.012939453125, 0.00506591796875, 0.000598907470703125, -0.0...
[ 27958, 100, 44389, 140026, 425, 501, 39557, 71, 158, 2816, 4288, 28966, 117233, 502, 4867, 114453, 9655, 28960, 20594, 2967, 3115, 130412, 10696, 63769, 1821, 4527, 13909, 4734, 1632, 93002, 3642, 18151, 313, 136, 167599, 103391, 86869, 44402...
[ 0.16845703125, 0.1109619140625, 0.26904296875, 0.3388671875, 0.1295166015625, 0.03277587890625, 0.044219970703125, 0.061279296875, 0.0258941650390625, 0.1356201171875, 0.045135498046875, 0.12353515625, 0.25146484375, 0.06671142578125, 0.0743408203125, 0.118896484375, 0.076904296875, ...
embed
54337833_c0
54337833
prolog
0
Title: Handling list of lists in Prolog Problem title: Handling list of lists in Prolog Tags: prolog Problem: Handling list of lists in Prolog I am newbie at Prolog and Logic-programming in general. I'm trying to practice from a textbook I have and there was the following question: Consider a list of lists that looks f...
Handling list of lists in Prolog Handling list of lists in Prolog prolog Handling Prolog Handling list of lists in Prolog I am newbie at Prolog and Logic-programming in general. I'm trying to practice from a textbook I have and there was the following question: Consider a list of lists that looks for example like: We w...
[ -0.01171875, 0.01214599609375, 0.01409912109375, 0.00148773193359375, -0.0234375, 0.0086669921875, 0.0027008056640625, -0.00921630859375, 0.023193359375, -0.01513671875, -0.00872802734375, 0.004119873046875, 0.021240234375, 0.0020599365234375, 0.006256103515625, 0.002532958984375, 0....
[ 193237, 5303, 111, 7, 1250, 4867, 502, 9014, 50592, 28966, 41361, 14137, 33342, 27781, 61924, 3467, 432, 299, 36998, 80854, 105866, 1614, 6562, 98423, 63262, 75414, 33636, 15889, 10576, 31519, 57571, 89597, 35011, 959, 111880, 4842, 28282, 41...
[ 0.2188720703125, 0.251220703125, 0.0382080078125, 0.080322265625, 0.1502685546875, 0.2418212890625, 0.1097412109375, 0.07122802734375, 0.07659912109375, 0.0511474609375, 0.05499267578125, 0.029510498046875, 0.08709716796875, 0.0516357421875, 0.09442138671875, 0.1544189453125, 0.21618...
embed
64805348_c0
64805348
prolog
0
Title: Recursively traverse two lists and combine tests Problem title: Recursively traverse two lists and combine tests Tags: prolog Problem: Recursively traverse two lists and combine tests The problem An elevator in a tower of seven floors numbered from 0 to 6. The hardware and software components are: A cabin, with ...
Recursively traverse two lists and combine tests Recursively traverse two lists and combine tests prolog Recursively floor_locations CabinLocation Floor_location Distance Epsilon Floor_has_to_be_served_list_tail Floor_locations_tail TESTS stopIsRequired_tests Location Locations Scenario Cabin Recursively traverse two l...
[ -0.00092315673828125, 0.0174560546875, 0.0059814453125, 0.0123291015625, 0.00799560546875, 0.01953125, -0.0035247802734375, -0.0017242431640625, 0.0184326171875, -0.01251220703125, 0.00921630859375, 0.0133056640625, -0.01446533203125, -0.00726318359375, -0.00119781494140625, -0.0150756...
[ 853, 48650, 5844, 37317, 13, 6626, 5303, 136, 70163, 109921, 502, 4867, 74912, 87632, 30438, 73, 15363, 177542, 154349, 15759, 4759, 10557, 86687, 6562, 46741, 31273, 7279, 29598, 3181, 6954, 90788, 152365, 6723, 2967, 154630, 42, 47, 6488, ...
[ 0.06475830078125, 0.194580078125, 0.1246337890625, 0.1932373046875, 0.032196044921875, 0.152099609375, 0.2120361328125, 0.0511474609375, 0.2130126953125, 0.2213134765625, 0.1265869140625, 0.1685791015625, 0.1712646484375, 0.15771484375, 0.17626953125, 0.12744140625, 0.04998779296875,...
embed
38136789_c0
38136789
prolog
0
Title: File Exception Handling and wait for a process in SWI Prolog Problem title: File Exception Handling and wait for a process in SWI Prolog Tags: prolog, wait, swi-prolog, nosuchfileexception, windows-7 Problem: File Exception Handling and wait for a process in SWI Prolog I am running my code on SWI Prolog and Wind...
File Exception Handling and wait for a process in SWI Prolog File Exception Handling and wait for a process in SWI Prolog prolog wait swi-prolog nosuchfileexception windows-7 File Exception Handling SWI Prolog Value win_exec external_app.bat outputfile.txt read_file PROCEDURE READ CONTENTS CALCULATE HOW LONG TOOK ERROR...
[ 0.0230712890625, 0.004974365234375, -0.0152587890625, -0.0135498046875, -0.0162353515625, -0.0022430419921875, 0.0281982421875, -0.0113525390625, 0.002838134765625, -0.033203125, 0.0303955078125, 0.0245361328125, -0.01544189453125, -0.006256103515625, 0.05224609375, -0.015869140625, ...
[ 42724, 5443, 63928, 193237, 136, 40485, 100, 9433, 159, 38969, 1250, 4867, 502, 2452, 3454, 951, 12665, 29822, 3355, 54825, 16709, 190060, 19916, 46480, 173591, 9007, 2848, 140992, 124326, 12301, 10854, 188300, 21170, 123616, 143255, 176487, 99...
[ 0.2054443359375, 0.11865234375, 0.2100830078125, 0.2362060546875, 0.0193023681640625, 0.2440185546875, 0.1141357421875, 0.1480712890625, 0.0838623046875, 0.2498779296875, 0.1689453125, 0.2008056640625, 0.134521484375, 0.2252197265625, 0.09759521484375, 0.0634765625, 0.1302490234375, ...
embed
13257058_c0
13257058
prolog
0
Title: Prolog- translating English to C Problem title: Prolog- translating English to C Tags: dcg, list, nlp, prolog Problem: Prolog- translating English to C We have a relatively simple assignment that I understand in theory but I think I just don't quite understand Prolog's syntax enough to get that into code. Basica...
Prolog- translating English to C Prolog- translating English to C dcg list nlp prolog Prolog English english2C Prolog- translating English to C We have a relatively simple assignment that I understand in theory but I think I just don't quite understand Prolog's syntax enough to get that into code. Basically, we have a ...
[ 0.00970458984375, -0.00127410888671875, 0.01214599609375, 0.0211181640625, -0.0031280517578125, 0.006744384765625, -0.0235595703125, -0.005645751953125, 0.0164794921875, -0.032470703125, -0.02783203125, -0.0014495849609375, 0.0001468658447265625, -0.00933837890625, 0.0107421875, 0.0064...
[ 1250, 4867, 9, 3900, 143, 1916, 14941, 47, 313, 177, 5303, 26775, 502, 175457, 441, 8781, 95486, 674, 28219, 154453, 6002, 86531, 18151, 959, 21094, 33636, 41018, 23, 4343, 237, 115081, 1528, 33022, 32354, 51776, 30646, 183234, 1650, 68557,...
[ 0.1522216796875, 0.260498046875, 0.01416015625, 0.1329345703125, 0.14208984375, 0.044677734375, 0.170654296875, 0.0958251953125, 0.1546630859375, 0.0426025390625, 0.1224365234375, 0.08441162109375, 0.1024169921875, 0.034881591796875, 0.0609130859375, 0.02166748046875, 0.087890625, ...
embed
58296162_c0
58296162
prolog
0
Title: Prolog: Debugging Recursive Source Removal Algorithm Problem title: Prolog: Debugging Recursive Source Removal Algorithm Tags: prolog, debugging Problem: Prolog: Debugging Recursive Source Removal Algorithm I am currently working on implementing a source-removal topological sorting algorithm for a directed graph...
Prolog: Debugging Recursive Source Removal Algorithm Prolog: Debugging Recursive Source Removal Algorithm prolog debugging A Prolog Debugging Recursive Source Removal Algorithm depends_on i.e doesnt_depend_on remove_graph_node FOUND TailReturn source_removal Second Toposort SubG SubTopoSort AppendResult Result Prolog: ...
[ -0.006439208984375, 0.0240478515625, 0.00970458984375, 0.016357421875, -0.00970458984375, 0.00872802734375, -0.032470703125, 0.0086669921875, 0.01251220703125, -0.025146484375, 0.017333984375, -0.0133056640625, -0.003692626953125, -0.007415771484375, 0.0283203125, -0.0020751953125, -...
[ 1250, 4867, 12, 262, 978, 36659, 853, 48650, 5844, 77641, 38645, 6785, 109847, 2783, 502, 8, 56566, 105254, 87388, 41382, 157, 44944, 1218, 379, 987, 31344, 26973, 77648, 4792, 62351, 8273, 724, 77888, 158240, 3611, 7, 7136, 126684, 82424, ...
[ 0.1693115234375, 0.2291259765625, 0.010589599609375, 0.10150146484375, 0.1885986328125, 0.055511474609375, 0.0234222412109375, 0.18408203125, 0.09063720703125, 0.206787109375, 0.1539306640625, 0.056396484375, 0.1142578125, 0.06915283203125, 0.101806640625, 0.0699462890625, 0.12231445...
embed
20501165_c0
20501165
prolog
0
Title: Find best result without findall and a filter Problem title: Find best result without findall and a filter Tags: algorithm, prolog Problem: Find best result without findall and a filter I'm in a bit of pickle in Prolog. I have a collection of objects. These objects have a certain dimension, hence weight. I want ...
Find best result without findall and a filter Find best result without findall and a filter algorithm prolog Find List RestY Item RestX Head Tail ToSubstractList Result ResultTail ListToSplit Sublist SecondPart Set ObjectList ListOfSets RestOfSet Weight HeadWeight RestWeight ListOfObjects Sets WeightA WeightB Temp Diff...
[ 0.03173828125, -0.0022735595703125, 0.000873565673828125, -0.0062255859375, -0.0164794921875, 0.0220947265625, -0.0106201171875, -0.00872802734375, -0.000804901123046875, -0.0205078125, 0.0162353515625, 0.021728515625, -0.00092315673828125, -0.0169677734375, 0.0120849609375, 0.01171875...
[ 26040, 2965, 16750, 15490, 7413, 5584, 46312, 136, 10, 234873, 502, 4867, 32036, 49756, 1723, 78426, 1542, 44816, 1218, 379, 717, 2816, 154663, 126684, 9874, 4353, 8273, 6562, 77648, 58229, 19943, 134549, 132887, 294, 150533, 12137, 75161, 57...
[ 0.1429443359375, 0.19775390625, 0.2257080078125, 0.1456298828125, 0.155517578125, 0.20166015625, 0.2449951171875, 0.0675048828125, 0.0009765625, 0.1771240234375, 0.09552001953125, 0.199462890625, 0.1893310546875, 0.088134765625, 0.1026611328125, 0.10400390625, 0.0699462890625, 0.05...
embed
75129348_c0
75129348
prolog
0
Title: How to get Prolog to display a list Problem title: How to get Prolog to display a list Tags: prolog Problem: How to get Prolog to display a list university(a60, 'Anglia Ruskin University', 'Eastern', 14200, 'www.anglia.ac.uk'). university(b22, 'University of Bedfordshire', 'Eastern', 9900, 'www.beds.ac.uk'). uni...
How to get Prolog to display a list How to get Prolog to display a list prolog How Prolog a60 Anglia Ruskin University Eastern www.anglia.ac.uk b22 Bedfordshire www.beds.ac.uk e14 East www.uea.ac.uk e70 Essex www.essex.ac.uk computer_science recommend_university UcasCode Degree Location TuitionLower TuitionUpper Progra...
[ 0.00897216796875, 0.006317138671875, 0.0023193359375, 0.005157470703125, -0.00018405914306640625, 0.0072021484375, 0.000949859619140625, -0.00144195556640625, 0.0048828125, 0.004974365234375, -0.0019989013671875, 0.0020751953125, -0.0115966796875, -0.034423828125, 0.00860595703125, 0.0...
[ 11249, 2046, 1250, 4867, 47, 44116, 5303, 10, 502, 4598, 131534, 13832, 875, 12535, 24453, 9022, 66, 24683, 2263, 2247, 4015, 22417, 13534, 72567, 13482, 2592, 11, 5757, 36369, 425, 13802, 13909, 175201, 67330, 49545, 345, 9381, 114211, 713...
[ 0.069580078125, 0.10369873046875, 0.1854248046875, 0.281982421875, 0.03765869140625, 0.1993408203125, 0.2047119140625, 0.060546875, 0.158935546875, 0.205078125, 0.162841796875, 0.1214599609375, 0.171875, 0.141357421875, 0.085693359375, 0.135009765625, 0.01934814453125, 0.15625, 0...
embed
43186492_c0
43186492
prolog
0
Title: How to delete all elements from a list while in recursion? Problem title: How to delete all elements from a list while in recursion? Tags: prolog, recursion, list Problem: How to delete all elements from a list while in recursion? I'm currently trying to write a predicate which can turn any list of integers into...
How to delete all elements from a list while in recursion? How to delete all elements from a list while in recursion? prolog recursion list a How Head Tail OldList RunList TempList SubList TinyList Trying Num MiniHead How to delete all elements from a list while in recursion? I'm currently trying to write a predicate w...
[ -0.00714111328125, 0.0240478515625, 0.0181884765625, -0.006744384765625, -0.003814697265625, 0.0262451171875, -0.0009002685546875, -0.00909423828125, 0.047607421875, 0.0069580078125, 0.02587890625, 0.00994873046875, -0.0036468505859375, -0.0012969970703125, 0.0179443359375, 0.003143310...
[ 11249, 47, 154109, 756, 80854, 1295, 5303, 12960, 23, 195625, 1830, 502, 4867, 44816, 1218, 379, 25074, 154663, 28398, 37446, 8273, 8081, 40858, 52782, 13468, 13025, 712, 31577, 33022, 1653, 2063, 15504, 892, 26255, 147306, 2500, 2481, 127877...
[ 0.1112060546875, 0.08367919921875, 0.287353515625, 0.1754150390625, 0.205810546875, 0.1756591796875, 0.2247314453125, 0.16357421875, 0.1483154296875, 0.2359619140625, 0.187744140625, 0.10430908203125, 0.1488037109375, 0.164306640625, 0.051025390625, 0.0587158203125, 0.167724609375, ...
embed
10743564_c0
10743564
prolog
0
Title: Hangman Game in SWI Prolog Problem title: Hangman Game in SWI Prolog Tags: algorithm, prolog Problem: Hangman Game in SWI Prolog I'm trying to make a simple hangman game in SWI Prolog. Since we made this program run can you help me enchance the program with the following: 1) By keeping up with the letters that h...
Hangman Game in SWI Prolog Hangman Game in SWI Prolog algorithm prolog the Hangman Game SWI Prolog Ans Answer AnsList AnswerList Welcome BlankList Randomly Possible a_picture_is_worth_a_thousand_words one_for_the_money dead_or_alive computer_science Asks Starts BlankName Enter Guess GuessName Process Otherwise Correct ...
[ -0.00064849853515625, -0.0025787353515625, 0.0068359375, -0.006683349609375, 0.014404296875, 0.013916015625, -0.0037078857421875, 0.0027008056640625, -0.0016326904296875, -0.0277099609375, -0.02001953125, -0.000598907470703125, 0.00103759765625, 0.000823974609375, 0.007110595703125, 0....
[ 43454, 669, 13547, 23, 159, 38969, 1250, 4867, 234873, 502, 893, 130373, 154663, 91334, 132862, 39643, 115861, 10, 18695, 164, 93017, 13885, 43882, 47416, 1632, 2472, 43260, 103494, 748, 24056, 13909, 175201, 105219, 13794, 163612, 60816, 96274...
[ 0.2242431640625, 0.20556640625, 0.17626953125, 0.06158447265625, 0.08953857421875, 0.2222900390625, 0.156005859375, 0.218017578125, 0.1756591796875, 0.1240234375, 0.09332275390625, 0.1162109375, 0.1800537109375, 0.1632080078125, 0.169677734375, 0.0833740234375, 0.090087890625, 0.01...
embed
40167816_c0
40167816
prolog
0
Title: How should I handle repeated updating in logical programming? Problem title: How should I handle repeated updating in logical programming? Tags: prolog, scheme, minikanren Problem: How should I handle repeated updating in logical programming? In particular I am trying to determine the best approach to solve the ...
How should I handle repeated updating in logical programming? How should I handle repeated updating in logical programming? prolog scheme minikanren How How should I handle repeated updating in logical programming? In particular I am trying to determine the best approach to solve the following type of problem: The exam...
[ -0.000965118408203125, 0.0223388671875, 0.0159912109375, 0.00457763671875, 0.00008058547973632812, 0.00121307373046875, 0.0089111328125, -0.005279541015625, 0.007354736328125, -0.038330078125, 0.0086669921875, -0.004608154296875, -0.0020599365234375, -0.02392578125, 0.025390625, 0.0103...
[ 11249, 5608, 87, 34831, 119140, 297, 1257, 56464, 62775, 289, 56037, 449, 23, 502, 4867, 150370, 7665, 331, 982, 2965, 51515, 86869, 10644, 2967, 27781, 7413, 9, 7, 234873, 181798, 68311, 114344, 12877, 190659, 201, 23189, 62822, 6528, 1263...
[ 0.0843505859375, 0.071533203125, 0.002349853515625, 0.1982421875, 0.269775390625, 0.15185546875, 0.1859130859375, 0.2193603515625, 0.20849609375, 0.1181640625, 0.163818359375, 0.05987548828125, 0.0311279296875, 0.153564453125, 0.2264404296875, 0.1485595703125, 0.1639404296875, 0.13...
embed
32698960_c0
32698960
prolog
0
Title: WARMR algorithm in ALEPH (SWI-Prolog) Problem title: WARMR algorithm in ALEPH (SWI-Prolog) Tags: logic-programming, prolog, data-mining, swi-prolog, algorithm Problem: WARMR algorithm in ALEPH (SWI-Prolog) i am trying to use WARMR to find frequent relational patterns in my data; for this i am using ALEPH in SWI-...
WARMR algorithm in ALEPH (SWI-Prolog) WARMR algorithm in ALEPH (SWI-Prolog) logic-programming prolog data-mining swi-prolog algorithm WARMR ALEPH SWI-Prolog pos_fraction has_car east1 west1 WARMR algorithm in ALEPH (SWI-Prolog) i am trying to use WARMR to find frequent relational patterns in my data; for this i am usin...
[ 0.0133056640625, 0.006195068359375, -0.00909423828125, 0.00994873046875, 0.00732421875, 0.0322265625, 0.0057373046875, -0.00323486328125, 0.0125732421875, -0.03759765625, 0.019775390625, 0.0260009765625, -0.004058837890625, -0.01165771484375, 0.0250244140625, -0.02490234375, 0.014465...
[ 60873, 52005, 234873, 23, 29644, 54259, 38969, 10752, 4867, 62775, 28966, 502, 2053, 266, 2452, 3454, 3864, 175921, 1556, 3284, 28, 4438, 418, 65272, 31577, 4527, 7413, 103351, 41911, 103510, 237875, 26366, 15400, 96362, 81887, 959, 4488, 344...
[ 0.1934814453125, 0.2822265625, 0.234130859375, 0.06072998046875, 0.1102294921875, 0.2149658203125, 0.1656494140625, 0.1229248046875, 0.18212890625, 0.1190185546875, 0.0733642578125, 0.09844970703125, 0.12744140625, 0.0740966796875, 0.1236572265625, 0.09979248046875, 0.150390625, 0....
embed
26075463_c0
26075463
prolog
0
Title: Why is this causing an infinite recursion? Problem title: Why is this causing an infinite recursion? Tags: failure-slice, non-termination, prolog Problem: Why is this causing an infinite recursion? I have this program in prolog, where I basically define a graph of people and I need to make some predicates that w...
Why is this causing an infinite recursion? Why is this causing an infinite recursion? failure-slice non-termination prolog the Why FriendOne FriendTwo FriendList PersonOne PersonTwo Name Friends Result Friend member_ Tail ERROR Out Why is this causing an infinite recursion? I have this program in prolog, where I basica...
[ 0.0050048828125, 0.006317138671875, 0.006561279296875, 0.0284423828125, -0.00872802734375, 0.00970458984375, -0.02294921875, -0.000476837158203125, 0.01171875, -0.03271484375, 0.01312255859375, 0.00213623046875, -0.0277099609375, 0.00799560546875, 0.02880859375, 0.02001953125, 0.0361...
[ 44084, 83, 903, 216806, 142, 54241, 13, 195625, 1830, 137578, 13348, 351, 720, 91407, 502, 4867, 128938, 62068, 3613, 154663, 15270, 15757, 102517, 126684, 32786, 1218, 379, 151206, 24638, 13538, 1528, 61924, 41382, 3395, 1653, 2063, 7639, 16...
[ 0.1695556640625, 0.1129150390625, 0.1400146484375, 0.2110595703125, 0.06884765625, 0.2061767578125, 0.1151123046875, 0.26611328125, 0.1712646484375, 0.228515625, 0.1776123046875, 0.1064453125, 0.0892333984375, 0.1077880859375, 0.1513671875, 0.1934814453125, 0.15478515625, 0.1134033...
embed
62384379_c0
62384379
prolog
0
Title: How can prolog take minutes to check for answers within a bunch of possible combinations only? Problem title: How can prolog take minutes to check for answers within a bunch of possible combinations only? Tags: combinatorics, performance, prolog Problem: How can prolog take minutes to check for answers within a ...
How can prolog take minutes to check for answers within a bunch of possible combinations only? How can prolog take minutes to check for answers within a bunch of possible combinations only? combinatorics performance prolog How get_all_employees Employees get_all_shifts Shifts get_random_assignment init_schedule Schedul...
[ -0.0015411376953125, 0.006072998046875, 0.01019287109375, 0.012451171875, -0.02880859375, -0.0189208984375, -0.03759765625, -0.0029754638671875, -0.000789642333984375, -0.0390625, 0.010986328125, 0.0098876953125, 0.01513671875, 0.0021514892578125, 0.0091552734375, 0.008056640625, 0.0...
[ 11249, 831, 502, 4867, 5646, 14633, 12765, 100, 35166, 28032, 147306, 7722, 162515, 4734, 22321, 3826, 23718, 2046, 5584, 109308, 1033, 365, 3767, 2480, 8294, 46258, 31304, 217, 7560, 693, 230074, 1632, 52368, 69810, 45755, 46347, 166643, 908...
[ 0.0215606689453125, 0.003875732421875, 0.1719970703125, 0.255126953125, 0.07244873046875, 0.242919921875, 0.1864013671875, 0.057647705078125, 0.1656494140625, 0.109619140625, 0.1224365234375, 0.160400390625, 0.1888427734375, 0.1048583984375, 0.1700439453125, 0.0513916015625, 0.152221...
embed
71855179_c0
71855179
prolog
0
Title: Evaluating functors inside a functor in Prolog Problem title: Evaluating functors inside a functor in Prolog Tags: prolog, functor Problem: Evaluating functors inside a functor in Prolog I follow the book Problem solving with Prolog by John Stobo. I've studied the Chapter 1 ( Programming with Facts ) and Chapter...
Evaluating functors inside a functor in Prolog Evaluating functors inside a functor in Prolog prolog functor Evaluating Prolog is_rank_lower John Stobo March.1989 FACTS next_degree RULES lower_rank _G1471 i.e Evaluating functors inside a functor in Prolog I follow the book Problem solving with Prolog by John Stobo. I'v...
[ -0.006072998046875, -0.0009765625, 0.00823974609375, 0.01019287109375, 0.00640869140625, -0.0225830078125, 0.0038909912109375, -0.018310546875, 0.005126953125, 0.00634765625, 0.01434326171875, 0.004364013671875, 0.01031494140625, -0.00148773193359375, 0.00830078125, -0.020751953125, ...
[ 151228, 1916, 7477, 18770, 46132, 1250, 4867, 502, 83, 36467, 17336, 4939, 18343, 837, 107372, 155816, 11737, 46845, 92319, 15770, 28960, 12877, 15649, 3115, 6496, 27958, 678, 132640, 139118, 117615, 22408, 627, 48650, 1830, 74082, 1528, 45151,...
[ 0.2138671875, 0.0151214599609375, 0.1787109375, 0.2010498046875, 0.16162109375, 0.161376953125, 0.238037109375, 0.06732177734375, 0.1015625, 0.22314453125, 0.230224609375, 0.06097412109375, 0.088623046875, 0.1514892578125, 0.108154296875, 0.059173583984375, 0.0274810791015625, 0.07...
embed
29834823_c0
29834823
prolog
0
Title: Applying a predicate to a subset of a list in Prolog: requesting advice on implementation choices Problem title: Applying a predicate to a subset of a list in Prolog: requesting advice on implementation choices Tags: filtering, list, performance, prolog, tail-recursion Problem: Applying a predicate to a subset o...
Applying a predicate to a subset of a list in Prolog: requesting advice on implementation choices Applying a predicate to a subset of a list in Prolog: requesting advice on implementation choices filtering list performance prolog tail-recursion Applying Prolog FORALL Implementation try_check_filtered LHS IdxL RHS_L Idx...
[ -0.0026702880859375, -0.0028076171875, 0.01611328125, 0.001739501953125, -0.0216064453125, 0.004302978515625, -0.015380859375, 0.006378173828125, 0.0283203125, -0.025634765625, 0.01513671875, 0.0308837890625, -0.02197265625, -0.0118408203125, -0.0054931640625, 0.0037078857421875, 0.0...
[ 5659, 538, 1653, 2063, 67, 47, 1614, 3509, 5303, 1250, 4867, 50336, 214, 67660, 208124, 44126, 46312, 23718, 502, 46741, 107, 48650, 16087, 66437, 153941, 9790, 78292, 120337, 339, 38131, 24799, 425, 68416, 294, 1218, 379, 42284, 360, 3355,...
[ 0.1285400390625, 0.1044921875, 0.1859130859375, 0.25537109375, 0.1339111328125, 0.10888671875, 0.1580810546875, 0.1412353515625, 0.1907958984375, 0.1650390625, 0.2401123046875, 0.0911865234375, 0.011077880859375, 0.1524658203125, 0.2237548828125, 0.0943603515625, 0.1298828125, 0.12...
embed
41025065_c0
41025065
prolog
0
Title: Prolog STRIPS planner never completes Problem title: Prolog STRIPS planner never completes Tags: breadth-first-search, iterative-deepening, prolog, artificial-intelligence Problem: Prolog STRIPS planner never completes Following examples by Ivan Bratko on Artificial Intelligence in Prolog through his book: "Prol...
Prolog STRIPS planner never completes Prolog STRIPS planner never completes breadth-first-search iterative-deepening prolog artificial-intelligence Goals Prolog STRIPS State Plan PrePlan Action Divide Goal Select Condition Ensure Protect RegressedGoals Regress delete_all All Relations NewRelations RestGoals Add NewGoal...
[ 0.00750732421875, 0.01422119140625, -0.01153564453125, 0.00150299072265625, -0.038330078125, -0.009033203125, 0.017578125, -0.0294189453125, 0.0155029296875, -0.006072998046875, 0.02197265625, 0.005157470703125, -0.009033203125, -0.00921630859375, -0.007080078125, 0.0001468658447265625...
[ 1250, 4867, 62353, 9059, 1774, 1679, 8306, 28484, 179967, 927, 13448, 86250, 720, 123041, 33, 502, 66733, 130687, 2016, 22836, 5586, 1914, 78680, 57945, 76278, 289, 51620, 46347, 127942, 19623, 17903, 154109, 5584, 3164, 116822, 4332, 57860, ...
[ 0.1634521484375, 0.251953125, 0.2078857421875, 0.159912109375, 0.2257080078125, 0.1590576171875, 0.1778564453125, 0.2105712890625, 0.114013671875, 0.031829833984375, 0.031951904296875, 0.136474609375, 0.0885009765625, 0.054229736328125, 0.0556640625, 0.12451171875, 0.0987548828125, ...
embed
30605398_c0
30605398
prolog
0
Title: Schedule planning strategy Problem title: Schedule planning strategy Tags: clpfd, prolog, scheduling Problem: Schedule planning strategy I am going to attempt solving a scheduling problem with Prolog. I have a set of requests from people in the format req_id, user_id, start_date, end_date, state each of these pe...
Schedule planning strategy Schedule planning strategy clpfd prolog scheduling Schedule req_id user_id start_date end_date group_id Group Loose Strict GroupsRest User Reduce GroupHead UserGroups UpdatedGroups Groups UserGroupTail Success GroupsTail Requests RequestHead RequestTail Schedule planning strategy I am going t...
[ -0.006591796875, 0.025390625, 0.015380859375, 0.01434326171875, -0.0233154296875, 0.01422119140625, -0.010009765625, -0.0198974609375, 0.01165771484375, -0.01116943359375, -0.00091552734375, 0.01220703125, -0.010498046875, 0.005279541015625, 0.004608154296875, 0.01123046875, 0.013427...
[ 230074, 58136, 113857, 39557, 71, 502, 4867, 5094, 15246, 456, 864, 532, 38937, 4034, 17489, 3564, 21115, 10760, 47564, 184, 73425, 15390, 525, 53400, 853, 106357, 13025, 712, 205072, 28641, 7, 9874, 379, 144053, 75616, 81887, 3115, 2069, 2...
[ 0.298095703125, 0.2154541015625, 0.1982421875, 0.03680419921875, 0.078857421875, 0.1287841796875, 0.254150390625, 0.1385498046875, 0.21142578125, 0.0265045166015625, 0.07080078125, 0.0689697265625, 0.095703125, 0.051025390625, 0.05267333984375, 0.014617919921875, 0.1929931640625, 0...
embed
76013232_c0
76013232
prolog
0
Title: Why is this prolog function running indefinitely, how do I fix it? Problem title: Why is this prolog function running indefinitely, how do I fix it? Tags: prolog, zebra-puzzle Problem: Why is this prolog function running indefinitely, how do I fix it? I am trying to create a prolog predicate to solve this zebra ...
Why is this prolog function running indefinitely, how do I fix it? Why is this prolog function running indefinitely, how do I fix it? prolog zebra-puzzle Why left_of next_to DJs Clue Check drum_and_bass shangri_la Why is this prolog function running indefinitely, how do I fix it? I am trying to create a prolog predicat...
[ -0.006927490234375, -0.012939453125, -0.005615234375, 0.008056640625, -0.007293701171875, 0.01153564453125, -0.035400390625, 0.01519775390625, -0.00421142578125, -0.0263671875, 0.0086669921875, 0.0162353515625, -0.0021820068359375, 0.0130615234375, 0.0216064453125, 0.0201416015625, -...
[ 44084, 83, 903, 502, 4867, 32354, 51042, 23, 49919, 37838, 3642, 30022, 116232, 1766, 13894, 133, 25737, 4390, 11737, 188, 22828, 7, 140077, 13, 38679, 47617, 2940, 5918, 78674, 12196, 143, 47, 28282, 1653, 2063, 67, 86869, 2967, 13695, 9...
[ 0.1380615234375, 0.05670166015625, 0.056182861328125, 0.191162109375, 0.268798828125, 0.1771240234375, 0.19189453125, 0.034149169921875, 0.1702880859375, 0.1124267578125, 0.010009765625, 0.1317138671875, 0.2445068359375, 0.09716796875, 0.1312255859375, 0.07977294921875, 0.17163085937...
embed
3778941_c0
3778941
prolog
0
Title: tuprolog program - term part not ended with period exception Problem title: tuprolog program - term part not ended with period exception Tags: tuprolog, prolog, exception, java Problem: tuprolog program - term part not ended with period exception I'm getting this exception Exception in thread "main" alice.tuprol...
tuprolog program - term part not ended with period exception tuprolog program - term part not ended with period exception tuprolog prolog exception java alice.tuprolog.InvalidTheoryException Exception alice.tuprolog.TheoryManager.consult Unknown Source alice.tuprolog.Prolog.addTheory alice.tuprolog.Prolog.setTheory jav...
[ 0.0177001953125, 0.01611328125, -0.00885009765625, 0.00823974609375, -0.0218505859375, 0.00213623046875, -0.005279541015625, 0.005279541015625, -0.0128173828125, -0.032470703125, 0.017822265625, 0.027099609375, -0.00701904296875, 0.0025634765625, 0.0220947265625, -0.00616455078125, 0...
[ 370, 3454, 4867, 1528, 13579, 2831, 959, 134620, 678, 14922, 131527, 502, 79, 330, 10, 13348, 458, 7013, 3957, 30675, 63928, 5443, 12662, 33730, 147834, 992, 69723, 77641, 10752, 4028, 3509, 101687, 1126, 12321, 24071, 29902, 22072, 42232, ...
[ 0.1497802734375, 0.195556640625, 0.240478515625, 0.1636962890625, 0.2034912109375, 0.2044677734375, 0.10443115234375, 0.1683349609375, 0.1031494140625, 0.2227783203125, 0.226806640625, 0.1473388671875, 0.0770263671875, 0.133056640625, 0.031982421875, 0.13330078125, 0.14013671875, 0...
embed
55483479_c0
55483479
prolog
0
Title: Proof as an output argument in Prolog meta interpreter Problem title: Proof as an output argument in Prolog meta interpreter Tags: prolog, prolog-metainterpreter, metaprogramming Problem: Proof as an output argument in Prolog meta interpreter I am putting together a simple meta interpreter which outputs the step...
Proof as an output argument in Prolog meta interpreter Proof as an output argument in Prolog meta interpreter prolog prolog-metainterpreter metaprogramming Proof Prolog explain1 explain2 main1:-explain1 main2:-explain2 Explaining Proof as an output argument in Prolog meta interpreter I am putting together a simple meta...
[ 0.0279541015625, -0.0059814453125, 0.007781982421875, 0.030029296875, -0.008544921875, 0.006256103515625, 0.00185394287109375, 0.00072479248046875, 0.01373291015625, -0.0252685546875, 0.0068359375, 0.0185546875, -0.01373291015625, -0.014404296875, 0.0283203125, 0.0177001953125, 0.007...
[ 1250, 4390, 237, 142, 140992, 10750, 4867, 23550, 29481, 502, 35273, 158288, 28966, 73342, 418, 304, 5201, 82825, 83613, 16442, 60075, 143, 56, 8781, 98441, 98869, 63134, 20949, 1653, 2063, 30646, 185688, 3173, 2806, 1884, 22443, 73197, 11180...
[ 0.2008056640625, 0.268310546875, 0.1097412109375, 0.0183868408203125, 0.2220458984375, 0.236083984375, 0.2108154296875, 0.1932373046875, 0.1719970703125, 0.0667724609375, 0.07452392578125, 0.07647705078125, 0.06109619140625, 0.28173828125, 0.07470703125, 0.1953125, 0.02972412109375, ...
embed
65001718_c0
65001718
prolog
0
Title: Prolog - can't run the program as expected Problem title: Prolog - can't run the program as expected Tags: prolog Problem: Prolog - can't run the program as expected I wrote a course advisor system in prolog . Code is given below. % A simple course advisor system % The user interface % Initialization p...
Prolog - can't run the program as expected Prolog - can't run the program as expected prolog below Prolog Initialization info.pl Wrong Displays Hello BITSAT Eligibility Application Admission Quit Good Elgibility Process Status Prolog - can't run the program as expected I wrote a course advisor system in prolo...
[ 0.0201416015625, -0.00439453125, 0.00653076171875, 0.0283203125, -0.0091552734375, 0.0118408203125, -0.02294921875, -0.0172119140625, -0.00408935546875, -0.0289306640625, 0.0079345703125, 0.01611328125, -0.025390625, -0.00433349609375, 0.0252685546875, 0.015869140625, 0.0179443359375...
[ 1250, 4867, 831, 3768, 18, 11675, 1528, 237, 84751, 502, 35064, 360, 1890, 289, 3004, 2424, 35133, 90045, 35378, 89072, 65727, 7883, 104921, 3145, 7644, 18621, 540, 735, 83259, 123996, 56504, 20, 54397, 15411, 606, 51858, 5426, 23, 28864, ...
[ 0.193115234375, 0.259521484375, 0.1322021484375, 0.06640625, 0.107666015625, 0.1798095703125, 0.15966796875, 0.125244140625, 0.156494140625, 0.1622314453125, 0.139892578125, 0.009033203125, 0.0823974609375, 0.043975830078125, 0.076416015625, 0.0740966796875, 0.124267578125, 0.14184...
embed
41748222_c0
41748222
prolog
0
Title: Memorising (and caching) solutions found in a Prolog query? Problem title: Memorising (and caching) solutions found in a Prolog query? Tags: prolog-tabling, prolog Problem: Memorising (and caching) solutions found in a Prolog query? In this question on StackExchange I've asked (and it has been solved) about a Pr...
Memorising (and caching) solutions found in a Prolog query? Memorising (and caching) solutions found in a Prolog query? prolog-tabling prolog Memorising Prolog Source Relation Target Structural Chains Visited RelationOne RelationTwo Intermediate Memorising (and caching) solutions found in a Prolog query? In this questi...
[ 0.021240234375, 0.018310546875, 0.02978515625, 0.00015926361083984375, -0.0034637451171875, 0.008056640625, -0.002044677734375, -0.005828857421875, 0.00811767578125, -0.054443359375, -0.000919342041015625, 0.019287109375, -0.0322265625, 0.01025390625, 0.0181884765625, 0.0186767578125, ...
[ 189590, 6953, 2940, 377, 59207, 51347, 14037, 1250, 4867, 41, 1294, 502, 102, 79298, 77641, 116822, 160017, 63667, 4841, 98684, 62068, 3613, 12333, 6512, 152028, 86869, 1528, 43240, 105994, 2773, 8999, 3871, 52080, 46876, 21771, 16940, 4488, ...
[ 0.21875, 0.17822265625, 0.034393310546875, 0.17138671875, 0.1500244140625, 0.2076416015625, 0.1048583984375, 0.1881103515625, 0.2369384765625, 0.1387939453125, 0.1162109375, 0.1358642578125, 0.0604248046875, 0.0662841796875, 0.1070556640625, 0.1578369140625, 0.1446533203125, 0.0332...
embed
76805793_c0
76805793
prolog
0
Title: Querying and Displaying hierarchical Prolog information Problem title: Querying and Displaying hierarchical Prolog information Tags: prolog Problem: Querying and Displaying hierarchical Prolog information I am working with a Prolog database that has a set of entities with properties and values. I would like to o...
Querying and Displaying hierarchical Prolog information Querying and Displaying hierarchical Prolog information prolog Querying Displaying Prolog ball_1 ball_2 block_1 color_ball_1 size_ball_1 color_ball_2 size_ball_2 color_block_1 size_block_1 Object Properties Property Value Objects_and_Properties Values Obj Props Ob...
[ 0.0245361328125, 0.00020694732666015625, 0.0031890869140625, 0.007720947265625, -0.00311279296875, 0.017822265625, -0.01153564453125, -0.0220947265625, 0.006927490234375, -0.052001953125, 0.001953125, 0.000675201416015625, -0.00970458984375, -0.026611328125, 0.006622314453125, 0.013000...
[ 58836, 38543, 136, 90045, 1791, 54689, 1250, 4867, 4677, 502, 16446, 115187, 304, 46389, 10576, 12126, 13267, 81409, 134549, 234994, 206984, 190060, 1264, 3545, 170, 43796, 28175, 20697, 63399, 77630, 183871, 142424, 1884, 140992, 11907, 12638, ...
[ 0.1778564453125, 0.0777587890625, 0.043701171875, 0.172119140625, 0.12158203125, 0.1668701171875, 0.1575927734375, 0.2445068359375, 0.161376953125, 0.0948486328125, 0.1448974609375, 0.047271728515625, 0.032745361328125, 0.1439208984375, 0.107666015625, 0.1268310546875, 0.076293945312...
embed
64876971_c0
64876971
prolog
0
Title: Recursion on a list involving arithmetic operations and counting elements? Problem title: Recursion on a list involving arithmetic operations and counting elements? Tags: list, counting, prolog, recursion Problem: Recursion on a list involving arithmetic operations and counting elements? I'm struggling to really...
Recursion on a list involving arithmetic operations and counting elements? Recursion on a list involving arithmetic operations and counting elements? list counting prolog recursion Recursion Input List Recursion on a list involving arithmetic operations and counting elements? I'm struggling to really grasp the understa...
[ 0.008056640625, 0.0172119140625, -0.004241943359375, 0.0101318359375, 0.0106201171875, 0.01434326171875, -0.00872802734375, -0.00469970703125, 0.0155029296875, 0.0029144287109375, 0.004058837890625, -0.01409912109375, -0.01318359375, 0.00335693359375, 0.024658203125, -0.021728515625, ...
[ 165428, 42, 6889, 98, 5303, 3784, 8962, 282, 41018, 54529, 214, 80854, 502, 4867, 195625, 1830, 360, 7077, 32036, 187, 136, 237875, 27689, 100094, 1250, 5844, 11782, 20697, 1528, 28560, 5941, 55769, 117396, 10336, 41911, 12765, 11737, 12830, ...
[ 0.2056884765625, 0.19287109375, 0.168701171875, 0.06683349609375, 0.2069091796875, 0.0308837890625, 0.1365966796875, 0.009429931640625, 0.146484375, 0.1656494140625, 0.0567626953125, 0.1829833984375, 0.1358642578125, 0.236083984375, 0.2427978515625, 0.0657958984375, 0.083251953125, ...
embed
40088552_c0
40088552
prolog
0
Title: SWI-Prolog: Using message queues for thread-safe database read/writes with `library(persistency)` Problem title: SWI-Prolog: Using message queues for thread-safe database read/writes with `library(persistency)` Tags: prolog, multithreading, swi-prolog, message-queue Problem: SWI-Prolog: Using message queues for ...
SWI-Prolog: Using message queues for thread-safe database read/writes with `library(persistency)` SWI-Prolog: Using message queues for thread-safe database read/writes with `library(persistency)` prolog multithreading swi-prolog message-queue SWI-Prolog Using user_db attach_user_db File current_user_role User Role add_...
[ 0.006134033203125, 0.0172119140625, -0.0108642578125, -0.011474609375, -0.009033203125, 0.0003414154052734375, 0.01202392578125, -0.00823974609375, 0.00133514404296875, -0.059326171875, 0.01708984375, 0.029541015625, 0.0001468658447265625, -0.012939453125, 0.0172119140625, 0.0083007812...
[ 159, 38969, 9, 10752, 4867, 345, 26008, 41, 21049, 86997, 115840, 63399, 12301, 64, 678, 150, 2844, 1294, 21777, 6892, 2408, 502, 3869, 65847, 91, 2452, 3454, 944, 38937, 48073, 243, 65918, 42724, 43581, 516, 53400, 2777, 15190, 4527, 832...
[ 0.07177734375, 0.248779296875, 0.020782470703125, 0.177001953125, 0.2119140625, 0.0867919921875, 0.1844482421875, 0.2056884765625, 0.1375732421875, 0.19091796875, 0.187744140625, 0.177490234375, 0.1212158203125, 0.0072021484375, 0.0225372314453125, 0.10540771484375, 0.1868896484375, ...
embed
19005042_c0
19005042
prolog
0
Title: How to avoid using assert and retractall in Prolog to implement global (or state) variables Problem title: How to avoid using assert and retractall in Prolog to implement global (or state) variables Tags: dcg, prolog-assert, implicit-state-passing, prolog Problem: How to avoid using assert and retractall in Prol...
How to avoid using assert and retractall in Prolog to implement global (or state) variables How to avoid using assert and retractall in Prolog to implement global (or state) variables dcg prolog-assert implicit-state-passing prolog assert How Prolog NewX NewY How to avoid using assert and retractall in Prolog to implem...
[ 0.0038604736328125, -0.012939453125, -0.004852294921875, -0.00482177734375, -0.00225830078125, 0.00860595703125, -0.007232666015625, 0.00982666015625, 0.00604248046875, -0.03369140625, 0.01251220703125, 0.0206298828125, -0.0230712890625, -0.00238037109375, 0.034423828125, 0.01611328125...
[ 71864, 17368, 237, 33657, 136, 41499, 238, 91569, 1250, 4867, 29479, 7964, 11341, 77336, 177, 502, 162, 165164, 61340, 13409, 2356, 1542, 1723, 27983, 3564, 32562, 18151, 8962, 74481, 4677, 5526, 1528, 113054, 34292, 4343, 1653, 2063, 6827, ...
[ 0.1668701171875, 0.108154296875, 0.0706787109375, 0.23095703125, 0.044281005859375, 0.1904296875, 0.0567626953125, 0.2222900390625, 0.173095703125, 0.232421875, 0.1258544921875, 0.172607421875, 0.1170654296875, 0.267333984375, 0.0716552734375, 0.124755859375, 0.05010986328125, 0.18...
embed