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
60150536_c0
60150536
prolog
0
Title: Z notation to prolog Problem title: Z notation to prolog Tags: z-notation, prolog Problem: Z notation to prolog I have a Z specification and I have to translate it into Prolog code. I try but it doesn't work so someone can help me? linkedListInit(LinkedList) :- LinkedList = {[linked,L],[size, S]} & list(L) & S i...
Z notation to prolog Z notation to prolog z-notation prolog extractHeadNodeError checkNodeError removePartialNodeError removePartialDataError LinkedList Node_i LinkedList_ Msg_o S-1 Msg Data_i Z notation to prolog I have a Z specification and I have to translate it into Prolog code. I try but it doesn't work so someone...
[ 0.00112152099609375, -0.027099609375, 0.01434326171875, 0.003387451171875, -0.003021240234375, 0.0031890869140625, -0.003570556640625, -0.000652313232421875, 0.0218505859375, -0.01153564453125, 0.00347900390625, -0.00012302398681640625, -0.0087890625, -0.015380859375, 0.005340576171875, ...
[ 567, 110, 22062, 47, 502, 4867, 97, 157, 125663, 13025, 5021, 18468, 12765, 87388, 58229, 12779, 154663, 438, 112, 297, 70802, 31, 159, 5759, 11809, 14, 29458, 2320, 765, 3900, 19309, 3934, 1250, 18151, 9790, 4488, 4358 ]
[ 0.2061767578125, 0.1556396484375, 0.07061767578125, 0.08941650390625, 0.1597900390625, 0.20556640625, 0.1529541015625, 0.140380859375, 0.1240234375, 0.016143798828125, 0.055999755859375, 0.026702880859375, 0.02935791015625, 0.03729248046875, 0.001312255859375, 0.010528564453125, 0.04...
embed
57740302_c0
57740302
prolog
0
Title: Generate all words of length N and form a list with them in Prolog Problem title: Generate all words of length N and form a list with them in Prolog Tags: backtracking, prolog Problem: Generate all words of length N and form a list with them in Prolog Given the letters [a, b, c] generate the list containing all ...
Generate all words of length N and form a list with them in Prolog Generate all words of length N and form a list with them in Prolog backtracking prolog Generate Prolog NextN Word WList atomic_list_concat CurrentList ResultList NewWord NewList TailLen Generate all words of length N and form a list with them in Prolog ...
[ 0.0026397705078125, 0.00543212890625, 0.00084686279296875, 0.0034332275390625, -0.00567626953125, 0.0106201171875, -0.0025482177734375, 0.004974365234375, 0.01708984375, -0.050537109375, -0.01190185546875, 0.008544921875, 0.0033721923828125, 0.0186767578125, -0.0016021728515625, -0.004...
[ 155370, 756, 34153, 140909, 541, 3173, 5303, 678, 1250, 4867, 111, 4420, 125728, 214, 502, 4997, 839, 22543, 601, 154663, 34627, 6562, 2271, 4460, 114063, 126684, 2356, 164805, 1218, 379, 866, 33, 120820, 876, 501, 139392, 70541, 100, 1810,...
[ 0.171630859375, 0.08575439453125, 0.217041015625, 0.1497802734375, 0.1939697265625, 0.14013671875, 0.194091796875, 0.0977783203125, 0.1689453125, 0.2298583984375, 0.0045166015625, 0.1055908203125, 0.1907958984375, 0.0533447265625, 0.11572265625, 0.161865234375, 0.1693115234375, 0.1...
embed
10889254_c0
10889254
prolog
0
Title: How do I prevent a Datalog rule from pruning nulls? Problem title: How do I prevent a Datalog rule from pruning nulls? Tags: datalog, logic, database, prolog Problem: How do I prevent a Datalog rule from pruning nulls? I have the following facts and rules: % frequents(D,P) % D=drinker, P=pub % serves(P,B) % B=be...
How do I prevent a Datalog rule from pruning nulls? How do I prevent a Datalog rule from pruning nulls? datalog logic database prolog pruning How Datalog count_good_beers_for_at group_by possible_beers_served_for_at DES Info is_happy_at Processing How do I prevent a Datalog rule from pruning nulls? I have the following...
[ 0.026611328125, 0.008056640625, -0.0024261474609375, 0.02392578125, 0.00543212890625, 0.032958984375, 0.0179443359375, -0.01129150390625, 0.018310546875, -0.0380859375, -0.00653076171875, 0.01446533203125, 0.0140380859375, 0.003936767578125, 0.0213623046875, 0.0164794921875, 0.008239...
[ 11249, 56282, 11809, 4867, 79986, 1295, 25230, 592, 56574, 7, 2053, 62775, 63399, 502, 54529, 70810, 372, 1314, 2472, 21115, 7722, 86687, 51552, 14048, 83, 157976, 257, 123996, 15824, 91736, 1884, 64549, 4488, 1653, 2063, 30646, 9774, 14012, ...
[ 0.05242919921875, 0.212890625, 0.130615234375, 0.226318359375, 0.1929931640625, 0.06256103515625, 0.2000732421875, 0.053497314453125, 0.2354736328125, 0.06805419921875, 0.08203125, 0.17431640625, 0.1402587890625, 0.0777587890625, 0.1705322265625, 0.115966796875, 0.15771484375, 0.12...
embed
9197168_c0
9197168
prolog
0
Title: Prolog - weird issue Problem title: Prolog - weird issue Tags: prolog Problem: Prolog - weird issue So i have an assignment in which i have to make a guessing game ( bulls and cows ). Firstly i made i little program where you enter two numbers and it checks if they have the same length and then if they are equal...
Prolog - weird issue Prolog - weird issue prolog Prolog check_length List1 List2 same_length Lists check_equality atom_chars Generated Make Guess Prolog - weird issue So i have an assignment in which i have to make a guessing game ( bulls and cows ). Firstly i made i little program where you enter two numbers and it ch...
[ -0.0035400390625, 0.00872802734375, 0.006988525390625, 0.0167236328125, -0.00433349609375, 0.01953125, -0.032470703125, 0.005706787109375, 0.00555419921875, -0.03662109375, 0.0089111328125, 0.01806640625, 0.00213623046875, 0.01116943359375, 0.01220703125, -0.01239013671875, 0.0128784...
[ 1250, 4867, 179459, 31089, 502, 12765, 23986, 32036, 418, 304, 5701, 13, 161789, 34627, 9254, 155370, 26176, 96274, 7, 765, 95486, 3249, 57767, 214, 6712, 50208, 136, 552, 19725, 7228, 10176, 1528, 30957, 6626, 101935, 2174, 140909, 105950, ...
[ 0.1531982421875, 0.23681640625, 0.1864013671875, 0.1943359375, 0.1053466796875, 0.181396484375, 0.0985107421875, 0.163330078125, 0.004608154296875, 0.0186004638671875, 0.105224609375, 0.0158538818359375, 0.189208984375, 0.1661376953125, 0.1336669921875, 0.09271240234375, 0.0582885742...
embed
12230277_c0
12230277
prolog
0
Title: Prolog - Count all patient's symptoms Problem title: Prolog - Count all patient's symptoms Tags: prolog, member, list, count Problem: Prolog - Count all patient's symptoms I'm trying to count all patient's symptoms to calculate the certainty factor for the disease, but I'm just getting one symptom of e...
Prolog - Count all patient's symptoms Prolog - Count all patient's symptoms prolog member list count Prolog Count Enter Patient Symptoms Diseases Sint Size Disease Num stiff_neck red_spots Disease0 Diseases0 calc_cf Calculate Prolog - Count all patient's symptoms I'm trying to count all patient's symptoms to ...
[ 0.0264892578125, -0.0174560546875, 0.0034332275390625, 0.00885009765625, -0.000316619873046875, -0.00537109375, -0.0091552734375, 0.01123046875, 0.007171630859375, -0.06689453125, 0.0057373046875, 0.000823974609375, 0.0076904296875, 0.006591796875, -0.00823974609375, -0.0042724609375, ...
[ 1250, 4867, 108210, 756, 37896, 3768, 153698, 502, 32786, 5303, 54529, 60816, 135004, 149450, 229200, 64099, 80378, 52782, 13629, 4902, 86, 2594, 4842, 53370, 6510, 67466, 212467, 2182, 20, 31577, 47, 74481, 24233, 939, 31461, 70997, 1660, 20...
[ 0.2003173828125, 0.263427734375, 0.204345703125, 0.136474609375, 0.177490234375, 0.039703369140625, 0.225830078125, 0.1328125, 0.1842041015625, 0.10498046875, 0.1978759765625, 0.1304931640625, 0.165771484375, 0.18212890625, 0.0958251953125, 0.139404296875, 0.16552734375, 0.09545898...
embed
79072993_c1
79072993
prolog
1
9ac.pl:9: Prolog: ERROR: No permission to modify static procedure `close/1' wordsn( 5, ["The", "Project", "Gutenberg", "eBook", "of"] ). Traceback (most recent call last): File "/usr/local/lib/python3.8/dist-packages/swi_prolog_kernel/kernel.py", line 140, in do_execute self._execute(code) File "/usr/local/lib/python3....
9ac.pl:9: Prolog: ERROR: No permission to modify static procedure `close/1' wordsn( 5, ["The", "Project", "Gutenberg", "eBook", "of"] ). Traceback (most recent call last): File "/usr/local/lib/python3.8/dist-packages/swi_prolog_kernel/kernel.py", line 140, in do_execute self._execute(code) File "/usr/local/lib/python3....
[ 0.006927490234375, 0.023193359375, -0.0026702880859375, -0.000614166259765625, -0.0198974609375, 0.002044677734375, -0.0146484375, 0.00433349609375, 0.020263671875, -0.03173828125, 0.0087890625, -0.004669189453125, 0.0025787353515625, -0.005462646484375, 0.024169921875, -0.0107421875, ...
[ 483, 2263, 2424, 1126, 1250, 4867, 151206, 24638, 438, 168081, 47, 2811, 40383, 201939, 50491, 155648, 11583, 34153, 19, 190, 3957, 223353, 22769, 150242, 13, 37975, 4390, 4937, 12620, 17309, 11782, 4568, 42724, 5612, 6493, 50828, 135527, 462...
[ 0.15576171875, 0.123291015625, 0.1240234375, 0.1776123046875, 0.1922607421875, 0.26025390625, 0.17724609375, 0.10791015625, 0.1019287109375, 0.2303466796875, 0.033660888671875, 0.1585693359375, 0.1343994140625, 0.197265625, 0.2000732421875, 0.2191162109375, 0.10369873046875, 0.1887...
embed
47384561_c0
47384561
prolog
0
Title: keeping a traversal count in prolog Problem title: keeping a traversal count in prolog Tags: maze, prolog Problem: keeping a traversal count in prolog I have a program I've written in Prolog that deals with the classic rat in a maze example, but I'm trying to add to it a bit of functionality. Basically, I want t...
keeping a traversal count in prolog keeping a traversal count in prolog maze prolog Path Visited keeping a traversal count in prolog I have a program I've written in Prolog that deals with the classic rat in a maze example, but I'm trying to add to it a bit of functionality. Basically, I want to keep a count of how man...
[ 0.00469970703125, 0.0240478515625, 0.000324249267578125, 0.00689697265625, 0.0126953125, 0.01104736328125, -0.0098876953125, -0.0078125, 0.01483154296875, -0.07275390625, -0.0010833740234375, 0.0028228759765625, -0.010986328125, 0.00811767578125, 0.000621795654296875, 0.014404296875, ...
[ 120260, 10, 37317, 289, 54529, 23, 502, 4867, 291, 731, 108421, 98684, 1528, 59121, 1250, 54704, 12540, 27781, 31577, 15190, 123309, 3444, 13695, 5941, 112875, 765, 2809, 221, 2060, 63284, 35431, 435, 19713, 24145, 11015, 17262, 16765, 28905,...
[ 0.1524658203125, 0.03515625, 0.2259521484375, 0.166259765625, 0.2069091796875, 0.0295562744140625, 0.1502685546875, 0.2061767578125, 0.08038330078125, 0.1341552734375, 0.1866455078125, 0.196533203125, 0.1331787109375, 0.054351806640625, 0.1357421875, 0.072998046875, 0.177001953125, ...
embed
64420394_c0
64420394
prolog
0
Title: Depth limited alpha-beta in prolog Problem title: Depth limited alpha-beta in prolog Tags: minimax, chess, alpha-beta-pruning, prolog Problem: Depth limited alpha-beta in prolog I'm building a chess engine in Prolog. The alpha-beta from "prolog programing for artificial intelligence" is not depth limited. Since ...
Depth limited alpha-beta in prolog Depth limited alpha-beta in prolog minimax chess alpha-beta-pruning prolog Depth Pos Alpha Beta GoodPos Val PosList get_pos_value GoodVal min_to_move Maximizer max_to_move Minimizer NewAlpha NewBeta Refine Pos1 Val1 Mazximizer Depth1 Depth limited alpha-beta in prolog I'm building a c...
[ 0.004547119140625, 0.004791259765625, 0.042236328125, 0.002716064453125, 0.006561279296875, 0.0262451171875, 0.003204345703125, -0.003814697265625, 0.01806640625, -0.00811767578125, -0.006011962890625, 0.00555419921875, 0.01055908203125, 0.005584716796875, 0.032958984375, -0.0196533203...
[ 262, 254, 927, 84046, 144, 14612, 59865, 23, 502, 4867, 83818, 425, 290, 7, 26992, 592, 13498, 76569, 48941, 18621, 7192, 4769, 154663, 7522, 27494, 42272, 881, 432, 46540, 52825, 18389, 4211, 8559, 6210, 6766, 102, 64552, 53950, 418, 339...
[ 0.0989990234375, 0.1514892578125, 0.06390380859375, 0.2269287109375, 0.054962158203125, 0.2081298828125, 0.248291015625, 0.02935791015625, 0.13671875, 0.22412109375, 0.115966796875, 0.0936279296875, 0.13623046875, 0.05419921875, 0.1131591796875, 0.0208740234375, 0.1259765625, 0.161...
embed
36653220_c0
36653220
prolog
0
Title: Find all facts with matching predicates Problem title: Find all facts with matching predicates Tags: prolog-setof, prolog Problem: Find all facts with matching predicates I have a factbase full of interacts relationships: % Drug, Drug, Interaction Effect interacts(terbinafine,tramadol,muscle_spasm). interacts(te...
Find all facts with matching predicates Find all facts with matching predicates prolog-setof prolog Find Drug Interaction Effect muscle_spasm arterial_pressure_nos_decreased interacts_with Foo print_effects Find all facts with matching predicates I have a factbase full of interacts relationships: And a function that de...
[ 0.00543212890625, -0.0205078125, 0.012939453125, 0.00732421875, -0.0177001953125, 0.031494140625, -0.00518798828125, 0.00921630859375, 0.0011749267578125, -0.044921875, 0.0289306640625, 0.0220947265625, -0.015380859375, -0.013916015625, -0.003265380859375, 0.0185546875, 0.00994873046...
[ 26040, 756, 15824, 7, 678, 14858, 214, 1653, 2063, 502, 4867, 3509, 4390, 125183, 5337, 44713, 129297, 123635, 3166, 39, 183918, 11856, 3408, 2245, 1283, 78974, 9572, 31, 28412, 171760, 1636, 37382, 151618, 32354, 83324, 6626, 125694, 12638, ...
[ 0.143310546875, 0.1624755859375, 0.1864013671875, 0.053466796875, 0.09912109375, 0.2108154296875, 0.1075439453125, 0.147216796875, 0.1763916015625, 0.1187744140625, 0.16064453125, 0.0838623046875, 0.2254638671875, 0.197021484375, 0.127685546875, 0.1241455078125, 0.1903076171875, 0....
embed
28881326_c0
28881326
prolog
0
Title: Goal satisfaction with negated variable in Prolog Problem title: Goal satisfaction with negated variable in Prolog Tags: negation, prolog Problem: Goal satisfaction with negated variable in Prolog I've started learning PROLOG and I have a problem with a very basic example. I'm using SWI PROLOG and the code is as...
Goal satisfaction with negated variable in Prolog Goal satisfaction with negated variable in Prolog negation prolog Goal Prolog is_true is_false I56106 Welcome SWI-Prolog Multi-threaded Version Copyright University Amsterdam ABSOLUTELY WARRANTY Please www.swi-prolog.org Topic Word Goal satisfaction with negated variabl...
[ 0.0155029296875, 0.024169921875, 0.0159912109375, 0.006744384765625, -0.0234375, -0.0031890869140625, 0.00445556640625, 0.014892578125, 0.00970458984375, 0.005828857421875, -0.009033203125, -0.0181884765625, -0.01287841796875, 0.00640869140625, 0.01361083984375, 0.008544921875, 0.021...
[ 2016, 289, 152796, 678, 90584, 297, 77336, 1250, 4867, 108, 125682, 502, 9774, 83, 8710, 13683, 54100, 38969, 10752, 39116, 21391, 2452, 3454, 134912, 22543, 23, 52080, 10514, 47510, 2967, 62822, 27781, 17368, 18151, 171581, 6782, 78045, 4420...
[ 0.15185546875, 0.09124755859375, 0.245361328125, 0.1185302734375, 0.2347412109375, 0.150146484375, 0.25, 0.1534423828125, 0.2196044921875, 0.142578125, 0.13525390625, 0.080078125, 0.09649658203125, 0.07305908203125, 0.06011962890625, 0.002197265625, 0.0341796875, 0.1427001953125, ...
embed
24211936_c0
24211936
prolog
0
Title: Prolog Instantiation Error Issue Problem title: Prolog Instantiation Error Issue Tags: prolog Problem: Prolog Instantiation Error Issue I've been getting an instantiation error in some prolog code I'm working on. uncaught exception: error(instantiation_error,(is)/2) the error occurs when a predicate called conne...
Prolog Instantiation Error Issue Prolog Instantiation Error Issue prolog Prolog Instantiation Error Issue instantiation_error A-1 B-1 State End Colour Next Close Child Prolog Instantiation Error Issue I've been getting an instantiation error in some prolog code I'm working on. the error occurs when a predicate called c...
[ 0.00860595703125, -0.00077056884765625, 0.00921630859375, -0.000431060791015625, -0.01214599609375, -0.00049591064453125, -0.00677490234375, -0.020751953125, 0.021484375, -0.06396484375, -0.01031494140625, -0.0167236328125, -0.0140380859375, -0.01806640625, -0.0037841796875, -0.0157470...
[ 1250, 4867, 166945, 14, 2320, 212059, 223317, 502, 34648, 188800, 62, 5759, 335, 22836, 18878, 196431, 4997, 153335, 123829, 20949, 18499, 18151, 20697, 74918, 1653, 2063, 35839, 37067, 7, 11782, 3126, 47, 27489, 5303, 20020, 110, 112, 85763,...
[ 0.1898193359375, 0.242919921875, 0.181640625, 0.1727294921875, 0.07177734375, 0.2010498046875, 0.147705078125, 0.1534423828125, 0.182861328125, 0.1451416015625, 0.0941162109375, 0.122314453125, 0.059722900390625, 0.121337890625, 0.1141357421875, 0.1722412109375, 0.2080078125, 0.121...
embed
66285044_c0
66285044
prolog
0
Title: How to use SWI Prolog's http/html_write library to write HTML to a file Problem title: How to use SWI Prolog's http/html_write library to write HTML to a file Tags: swi-prolog, prolog, html Problem: How to use SWI Prolog's http/html_write library to write HTML to a file I am trying to generate a HTML f...
How to use SWI Prolog's http/html_write library to write HTML to a file How to use SWI Prolog's http/html_write library to write HTML to a file swi-prolog prolog html How SWI Prolog html_write HTML DOCTYPE Hello html_write:print_html use_module print_html How to use SWI Prolog's http/html_write library to wri...
[ 0.0079345703125, 0.0157470703125, 0.0150146484375, 0.00201416015625, -0.0240478515625, 0.0019989013671875, -0.01556396484375, -0.01141357421875, 0.0015869140625, -0.045654296875, 0.0022125244140625, -0.002166748046875, -0.000919342041015625, -0.000043392181396484375, 0.0301513671875, -...
[ 11249, 4527, 159, 38969, 1250, 4867, 3768, 1621, 7693, 434, 18781, 35773, 1294, 33022, 19097, 47, 11435, 2452, 3454, 502, 120959, 27143, 35378, 35662, 83279, 28412, 31577, 139392, 5475, 1884, 27489, 35064, 1176, 22469, 59121, 18811, 20653, 96...
[ 0.073486328125, 0.1158447265625, 0.07598876953125, 0.2308349609375, 0.159423828125, 0.210205078125, 0.044921875, 0.1488037109375, 0.2164306640625, 0.114501953125, 0.18017578125, 0.1749267578125, 0.0435791015625, 0.18798828125, 0.26953125, 0.117919921875, 0.1900634765625, 0.17675781...
embed
5012161_c0
5012161
prolog
0
Title: Prolog is and =. Why don't they work the same way as the logical constraints? Problem title: Prolog is and =. Why don't they work the same way as the logical constraints? Tags: bitwise-operators, prolog Problem: Prolog is and =. Why don't they work the same way as the logical constraints? I'm still ver...
Prolog is and =. Why don't they work the same way as the logical constraints? Prolog is and =. Why don't they work the same way as the logical constraints? bitwise-operators prolog Prolog Why Input Output Prolog is and =. Why don't they work the same way as the logical constraints? I'm still very new to prolo...
[ 0.01483154296875, 0.0029144287109375, -0.0012969970703125, -0.01190185546875, -0.00982666015625, 0.0076904296875, -0.01123046875, -0.000324249267578125, -0.00421142578125, -0.0205078125, 0.01068115234375, 0.004608154296875, 0.0032196044921875, 0.0137939453125, 0.0191650390625, -0.02099...
[ 1250, 4867, 83, 136, 2203, 44084, 2301, 3768, 18, 4488, 5701, 3917, 237, 62775, 289, 158, 2816, 4288, 7, 1836, 4785, 90825, 206469, 502, 360, 7077, 13538, 3525, 15400, 48909, 48903, 4677, 86869, 9790, 1238, 132, 441, 8439, 4420, 313, 13...
[ 0.1995849609375, 0.2822265625, 0.134765625, 0.1905517578125, 0.2440185546875, 0.08197021484375, 0.045928955078125, 0.041168212890625, 0.040679931640625, 0.1190185546875, 0.059600830078125, 0.062744140625, 0.030120849609375, 0.1517333984375, 0.0704345703125, 0.09307861328125, 0.180053...
embed
55907877_c0
55907877
prolog
0
Title: Internal workings of ic_global/occurrences/3 Problem title: Internal workings of ic_global/occurrences/3 Tags: constraint-programming, prolog, eclipse-clp Problem: Internal workings of ic_global/occurrences/3 For the QuasiGroup completion problem I implemented two models. One of them is a model based on nothing ...
Internal workings of ic_global/occurrences/3 Internal workings of ic_global/occurrences/3 constraint-programming prolog eclipse-clp occurrences/3 ic_global Internal Order Variables Dual1 Dual2 ic_global:occurrences Bool input_order Backtracks Internal workings of ic_global/occurrences/3 For the QuasiGroup completion pr...
[ -0.004791259765625, 0.005126953125, 0.0203857421875, 0.01507568359375, 0.0015869140625, 0.01129150390625, -0.021484375, -0.00616455078125, -0.006378173828125, -0.038330078125, 0.002197265625, -0.0034637451171875, -0.00072479248046875, 0.009521484375, 0.015869140625, 0.00021648406982421...
[ 106745, 141, 20697, 1771, 156566, 6652, 64240, 69098, 18113, 6, 158, 2816, 4288, 28966, 502, 4867, 106371, 184, 26775, 74918, 42, 81206, 111477, 114421, 418, 304, 2460, 929, 107730, 80596, 26828, 125728, 19559, 172, 205072, 21721, 1830, 2967,...
[ 0.1611328125, 0.0189208984375, 0.15283203125, 0.107421875, 0.19873046875, 0.10009765625, 0.201171875, 0.13037109375, 0.21826171875, 0.002532958984375, 0.043060302734375, 0.1654052734375, 0.076171875, 0.0999755859375, 0.0928955078125, 0.1329345703125, 0.1265869140625, 0.048065185546...
embed
59887634_c0
59887634
prolog
0
Title: Very basics: How to create & manage lists in Prolog? Problem title: Very basics: How to create & manage lists in Prolog? Tags: prolog Problem: Very basics: How to create & manage lists in Prolog? I've very recently started looking into Prolog, and while I'm very unfamiliar with it still, so it seems "wei...
Very basics: How to create & manage lists in Prolog? Very basics: How to create & manage lists in Prolog? prolog Very How Prolog Book Author Company Goal user:addBook Very basics: How to create & manage lists in Prolog? I've very recently started looking into Prolog, and while I'm very unfamiliar with it still,...
[ 0.00927734375, 0.0186767578125, 0.014404296875, 0.006622314453125, -0.005218505859375, 0.0120849609375, -0.00225830078125, 0.0029449462890625, 0.0086669921875, -0.0439453125, 0.0146484375, 0.0023040771484375, -0.01165771484375, 0.00164794921875, 0.02294921875, -0.006622314453125, 0.0...
[ 99342, 62822, 11249, 28282, 25133, 111240, 5303, 7, 23, 1250, 4867, 502, 27432, 61804, 33734, 2016, 289, 38937, 4028, 37975, 619, 4552, 69211, 82249, 46876, 11814, 4904, 41925, 49041, 20697, 45646, 6562, 54704, 27781, 3249, 109005, 12877, 633...
[ 0.171630859375, 0.18603515625, 0.11865234375, 0.1912841796875, 0.028289794921875, 0.2236328125, 0.27490234375, 0.12451171875, 0.08050537109375, 0.179931640625, 0.272216796875, 0.0888671875, 0.091552734375, 0.117431640625, 0.1181640625, 0.1761474609375, 0.130126953125, 0.13464355468...
embed
24274412_c0
24274412
prolog
0
Title: prolog query ignores if conditional Problem title: prolog query ignores if conditional Tags: conditional-statements, prolog, if-statement Problem: prolog query ignores if conditional First and foremost I am a 'noob' with regards to Prolog, and currently finding it difficult to find information online appropriate...
prolog query ignores if conditional prolog query ignores if conditional conditional-statements prolog if-statement brave_new_world lord_of_the_flies fight_club wind_in_the_willows the_hobbit cat_num huxley_aldus golding_william palahniuk_chuck tolkien_jrr author_sur author_fore number_book author_book grahame_kenneth a...
[ 0.0223388671875, 0.007049560546875, -0.00054168701171875, 0.004608154296875, 0.00994873046875, 0.0035858154296875, -0.007720947265625, 0.0036163330078125, 0.00421142578125, -0.01556396484375, 0.00067901611328125, -0.0205078125, -0.0306396484375, -0.005584716796875, 0.031494140625, 0.00...
[ 502, 4867, 41, 1294, 124962, 2174, 35431, 289, 61340, 9035, 674, 1620, 272, 54936, 32554, 7822, 4390, 36361, 78431, 41152, 32382, 73, 41566, 22155, 18, 7515, 2606, 4293, 68080, 86761, 214, 5381, 62937, 2247, 4776, 2594, 31917, 27172, 29161,...
[ 0.1644287109375, 0.233642578125, 0.158447265625, 0.1064453125, 0.199462890625, 0.135498046875, 0.2298583984375, 0.1365966796875, 0.1480712890625, 0.047088623046875, 0.01214599609375, 0.03753662109375, 0.009918212890625, 0.026275634765625, 0.08233642578125, 0.0433349609375, 0.11816406...
embed
27934186_c1
27934186
prolog
1
4, Germany, 2, G, 0). team(Shaktar, Ukraine, 2, H, 0). %% Pick the first team ready for matching. %% When a team is picked, the bool_taken flag is set to 1. pick(X) :- team(X,N,R,G,0), retract(team(X,_,_,_,_)), assert(team(X,N,R,G,1)), match(X,_). %% Rules for match(): %% Teams from the same country do not meet; %% Tea...
4, Germany, 2, G, 0). team(Shaktar, Ukraine, 2, H, 0). %% Pick the first team ready for matching. %% When a team is picked, the bool_taken flag is set to 1. pick(X) :- team(X,N,R,G,0), retract(team(X,_,_,_,_)), assert(team(X,N,R,G,1)), match(X,_). %% Rules for match(): %% Teams from the same country do not meet; %% Tea...
[ -0.00238037109375, 0.0057373046875, 0.005218505859375, 0.003814697265625, -0.032470703125, 0.008544921875, -0.0205078125, 0.0004787445068359375, -0.00106048583984375, 0.0142822265625, 0.01287841796875, 0.00250244140625, -0.0003223419189453125, -0.01239013671875, -0.006378173828125, -0....
[ 201, 102126, 116, 527, 757, 7175, 867, 82739, 572, 3949, 122554, 5117, 43542, 14858, 214, 171739, 142484, 1865, 33, 49938, 5423, 47, 615, 39580, 1542, 15772, 724, 77495, 41499, 44420, 33657, 139118, 11399, 5701, 23295, 959, 23356, 21115, 30...
[ 0.1795654296875, 0.192626953125, 0.05145263671875, 0.05926513671875, 0.091064453125, 0.173583984375, 0.1529541015625, 0.1478271484375, 0.04083251953125, 0.030517578125, 0.187255859375, 0.059326171875, 0.123046875, 0.1712646484375, 0.0278778076171875, 0.1812744140625, 0.1466064453125,...
embed
60809926_c0
60809926
prolog
0
Title: Is there a way to extend Einstein's Riddle in Prolog? Problem title: Is there a way to extend Einstein's Riddle in Prolog? Tags: zebra-puzzle, prolog Problem: Is there a way to extend Einstein's Riddle in Prolog? First off, thank you for dropping by my question. On to the question, I have been working ...
Is there a way to extend Einstein's Riddle in Prolog? Is there a way to extend Einstein's Riddle in Prolog? zebra-puzzle prolog Einstein Riddle Prolog _Men _Color _Drink _Smoke _Animal N-1 List Brit hint1 Swede hint2 Dane hint3 hint4 hint5 Pall Mall hint6 Dunhill hint7 hint8 Norwegian hint9 Blends hint10 hint...
[ -0.0023651123046875, -0.000743865966796875, 0.0145263671875, 0.026123046875, -0.00994873046875, -0.006927490234375, -0.02197265625, 0.0234375, 0.021728515625, -0.058349609375, 0.00543212890625, -0.00885009765625, -0.0111083984375, -0.00136566162109375, 0.002197265625, 0.0238037109375, ...
[ 2071, 2685, 10, 3917, 47, 65042, 119225, 3768, 41231, 19298, 23, 1250, 4867, 116232, 1766, 13894, 133, 502, 29638, 10625, 1484, 35838, 432, 350, 93, 2749, 541, 5759, 32036, 21689, 5122, 74412, 118668, 1342, 40550, 78280, 103993, 193924, 229...
[ 0.01312255859375, 0.0294952392578125, 0.02581787109375, 0.115234375, 0.03076171875, 0.240234375, 0.2337646484375, 0.115234375, 0.1951904296875, 0.196044921875, 0.1195068359375, 0.1907958984375, 0.254150390625, 0.1751708984375, 0.0654296875, 0.093994140625, 0.03399658203125, 0.12561...
embed
24231179_c0
24231179
prolog
0
Title: Prolog Flow Free game solver Problem title: Prolog Flow Free game solver Tags: logic, prolog Problem: Prolog Flow Free game solver I have been trying to write a Flow free solver in Prolog. Here is how the game looks like . Prolog solver should find the solution for it. I have started doing something but I'm defi...
Prolog Flow Free game solver Prolog Flow Free game solver logic prolog Prolog Flow Free entradaFlow9 atmost1Connected atmost2Connected x-I-J-K1 x-I-J-K2 r-I1-H r-I2-H o-I1-H o-I2-H o-I3-H infile.cnf var2num hash_term Key num2var Lit Comando get_code Char number_codes Ch1 Char1 Prolog Flow Free game solver I have been t...
[ -0.01025390625, -0.00168609619140625, 0.0034332275390625, -0.00579833984375, -0.002899169921875, -0.00885009765625, -0.01434326171875, 0.0037841796875, 0.003204345703125, -0.0203857421875, -0.01708984375, 0.01312255859375, 0.025634765625, 0.007598876953125, -0.0006256103515625, 0.01019...
[ 1250, 4867, 563, 17336, 5153, 6712, 3115, 814, 62775, 502, 21734, 1126, 840, 235603, 1022, 1375, 418, 304, 20268, 841, 18504, 29822, 2606, 1556, 32166, 26824, 13269, 1961, 27668, 3288, 3448, 40899, 21656, 14012, 3751, 31577, 33022, 4092, 36...
[ 0.16064453125, 0.2144775390625, 0.08099365234375, 0.247314453125, 0.185302734375, 0.120361328125, 0.137451171875, 0.1175537109375, 0.1634521484375, 0.121826171875, 0.1395263671875, 0.1400146484375, 0.08172607421875, 0.08050537109375, 0.02105712890625, 0.0421142578125, 0.0245971679687...
embed
14078009_c0
14078009
prolog
0
Title: Avoid infinite looping in Prolog Problem title: Avoid infinite looping in Prolog Tags: infinite-loop, prolog Problem: Avoid infinite looping in Prolog I have the following facts in the knowledge base: line(a,b). -- denotes the line determined by point a and b line(c,d). -- denotes the line determined by point c ...
Avoid infinite looping in Prolog Avoid infinite looping in Prolog infinite-loop prolog Avoid Prolog IntermediateNodes Avoid infinite looping in Prolog I have the following facts in the knowledge base: I want to have another rule that can swap around the two arguments of lineEqual/2: Unfortunately the rule will create a...
[ -0.006256103515625, -0.002685546875, 0.0189208984375, 0.00762939453125, -0.007476806640625, -0.017578125, -0.018310546875, 0.01611328125, 0.01129150390625, -0.048095703125, -0.004425048828125, 0.0302734375, 0.00008440017700195312, 0.0067138671875, 0.0213623046875, 0.0130615234375, 0....
[ 84361, 532, 54241, 13, 40956, 214, 1250, 4867, 28354, 502, 12333, 5021, 15824, 3647, 3444, 79986, 202317, 10932, 6626, 10750, 13315, 71723, 12477, 185397, 28282, 53, 28987, 1927, 43613, 5773, 10336, 110, 3126, 339, 363, 3564, 201505, 5303, ...
[ 0.161376953125, 0.068115234375, 0.124755859375, 0.025970458984375, 0.194580078125, 0.083984375, 0.15478515625, 0.236572265625, 0.1881103515625, 0.11328125, 0.08477783203125, 0.1014404296875, 0.08831787109375, 0.02203369140625, 0.0137939453125, 0.147216796875, 0.16845703125, 0.07385...
embed
1429887_c0
1429887
prolog
0
Title: How can I implement, "I am my own Grandpa", in Prolog? Problem title: How can I implement, "I am my own Grandpa", in Prolog? Tags: prolog Problem: How can I implement, "I am my own Grandpa", in Prolog? The following story is from N. Wirth's (1976) Algorithms + Datastructures = Programs. I mar...
How can I implement, "I am my own Grandpa", in Prolog? How can I implement, "I am my own Grandpa", in Prolog? prolog How Grandpa Prolog brother_in_law father_in_law son_in_law step_daughter step_parent step_father step_mother How can I implement, "I am my own Grandpa", in Prolog? The following story...
[ 0.01171875, 0.01055908203125, 0.0279541015625, 0.0164794921875, -0.00885009765625, 0.00116729736328125, -0.0030059814453125, -0.00064849853515625, 0.0162353515625, -0.032958984375, -0.00408935546875, -0.00579833984375, -0.0225830078125, 0.015869140625, 0.01519775390625, -0.009155273437...
[ 11249, 831, 29479, 568, 444, 759, 10002, 12801, 763, 23, 1250, 4867, 87, 74, 502, 82953, 73, 19729, 67373, 775, 29954, 46526, 99547, 1021, 9319, 432, 44, 25632, 13765, 3336, 927, 83904, 109847, 2783, 18337, 997, 11809, 137656, 7663, 81887...
[ 0.08184814453125, 0.06585693359375, 0.24853515625, 0.1612548828125, 0.2264404296875, 0.1175537109375, 0.21875, 0.2174072265625, 0.2373046875, 0.06146240234375, 0.175537109375, 0.253173828125, 0.0657958984375, 0.0262451171875, 0.112548828125, 0.118408203125, 0.08184814453125, 0.1268...
embed
70711630_c0
70711630
prolog
0
Title: How can I make this code asks each question once? Problem title: How can I make this code asks each question once? Tags: prolog Problem: How can I make this code asks each question once? I'm trying this code on SWI-Prolog: go :- write('What is the patient''s name? '), read(Patient), hypothesis(Patient,Disease), ...
How can I make this code asks each question once? How can I make this code asks each question once? prolog How What Patient Disease write_list Sorry Does Reply runny_nose body_ache sore_throat swollen_glands german_measles common_cold chicken_pox Term Terms read_line_to_codes user_input Codes nth0 FirstCode char_code H...
[ 0.01409912109375, -0.006500244140625, 0.0174560546875, 0.00634765625, 0.0023345947265625, 0.01025390625, -0.01361083984375, 0.0050048828125, 0.00087738037109375, -0.055908203125, 0.01287841796875, 0.01031494140625, -0.003326416015625, 0.00994873046875, 0.0164794921875, 0.0284423828125,...
[ 11249, 831, 3249, 903, 18151, 26458, 7, 12638, 9655, 24145, 502, 4867, 4865, 135004, 229200, 33022, 6562, 90502, 122813, 11675, 299, 157, 184, 14361, 46994, 127124, 42294, 257, 8405, 15534, 42712, 282, 162, 1577, 39210, 8447, 143896, 771, 4...
[ 0.0242767333984375, 0.04315185546875, 0.08184814453125, 0.109130859375, 0.2471923828125, 0.2218017578125, 0.0889892578125, 0.18603515625, 0.2340087890625, 0.22705078125, 0.081787109375, 0.185791015625, 0.0712890625, 0.216064453125, 0.2103271484375, 0.06890869140625, 0.1722412109375, ...
embed
54893794_c0
54893794
prolog
0
Title: Trouble comparing numeric variables in Prolog Problem title: Trouble comparing numeric variables in Prolog Tags: prolog, logic Problem: Trouble comparing numeric variables in Prolog I am attempting to solve one of those grid logic problems with swi-prolog. I am able to program most of the rules, however, this ru...
Trouble comparing numeric variables in Prolog Trouble comparing numeric variables in Prolog prolog logic Trouble Prolog Instatiate Generate Format Dm1 Dr1 Dm2 Dr2 Dm3 Dr3 Dm4 Dr4 Dm5 Dr5 Rule Month1 Month2 Days1 Days2 Durations Months Diplomats Capitals rule1 rule2 Trouble comparing numeric variables in Prolog I am att...
[ -0.0098876953125, -0.01171875, 0.004241943359375, 0.0172119140625, -0.0028076171875, 0.0023956298828125, -0.03173828125, 0.01239013671875, 0.0036773681640625, 0.0037078857421875, -0.00830078125, 0.0174560546875, 0.00341796875, -0.00836181640625, 0.0076904296875, -0.003204345703125, -...
[ 119671, 2661, 37397, 54744, 77336, 1250, 4867, 238, 502, 62775, 97868, 2182, 155370, 60972, 1773, 418, 304, 363, 617, 758, 139118, 12982, 97292, 79843, 78702, 933, 32546, 7, 79986, 120067, 44402, 2452, 3454, 1528, 2684, 91736, 1927, 26783, ...
[ 0.1268310546875, 0.042999267578125, 0.212890625, 0.1669921875, 0.2403564453125, 0.17431640625, 0.23779296875, 0.01318359375, 0.140625, 0.14404296875, 0.0684814453125, 0.024566650390625, 0.129638671875, 0.1810302734375, 0.03460693359375, 0.0177459716796875, 0.039306640625, 0.0267944...
embed
26119110_c0
26119110
prolog
0
Title: Knowledge representation in Prolog - how to store data? Problem title: Knowledge representation in Prolog - how to store data? Tags: database-design, prolog Problem: Knowledge representation in Prolog - how to store data? as I got critic concerning my data structure in Prolog I asked here the experts for alterna...
Knowledge representation in Prolog - how to store data? Knowledge representation in Prolog - how to store data? database-design prolog Knowledge Prolog Green Soup Next ask_element Name Child Parent NewParent RTitle RKnot Knot TmpIng Ingredient Ing Egg define_xml_knot TmpRTitle Bag IDnumber Knowledge representation in P...
[ 0.031005859375, -0.00091552734375, 0.016357421875, 0.01348876953125, 0.0159912109375, 0.01544189453125, -0.01287841796875, 0.00469970703125, 0.002044677734375, -0.056640625, 0.01904296875, 0.00469970703125, -0.029541015625, 0.004974365234375, 0.01043701171875, -0.01507568359375, 0.01...
[ 191428, 18811, 1250, 4867, 3642, 4343, 2053, 63399, 34198, 502, 15497, 1061, 2037, 4997, 26458, 62766, 15757, 123829, 170918, 28636, 217, 133, 10869, 70344, 2676, 116836, 242238, 11614, 133535, 61924, 131492, 19413, 11338, 2606, 23, 47, 35778, ...
[ 0.233642578125, 0.2408447265625, 0.1881103515625, 0.277587890625, 0.07659912109375, 0.206787109375, 0.1986083984375, 0.103271484375, 0.1207275390625, 0.10107421875, 0.107666015625, 0.0789794921875, 0.113525390625, 0.05828857421875, 0.0699462890625, 0.1435546875, 0.03619384765625, 0...
embed
47634206_c0
47634206
prolog
0
Title: Prolog operator errors in Pereira Problem title: Prolog operator errors in Pereira Tags: prolog, nlp, swi-prolog Problem: Prolog operator errors in Pereira Using SWI Prolog 7.7.2 in Ubuntu Linux, I am trying to run the "talk" module from Pereira and Schieber (Appendix A, http://www.mtome.com/Publications/PNLA/pr...
Prolog operator errors in Pereira Prolog operator errors in Pereira prolog nlp swi-prolog Prolog Pereira main_loop read_sent Words Reply TALK print_reply _Sentence Replying _Type _FreeVars _Clause ErrorType Error Assertion Asserted FreeVars Answer Condition Warning talk.P:59 Singleton Prolog operator errors in Pereira ...
[ 0.028076171875, 0.00151824951171875, 0.0089111328125, 0.01544189453125, -0.00028228759765625, -0.0032501220703125, -0.00811767578125, -0.00121307373046875, -0.00994873046875, -0.035400390625, 0.0023040771484375, -0.003509521484375, 0.0194091796875, -0.028076171875, 0.019775390625, 0.00...
[ 1250, 4867, 39933, 18499, 23, 158014, 502, 26775, 91, 2452, 3454, 5201, 28354, 12301, 12832, 22543, 122813, 89577, 605, 28412, 62479, 47290, 196707, 81437, 81827, 26253, 212059, 16865, 5153, 130373, 46347, 5550, 22120, 26451, 43609, 1507, 159, ...
[ 0.13818359375, 0.21435546875, 0.2218017578125, 0.2200927734375, 0.033477783203125, 0.28076171875, 0.07623291015625, 0.0963134765625, 0.0023193359375, 0.1475830078125, 0.100830078125, 0.022613525390625, 0.13623046875, 0.08709716796875, 0.0404052734375, 0.1268310546875, 0.12646484375, ...
embed
16085748_c0
16085748
prolog
0
Title: determine the old line of succession prolog Problem title: determine the old line of succession prolog Tags: family-tree, prolog Problem: determine the old line of succession prolog Given the british royal family, Using only male(X),female(X) and parent(X,Y) where the parent of X is Y, how to create the line of ...
determine the old line of succession prolog determine the old line of succession prolog family-tree prolog determine the old line of succession prolog Given the british royal family, Using only male(X),female(X) and parent(X,Y) where the parent of X is Y, how to create the line of succession(X,Y) where Y is the success...
[ 0.0035858154296875, 0.005767822265625, 0.0021209716796875, 0.01507568359375, 0.006683349609375, -0.0106201171875, -0.01434326171875, 0.021728515625, 0.004791259765625, -0.035888671875, -0.0047607421875, 0.0029754638671875, -0.013427734375, -0.00714111328125, 0.0263671875, -0.0062866210...
[ 83324, 10332, 13315, 111, 206846, 502, 4867, 70, 14449, 62600, 22473, 4745, 121678, 345, 4734, 11280, 1542, 2242, 49100, 49129, 1723, 7440, 1193, 83, 990, 3642, 47, 28282, 4, 39457, 42, 23, 61924, 756, 136, 117776, 37842, 198371, 4488, 81...
[ 0.1849365234375, 0.2354736328125, 0.231689453125, 0.1649169921875, 0.234130859375, 0.1802978515625, 0.2242431640625, 0.045623779296875, 0.171142578125, 0.17529296875, 0.1673583984375, 0.1021728515625, 0.1654052734375, 0.0992431640625, 0.0953369140625, 0.1484375, 0.1495361328125, 0....
embed
27334691_c0
27334691
prolog
0
Title: Prolog order of unification Problem title: Prolog order of unification Tags: prolog Problem: Prolog order of unification I am just starting to try and teach myself Prolog, using both Seven Languages in Seven Weeks and Learn Prolog Now! and I ran into something confusing. On day one of SLSW it presents the follow...
Prolog order of unification Prolog order of unification prolog Prolog twin_cats Prolog order of unification I am just starting to try and teach myself Prolog, using both Seven Languages in Seven Weeks and Learn Prolog Now! and I ran into something confusing. On day one of SLSW it presents the following knowledge base: ...
[ 0.0458984375, 0.01611328125, 0.00439453125, 0.0078125, -0.01068115234375, -0.016845703125, -0.002777099609375, -0.00469970703125, 0.017822265625, -0.031494140625, 0.00958251953125, -0.00885009765625, 0.0011749267578125, -0.0263671875, -0.01190185546875, 0.01708984375, 0.0038909912109...
[ 1250, 4867, 12989, 111, 51, 41274, 502, 138241, 4460, 94957, 132556, 83658, 23, 58417, 134031, 14240, 55681, 5155, 1632, 42135, 89023, 51359, 3647, 41, 1542, 1723, 27489, 756, 97370, 6626, 7515, 1193, 45486, 990, 102577, 2203, 15190, 69236, ...
[ 0.1785888671875, 0.2373046875, 0.219482421875, 0.0233306884765625, 0.184326171875, 0.16455078125, 0.1083984375, 0.189453125, 0.1981201171875, 0.05535888671875, 0.074462890625, 0.1331787109375, 0.00762939453125, 0.10491943359375, 0.025421142578125, 0.0670166015625, 0.051177978515625, ...
embed
53603680_c0
53603680
prolog
0
Title: Prolog - searching optimal response - tic tac toe Problem title: Prolog - searching optimal response - tic tac toe Tags: prolog Problem: Prolog - searching optimal response - tic tac toe I am trying to understand how the response works for a game of tic tac toe. At this point I have winningLine facts that will t...
Prolog - searching optimal response - tic tac toe Prolog - searching optimal response - tic tac toe prolog Prolog Specify Print next_move Your Read Input Check Select Replace Prolog - searching optimal response - tic tac toe I am trying to understand how the response works for a game of tic tac toe. At this point I hav...
[ 0.001861572265625, 0.01519775390625, 0.0299072265625, 0.01507568359375, -0.00433349609375, 0.018798828125, 0.000058650970458984375, -0.006378173828125, 0.0013885498046875, -0.0286865234375, 0.001007080078125, 0.00860595703125, 0.002655029296875, 0.004150390625, -0.0145263671875, 0.0111...
[ 1250, 4867, 20, 157318, 24087, 57553, 96212, 36322, 4375, 502, 24990, 40383, 39754, 11737, 432, 272, 14804, 4764, 360, 7077, 38679, 51620, 23935, 31577, 28219, 3642, 43240, 6712, 6275, 69986, 93232, 15824, 14192, 2174, 22008, 1556, 23742, 389...
[ 0.182861328125, 0.258056640625, 0.012176513671875, 0.2071533203125, 0.216064453125, 0.26318359375, 0.183349609375, 0.194091796875, 0.209716796875, 0.128173828125, 0.0789794921875, 0.09320068359375, 0.1318359375, 0.05804443359375, 0.109130859375, 0.1697998046875, 0.0242156982421875, ...
embed
40063938_c0
40063938
prolog
0
Title: Power with successor arithmetic - how to prevent an infinite loop? [Prolog] Problem title: Power with successor arithmetic - how to prevent an infinite loop? [Prolog] Tags: exponentiation, prolog, successor-arithmetics Problem: Power with successor arithmetic - how to prevent an infinite loop? [Prolog] I have be...
Power with successor arithmetic - how to prevent an infinite loop? [Prolog] Power with successor arithmetic - how to prevent an infinite loop? [Prolog] exponentiation prolog successor-arithmetics Power Prolog Tmp Sum Power with successor arithmetic - how to prevent an infinite loop? [Prolog] I have been thinking over t...
[ 0.0133056640625, 0.003173828125, 0.00787353515625, 0.01806640625, -0.0001678466796875, -0.0026092529296875, -0.004241943359375, -0.00017070770263671875, 0.0032958984375, -0.0400390625, 0.0189208984375, 0.016357421875, -0.0284423828125, 0.0033111572265625, 0.0439453125, 0.00588989257812...
[ 17170, 678, 39457, 42, 8962, 282, 9523, 3642, 56282, 54241, 13, 40956, 10752, 4867, 78643, 502, 1250, 384, 2676, 36335, 47, 142, 47644, 5155, 28219, 63134, 29479, 187, 118126, 116, 91, 18444, 26278, 45646, 903, 5117, 9790, 79786, 41, 1294...
[ 0.196044921875, 0.09814453125, 0.23193359375, 0.1375732421875, 0.125, 0.09588623046875, 0.0433349609375, 0.05987548828125, 0.2305908203125, 0.1436767578125, 0.0477294921875, 0.2410888671875, 0.1077880859375, 0.2166748046875, 0.07513427734375, 0.104736328125, 0.14697265625, 0.054443...
embed
5439426_c0
5439426
prolog
0
Title: How do I get a prolog rule that, when it fails, returns to the beginning of the rule? Problem title: How do I get a prolog rule that, when it fails, returns to the beginning of the rule? Tags: prolog, logic, gnu, cryptography Problem: How do I get a prolog rule that, when it fails, returns to the beginning of th...
How do I get a prolog rule that, when it fails, returns to the beginning of the rule? How do I get a prolog rule that, when it fails, returns to the beginning of the rule? prolog logic gnu cryptography How Init_1 Init_2 Init_3 RespGet_1 RespGet_2 RespGet_3 Resp_1 Resp_2 Resp_3 XchdGet_1 Secret How do I get a prolog rul...
[ 0.002288818359375, 0.0015869140625, 0.00799560546875, 0.019775390625, -0.01239013671875, 0.0048828125, 0.006195068359375, -0.000518798828125, 0.0166015625, -0.0303955078125, 0.0208740234375, 0.0264892578125, -0.01385498046875, 0.007171630859375, 0.039306640625, 0.0013275146484375, 0....
[ 11249, 2046, 502, 4867, 79986, 450, 3229, 35782, 30646, 7, 47, 86595, 62775, 104155, 136791, 360, 217, 115187, 304, 363, 9624, 254, 724, 1193, 206, 71, 126, 39008, 46994, 6057, 18151, 48903, 10336, 16940, 31577, 36356, 91363, 23410, 2053, ...
[ 0.04022216796875, 0.084228515625, 0.186279296875, 0.2276611328125, 0.18994140625, 0.0204620361328125, 0.09442138671875, 0.2132568359375, 0.2337646484375, 0.03607177734375, 0.0791015625, 0.1456298828125, 0.08740234375, 0.1473388671875, 0.1024169921875, 0.062744140625, 0.1690673828125,...
embed
36727002_c0
36727002
prolog
0
Title: Learning Prolog (cuts, lists, negation) push me in the right direction Problem title: Learning Prolog (cuts, lists, negation) push me in the right direction Tags: prolog Problem: Learning Prolog (cuts, lists, negation) push me in the right direction I have the following base knowledge: “ NBA players over 30 year...
Learning Prolog (cuts, lists, negation) push me in the right direction Learning Prolog (cuts, lists, negation) push me in the right direction prolog Learning Prolog Learning Prolog (cuts, lists, negation) push me in the right direction I have the following base knowledge: “ NBA players over 30 years old that have won a...
[ 0.01904296875, -0.00665283203125, 0.027587890625, 0.0198974609375, 0.00194549560546875, 0.0113525390625, -0.003753662109375, 0.0079345703125, -0.0033111572265625, -0.007720947265625, 0.000774383544921875, 0.00775146484375, -0.00482177734375, -0.00653076171875, 0.00982666015625, 0.00622...
[ 114344, 1250, 4867, 19774, 5303, 108, 125682, 25944, 163, 23, 7108, 48225, 502, 25632, 3647, 51359, 55272, 92865, 645, 496, 5369, 10332, 450, 765, 23742, 19713, 138, 102995, 621, 1601, 5613, 35064, 4734, 2174, 108975, 12912, 29256, 1202, 35...
[ 0.1456298828125, 0.1529541015625, 0.22802734375, 0.1990966796875, 0.1951904296875, 0.1795654296875, 0.151123046875, 0.191162109375, 0.10302734375, 0.046844482421875, 0.112060546875, 0.1546630859375, 0.1151123046875, 0.0244293212890625, 0.05487060546875, 0.07232666015625, 0.1912841796...
embed
50939220_c0
50939220
prolog
0
Title: SWI-Prolog: No permission to load source when "Non-module file" already loaded into some module) Problem title: SWI-Prolog: No permission to load source when "Non-module file" already loaded into some module) Tags: swi-prolog, prolog Problem: SWI-Prolog: No permission to load source when "Non...
SWI-Prolog: No permission to load source when "Non-module file" already loaded into some module) SWI-Prolog: No permission to load source when "Non-module file" already loaded into some module) swi-prolog prolog SWI-Prolog Non-module Filename Welcome ABSOLUTELY WARRANTY Please www.swi-prolog.org Top...
[ 0.01080322265625, 0.00885009765625, 0.0107421875, 0.0274658203125, -0.01434326171875, 0.0081787109375, 0.00286865234375, 0.00146484375, -0.0096435546875, -0.0634765625, 0.00970458984375, -0.00008106231689453125, -0.0174560546875, -0.0157470703125, 0.018798828125, 0.004730224609375, -...
[ 159, 38969, 10752, 4867, 438, 168081, 47, 72367, 31344, 3229, 59881, 83279, 11435, 21771, 88996, 9, 91, 2452, 3454, 502, 3775, 42724, 11627, 91334, 134912, 22543, 41206, 3390, 8996, 149031, 6954, 2424, 5423, 190872, 41929, 68726, 11675, 3996,...
[ 0.046783447265625, 0.26416015625, 0.1632080078125, 0.2119140625, 0.1148681640625, 0.256103515625, 0.01898193359375, 0.2161865234375, 0.2139892578125, 0.061737060546875, 0.1636962890625, 0.174072265625, 0.1551513671875, 0.13134765625, 0.1968994140625, 0.03515625, 0.01153564453125, 0...
embed
64325939_c0
64325939
prolog
0
Title: first order logic creating terms for arithmetic expressions using prolog Problem title: first order logic creating terms for arithmetic expressions using prolog Tags: first-order-logic, signature, prolog, predicate Problem: first order logic creating terms for arithmetic expressions using prolog given a signatur...
first order logic creating terms for arithmetic expressions using prolog first order logic creating terms for arithmetic expressions using prolog first-order-logic signature prolog predicate prolog Terms Ops arithmetic_operator arithmetic_expression Term Functor Component1 Component2 ERROR Syntax Operator first order l...
[ 0.00799560546875, -0.0029449462890625, -0.0167236328125, 0.0091552734375, -0.00262451171875, 0.00098419189453125, 0.015380859375, 0.0004596710205078125, -0.031005859375, -0.0284423828125, -0.00390625, -0.0079345703125, -0.006744384765625, -0.00518798828125, 0.0003204345703125, 0.000801...
[ 5117, 12989, 62775, 105233, 69407, 100, 187, 8962, 282, 9523, 125195, 17368, 502, 4867, 80596, 137043, 138256, 1653, 2063, 165504, 2331, 206469, 204629, 2994, 28670, 18770, 54137, 304, 151206, 19010, 150922, 22085, 1511, 32108, 40970, 34731, 70...
[ 0.097900390625, 0.1571044921875, 0.205078125, 0.136474609375, 0.2470703125, 0.009765625, 0.0855712890625, 0.148193359375, 0.064697265625, 0.01300048828125, 0.2056884765625, 0.055633544921875, 0.1650390625, 0.2384033203125, 0.16357421875, 0.15234375, 0.214111328125, 0.1337890625, ...
embed
46077052_c0
46077052
prolog
0
Title: Extracting text from big files in Prolog Problem title: Extracting text from big files in Prolog Tags: prolog, file Problem: Extracting text from big files in Prolog I would like to extract text between a start and end string with SWI-Prolog, e.g., all the titles from Wikipedia dumps. I don't want to use an XML-...
Extracting text from big files in Prolog Extracting text from big files in Prolog prolog file big Extracting Prolog G1G L1G T1G main.pl Welcome SWI-Prolog ABSOLUTELY WARRANTY Please www.swi-prolog.org Topic Word Rocarta Iris Pagina Zadar Australia Slovenia ERROR Out Exception _264890370 use_module last_call_optimisatio...
[ 0.012939453125, 0.0146484375, 0.01287841796875, 0.01251220703125, -0.00016498565673828125, 0.0133056640625, 0.00885009765625, -0.006805419921875, -0.005706787109375, -0.031982421875, 0.0255126953125, 0.001861572265625, -0.03955078125, -0.020263671875, 0.04443359375, 0.0189208984375, ...
[ 31501, 238, 1916, 7986, 1295, 6957, 102158, 1250, 4867, 23, 502, 11435, 724, 5201, 2424, 159, 38969, 10752, 2452, 3454, 134912, 22543, 2777, 3284, 102, 122816, 74248, 155414, 28173, 203587, 151206, 13538, 63928, 136442, 71025, 4527, 83279, 45...
[ 0.1983642578125, 0.09228515625, 0.018463134765625, 0.2197265625, 0.09857177734375, 0.146728515625, 0.1920166015625, 0.17529296875, 0.26953125, 0.022979736328125, 0.143310546875, 0.113037109375, 0.044281005859375, 0.032958984375, 0.097900390625, 0.0233154296875, 0.1866455078125, 0.1...
embed
27434424_c0
27434424
prolog
0
Title: Prolog Constraints -> Solving Puzzle Grid Problem title: Prolog Constraints -> Solving Puzzle Grid Tags: restriction, sicstus-prolog, prolog, constraints Problem: Prolog Constraints -> Solving Puzzle Grid So guys, I'm learning constraints with prolog, and trying to implement a little puzzle using this new ...
Prolog Constraints -> Solving Puzzle Grid Prolog Constraints -> Solving Puzzle Grid restriction sicstus-prolog prolog constraints Prolog Constraints Solving Puzzle Grid TopConstraint RightConstraint BottomConstraint LeftConstraint put_restrictions Sol Gridsize SumT SumR SumB SumL put_restrictions_row put_restrict...
[ -0.00933837890625, -0.0223388671875, 0.0235595703125, 0.01123046875, -0.004547119140625, -0.00634765625, -0.0230712890625, 0.01177978515625, -0.004913330078125, -0.030517578125, -0.01080322265625, 0.01171875, -0.00433349609375, -0.004150390625, -0.005828857421875, 0.0247802734375, -0...
[ 1250, 4867, 1657, 2816, 4288, 5386, 6678, 6496, 179277, 31945, 71, 185190, 26536, 18253, 3454, 502, 158, 4792, 90911, 23674, 5928, 11935, 2480, 3884, 107, 144225, 62539, 36335, 618, 571, 866, 15555, 8447, 23415, 13739, 102047, 52681, 2046, ...
[ 0.177001953125, 0.266845703125, 0.1090087890625, 0.2166748046875, 0.185546875, 0.07489013671875, 0.12255859375, 0.0697021484375, 0.18505859375, 0.1883544921875, 0.06494140625, 0.23779296875, 0.0220184326171875, 0.185546875, 0.080078125, 0.144287109375, 0.1236572265625, 0.1286621093...
embed
61033580_c0
61033580
prolog
0
Title: Tau-Prolog Interpreter shows different behaviour than SWI-Prolog Problem title: Tau-Prolog Interpreter shows different behaviour than SWI-Prolog Tags: javascript, prolog, tau-prolog Problem: Tau-Prolog Interpreter shows different behaviour than SWI-Prolog I'm currently trying to implement some basic Prolog queri...
Tau-Prolog Interpreter shows different behaviour than SWI-Prolog Tau-Prolog Interpreter shows different behaviour than SWI-Prolog javascript prolog tau-prolog Tau-Prolog Interpreter SWI-Prolog pl.create Roboter1 Roboter2 Roboter3 Roboter4 Roboter5 start_query_RwB query_RwB Interface Name sub_string code_pl database.con...
[ 0.01422119140625, 0.009521484375, 0.0036773681640625, 0.0223388671875, -0.015625, -0.0010833740234375, 0.011474609375, -0.0026702880859375, 0.00927734375, -0.048583984375, 0.004608154296875, -0.0036163330078125, -0.017578125, -0.005706787109375, 0.0022735595703125, 0.0150146484375, 0...
[ 21139, 9, 10752, 4867, 5337, 56359, 56, 45831, 12921, 224833, 3501, 159, 38969, 136951, 502, 5705, 3454, 6456, 7612, 66349, 418, 304, 363, 617, 758, 4034, 944, 434, 571, 41, 220237, 15757, 1614, 91693, 18151, 2424, 63399, 2271, 4460, 5600...
[ 0.27978515625, 0.0699462890625, 0.1920166015625, 0.2337646484375, 0.18701171875, 0.2467041015625, 0.143310546875, 0.111083984375, 0.1739501953125, 0.2205810546875, 0.08203125, 0.051849365234375, 0.2254638671875, 0.1346435546875, 0.1199951171875, 0.15966796875, 0.1046142578125, 0.13...
embed
35931670_c0
35931670
prolog
0
Title: Prolog - print true or false in print_solution write method Problem title: Prolog - print true or false in print_solution write method Tags: prolog Problem: Prolog - print true or false in print_solution write method I want to print true or false based on some predicate predicate passing. For example, in Greek m...
Prolog - print true or false in print_solution write method Prolog - print true or false in print_solution write method prolog Prolog print_solution greek_mythology.pl Athena Poseidon ERROR greek_mythology.pl:164:17 Syntax Operator _G3320 is_list Prolog - print true or false in print_solution write method I want to pri...
[ -0.007080078125, 0.01129150390625, 0.0146484375, 0.01275634765625, -0.012939453125, 0.0277099609375, -0.00274658203125, -0.0225830078125, -0.004791259765625, 0.004119873046875, 0.006683349609375, -0.01312255859375, 0.0024566650390625, -0.0108642578125, -0.00090789794921875, 0.019653320...
[ 1250, 4867, 28412, 29568, 707, 98320, 23, 166589, 33022, 55300, 502, 3514, 1176, 927, 25443, 2424, 94100, 11, 663, 24706, 191, 151206, 24638, 154019, 22950, 19010, 150922, 724, 9185, 1549, 83, 6562, 454, 3444, 35509, 1653, 2063, 452, 160600...
[ 0.18212890625, 0.2392578125, 0.2293701171875, 0.246826171875, 0.138427734375, 0.2802734375, 0.060302734375, 0.2288818359375, 0.1923828125, 0.144287109375, 0.1221923828125, 0.08447265625, 0.0484619140625, 0.0770263671875, 0.044219970703125, 0.028228759765625, 0.2142333984375, 0.1770...
embed
62329257_c0
62329257
prolog
0
Title: Evaluate a string term in prolog Problem title: Evaluate a string term in prolog Tags: json, prolog, swi-prolog-for-sharing, swi-prolog Problem: Evaluate a string term in prolog I'm trying to create a prolog program which receives the queries to run as strings (via json) and then print the result (succeed or fai...
Evaluate a string term in prolog Evaluate a string term in prolog json prolog swi-prolog-for-sharing swi-prolog call Evaluate use_module with_albert does_alice_dance When with_alice does_albert_dance low_appetite Request Facts atomic_list_concat Atom atom_to_term Term Bindings Sandbox Could Arithmetic Evaluate a string...
[ 0.0126953125, 0.0201416015625, 0.004119873046875, 0.030517578125, -0.01116943359375, 0.0001621246337890625, 0.01531982421875, 0.0145263671875, -0.01324462890625, -0.045654296875, 0.00921630859375, 0.01348876953125, -0.01190185546875, -0.01483154296875, 0.00933837890625, -0.002624511718...
[ 151228, 67, 79315, 13579, 23, 502, 4867, 1647, 1681, 2452, 3454, 2420, 2852, 11782, 4527, 83279, 678, 16466, 13348, 549, 289, 329, 27226, 58134, 1486, 75616, 132640, 34627, 6562, 4460, 69728, 188, 32166, 2994, 33770, 11728, 191147, 8962, 28...
[ 0.254150390625, 0.06591796875, 0.267333984375, 0.2685546875, 0.0386962890625, 0.1590576171875, 0.25244140625, 0.042816162109375, 0.140869140625, 0.138427734375, 0.1121826171875, 0.0887451171875, 0.050262451171875, 0.14013671875, 0.0655517578125, 0.09716796875, 0.06317138671875, 0.1...
embed
47951732_c1
47951732
prolog
1
Size is Size *2, mergeOneTree(binomialQueueNode(DoubleSize, Data, Priority, Concatenation), Tail, Result), !. mergeOneTree(Tree, [Head|Tail], Result) :- Tree = binomialQueueNode(Size, _, Priority, _), Head = binomialQueueNode(Size, Head_Data, Head_Priority, Head_Subtree_Content-Head_Subtree_Indeterminate), Priority >= ...
Size is Size *2, mergeOneTree(binomialQueueNode(DoubleSize, Data, Priority, Concatenation), Tail, Result), !. mergeOneTree(Tree, [Head|Tail], Result) :- Tree = binomialQueueNode(Size, _, Priority, _), Head = binomialQueueNode(Size, Head_Data, Head_Priority, Head_Subtree_Content-Head_Subtree_Indeterminate), Priority >= ...
[ 0.0179443359375, 0.0069580078125, 0.01336669921875, -0.0027618408203125, 0.003448486328125, 0.0174560546875, -0.03076171875, -0.0289306640625, 0.018798828125, -0.00170135498046875, 0.004302978515625, 0.01611328125, 0.007171630859375, -0.01080322265625, 0.019287109375, -0.01287841796875...
[ 80378, 83, 661, 304, 42564, 62068, 62731, 13, 132, 63885, 266, 289, 41732, 13388, 5021, 112, 34, 2661, 127167, 11809, 168857, 53, 1657, 4460, 33, 1218, 379, 126684, 711, 5, 13025, 712, 58745, 9874, 15772, 101344, 333, 1687, 15403, 44816, ...
[ 0.30126953125, 0.2071533203125, 0.0682373046875, 0.111083984375, 0.283447265625, 0.18408203125, 0.263671875, 0.0899658203125, 0.002685546875, 0.13818359375, 0.1085205078125, 0.04144287109375, 0.0980224609375, 0.07403564453125, 0.1363525390625, 0.03350830078125, 0.046356201171875, 0...
embed
43390782_c0
43390782
prolog
0
Title: Prolog: critical section, backtracking, error handling Problem title: Prolog: critical section, backtracking, error handling Tags: prolog, swi-prolog Problem: Prolog: critical section, backtracking, error handling I'm trying to write a critical section guarded by a mutex in SWI-Prolog and have been looking at us...
Prolog: critical section, backtracking, error handling Prolog: critical section, backtracking, error handling prolog swi-prolog Prolog setup_call_cleanup setup_call_catcher_cleanup mutex_lock Step1 Step2 Step3 mutex_unlock nb_setval setup_nb_call_cleanup Prolog: critical section, backtracking, error handling I'm trying...
[ -0.0159912109375, 0.017333984375, 0.0201416015625, -0.027099609375, 0.006622314453125, 0.005462646484375, 0.0169677734375, -0.010498046875, 0.0177001953125, -0.0218505859375, -0.00897216796875, 0.02880859375, 0.00439453125, 0.0118408203125, 0.03466796875, 0.01251220703125, 0.00500488...
[ 1250, 4867, 130306, 40059, 4420, 125728, 214, 18499, 45064, 502, 2452, 3454, 169581, 85763, 11030, 66, 2037, 4460, 5372, 842, 24371, 21135, 50478, 418, 304, 363, 653, 275, 3509, 1405, 33022, 56050, 159, 38969, 10752, 18113, 17357, 2967, 759...
[ 0.1668701171875, 0.224365234375, 0.2113037109375, 0.2078857421875, 0.1722412109375, 0.2469482421875, 0.0772705078125, 0.165771484375, 0.1807861328125, 0.1038818359375, 0.1446533203125, 0.1236572265625, 0.15087890625, 0.1097412109375, 0.1202392578125, 0.042327880859375, 0.12890625, ...
embed
18696125_c0
18696125
prolog
0
Title: Prolog: How to capture the whole result of term or pattern matching Problem title: Prolog: How to capture the whole result of term or pattern matching Tags: pattern-matching, prolog Problem: Prolog: How to capture the whole result of term or pattern matching In Erlang and Haskell there is way to capture the whol...
Prolog: How to capture the whole result of term or pattern matching Prolog: How to capture the whole result of term or pattern matching pattern-matching prolog Prolog How match_list Prolog: How to capture the whole result of term or pattern matching In Erlang and Haskell there is way to capture the whole pattern match....
[ 0.019287109375, 0.01055908203125, -0.00153350830078125, 0.011962890625, -0.0181884765625, -0.01165771484375, -0.00174713134765625, 0.01141357421875, 0.018798828125, -0.033203125, 0.017578125, 0.00201416015625, -0.015380859375, 0.0091552734375, 0.0213623046875, 0.006561279296875, -0.0...
[ 1250, 4867, 11249, 141621, 28271, 16750, 13579, 707, 103510, 14858, 214, 98753, 502, 6562, 1004, 3066, 136, 20625, 142508, 3917, 16940, 2046, 15490, 122905, 3535, 86869, 11737, 66211, 5915, 14449, 25653, 58735, 15824, 195, 139539, 617, 119794, ...
[ 0.171630859375, 0.25634765625, 0.0281219482421875, 0.2103271484375, 0.1934814453125, 0.1845703125, 0.2093505859375, 0.032196044921875, 0.224853515625, 0.239501953125, 0.03717041015625, 0.2098388671875, 0.128662109375, 0.1964111328125, 0.08990478515625, 0.2449951171875, 0.010131835937...
embed
75955001_c0
75955001
prolog
0
Title: How can i access a knowledge base in swipl using python? Problem title: How can i access a knowledge base in swipl using python? Tags: prolog, python-3.11, swi-prolog Problem: How can i access a knowledge base in swipl using python? I'm using PySWIP version 0.2.10, SWI-Prolog 9.0.4 for x86_64-darwin, and Python ...
How can i access a knowledge base in swipl using python? How can i access a knowledge base in swipl using python? prolog python-3.11 swi-prolog python Fahrenheit sys pyswip Prolog How Facts Regular Covid covid_symptom shortness_of_breath loss_of_taste_or_smell Kraken XBB.1.5 kraken_symptom intense_headache chest_pain s...
[ 0.0390625, 0.00640869140625, 0.0026702880859375, 0.013671875, 0.0029449462890625, 0.00775146484375, -0.006561279296875, 0.00274658203125, -0.01068115234375, -0.046875, 0.02880859375, 0.00811767578125, -0.002899169921875, -0.002716064453125, -0.00543212890625, -0.004425048828125, 0.02...
[ 11249, 831, 17, 17203, 51359, 3647, 23, 91, 2452, 2424, 17368, 17198, 50828, 10, 502, 4867, 8316, 1662, 3454, 52868, 16587, 954, 57756, 254, 1250, 132640, 47881, 1311, 5518, 552, 2676, 16610, 4134, 86669, 1073, 748, 85989, 341, 65584, 119...
[ 0.013153076171875, 0.045745849609375, 0.033782958984375, 0.188720703125, 0.204833984375, 0.2236328125, 0.020751953125, 0.052886962890625, 0.2147216796875, 0.24560546875, 0.0869140625, 0.1409912109375, 0.16943359375, 0.005340576171875, 0.10491943359375, 0.2095947265625, 0.042236328125...
embed
17843333_c0
17843333
prolog
0
Title: Satisfying as many constraints as possible in prolog Problem title: Satisfying as many constraints as possible in prolog Tags: prolog Problem: Satisfying as many constraints as possible in prolog I am trying to satisfy as many constraints as possible given by a user. Code: findall(Option, execute(List, ListItems...
Satisfying as many constraints as possible in prolog Satisfying as many constraints as possible in prolog prolog Satisfying Option List ListItems Gathered Rest Pref Answer Backup execute_combinations Combinations Pref_Airlines Pref_Timings Pref_Stops Start FlightNo satisfy_airline satisfy_time satisfy_stops satisfy_ Sa...
[ 0.0015869140625, 0.0003757476806640625, 0.0101318359375, 0.0140380859375, -0.0052490234375, 0.01251220703125, -0.006805419921875, -0.007781982421875, 0.005645751953125, -0.006591796875, -0.00897216796875, 0.01104736328125, 0.00531005859375, -0.001739501953125, 0.000926971435546875, -0....
[ 947, 1814, 18929, 237, 5941, 158, 2816, 4288, 7722, 502, 4867, 86769, 32036, 2982, 9319, 49756, 1914, 130373, 201067, 71924, 19155, 106935, 60044, 59801, 420, 152704, 156095, 13794, 189932, 5021, 40407, 7341, 2256, 6032, 19111, 53, 23, 31577,...
[ 0.06793212890625, 0.1375732421875, 0.1353759765625, 0.046173095703125, 0.1383056640625, 0.09344482421875, 0.1744384765625, 0.1248779296875, 0.1524658203125, 0.1583251953125, 0.193603515625, 0.1583251953125, 0.156982421875, 0.115478515625, 0.052978515625, 0.07989501953125, 0.072509765...
embed
78961334_c0
78961334
prolog
0
Title: Understanding prolog \+ and the engine's solution space search Problem title: Understanding prolog \+ and the engine's solution space search Tags: prolog, negation-as-failure, prolog-dif, failure-slice, transitive-closure Problem: Understanding prolog \+ and the engine's solution space search The faste...
Understanding prolog \+ and the engine's solution space search Understanding prolog \+ and the engine's solution space search prolog negation-as-failure prolog-dif failure-slice transitive-closure Understanding Steps Middle Rest not_member Call _46240 Fail Redo _54058 Exit lists:member _54052 _58132 Prolog Un...
[ 0.003631591796875, 0.0091552734375, 0.0213623046875, 0.00958251953125, -0.026611328125, 0.007171630859375, 0.007110595703125, -0.01904296875, 0.00677490234375, -0.03564453125, 0.00225830078125, 0.0174560546875, -0.003753662109375, 0.00946044921875, 0.006317138671875, -0.002426147460937...
[ 9626, 144057, 502, 4867, 41872, 1328, 87907, 3768, 29806, 32628, 33938, 108, 125682, 162, 120540, 428, 420, 137578, 13348, 62621, 5844, 170224, 50478, 102256, 49756, 959, 39, 27417, 26265, 157255, 2839, 190355, 6096, 31, 758, 10057, 5443, 530...
[ 0.05609130859375, 0.052764892578125, 0.156982421875, 0.230224609375, 0.11669921875, 0.204345703125, 0.1708984375, 0.04656982421875, 0.1663818359375, 0.1268310546875, 0.18701171875, 0.1285400390625, 0.08935546875, 0.0718994140625, 0.09454345703125, 0.00494384765625, 0.0280914306640625...
embed
17040949_c0
17040949
prolog
0
Title: Prolog's CLP over Finite Domains library performance Problem title: Prolog's CLP over Finite Domains library performance Tags: prolog, scheduling, swi-prolog, clpfd, performance Problem: Prolog's CLP over Finite Domains library performance I'm programming a task scheduler/planner in Prolog and for that...
Prolog's CLP over Finite Domains library performance Prolog's CLP over Finite Domains library performance prolog scheduling swi-prolog clpfd performance Prolog CLP Finite Domains Non-preemptive Tests Lst Latest Start Point Eet Earliest End D-P R..D E-S When Prolog's CLP over Finite Domains library performance...
[ -0.00830078125, -0.01025390625, 0.001983642578125, 0.001251220703125, -0.0177001953125, -0.02490234375, -0.003082275390625, -0.011962890625, -0.004241943359375, -0.059814453125, 0.0101318359375, 0.010009765625, 0.001617431640625, 0.01031494140625, 0.00811767578125, -0.01220703125, 0....
[ 1250, 4867, 3768, 313, 37352, 645, 13316, 1486, 93702, 35773, 23718, 502, 5094, 15246, 2452, 3454, 33139, 39557, 71, 33548, 8647, 62805, 13794, 41097, 241, 147, 18878, 56037, 66211, 80889, 5868, 58136, 4527, 46323, 41265, 397, 1294, 159, 38...
[ 0.1607666015625, 0.265869140625, 0.041839599609375, 0.0380859375, 0.22705078125, 0.08154296875, 0.1549072265625, 0.1463623046875, 0.188720703125, 0.17041015625, 0.1473388671875, 0.091552734375, 0.1094970703125, 0.177001953125, 0.07354736328125, 0.063720703125, 0.026397705078125, 0....
embed
65173123_c0
65173123
prolog
0
Title: Prolog clause being recalled every time value retrieved from clause is accessed Problem title: Prolog clause being recalled every time value retrieved from clause is accessed Tags: prolog Problem: Prolog clause being recalled every time value retrieved from clause is accessed Please bear with me because I am new...
Prolog clause being recalled every time value retrieved from clause is accessed Prolog clause being recalled every time value retrieved from clause is accessed prolog clause Prolog find_strongest_card CardPile TrumpSuit StrongestCard Reason get_cards_by_suit AllTrumpCardsInCardPile card_is_trump_suit FirstCard Remainin...
[ 0.0057373046875, 0.002593994140625, 0.007598876953125, -0.0030670166015625, -0.00133514404296875, 0.00506591796875, -0.0023345947265625, -0.006622314453125, 0.0233154296875, -0.0208740234375, 0.005615234375, 0.0269775390625, -0.016357421875, -0.0213623046875, 0.024169921875, -0.0125122...
[ 1250, 4867, 70731, 13, 189232, 297, 11907, 1733, 34292, 97351, 17203, 502, 7413, 6639, 449, 525, 38931, 23660, 683, 1340, 5879, 7143, 200537, 156119, 236267, 2046, 1272, 68879, 226584, 20596, 35665, 254, 1832, 1353, 32036, 62775, 56037, 32562...
[ 0.128173828125, 0.204833984375, 0.1585693359375, 0.08367919921875, 0.22021484375, 0.04656982421875, 0.019866943359375, 0.0928955078125, 0.1182861328125, 0.042816162109375, 0.1378173828125, 0.065185546875, 0.076416015625, 0.059722900390625, 0.01434326171875, 0.0721435546875, 0.1945800...
embed
41702732_c0
41702732
prolog
0
Title: How to check for exactly two elements in a Prolog list Problem title: How to check for exactly two elements in a Prolog list Tags: list, prolog Problem: How to check for exactly two elements in a Prolog list % The structure of a musical group takes the form % group(Groupname, Director, Players). % Players is a (...
How to check for exactly two elements in a Prolog list How to check for exactly two elements in a Prolog list list prolog How Prolog Groupname Director Players Initials Surname Years_as_professional Previous_orchestra Instrument vienna_phil dresden_chamber bergen_phil paris_chamber Musicians Initial How to check for ex...
[ -0.00183868408203125, -0.00201416015625, 0.007568359375, 0.0250244140625, -0.00112152099609375, 0.0537109375, -0.02783203125, -0.00543212890625, 0.018310546875, -0.00836181640625, 0.03369140625, 0.01043701171875, 0.0040283203125, -0.0003070831298828125, -0.013427734375, 0.015380859375,...
[ 11249, 47, 12765, 100, 66161, 6626, 80854, 23, 1250, 4867, 5303, 502, 10760, 11627, 31068, 60560, 1890, 8018, 42552, 141532, 6422, 748, 1430, 2816, 73750, 9070, 76, 66847, 130543, 555, 34934, 366, 164, 1436, 26278, 13703, 72004, 10, 31577, ...
[ 0.0692138671875, 0.0160980224609375, 0.2337646484375, 0.161376953125, 0.227783203125, 0.19970703125, 0.2210693359375, 0.07940673828125, 0.176025390625, 0.2626953125, 0.220458984375, 0.1146240234375, 0.1029052734375, 0.1397705078125, 0.1287841796875, 0.111083984375, 0.062225341796875,...
embed
41325535_c0
41325535
prolog
0
Title: STRIPS Planner loops indefinitely Problem title: STRIPS Planner loops indefinitely Tags: prolog, failure-slice Problem: STRIPS Planner loops indefinitely I defined in Prolog a STRIPS Planner to solve logic problems. After a few tryouts with other simpler problems I set out to see if it could solve a more complex...
STRIPS Planner loops indefinitely STRIPS Planner loops indefinitely prolog failure-slice STRIPS Planner PLAN Xf-Xi Yf-Yi PRINT Action Situation Initial Goal AUXILIAR FUNCTIONS EXECUTE Exec nome:H condicoes:C efeitos:E restricoes:R FIND NewN Max Acc NewAcc STRIPS Planner loops indefinitely I defined in Prolog a STRIPS P...
[ -0.0115966796875, -0.00262451171875, -0.0028533935546875, 0.010986328125, -0.0244140625, -0.003387451171875, 0.0003795623779296875, 0.00145721435546875, 0.0213623046875, -0.0400390625, 0.006591796875, 0.040283203125, -0.00665283203125, -0.00830078125, 0.003082275390625, 0.0196533203125...
[ 62353, 9059, 5586, 1679, 40956, 7, 23, 49919, 502, 4867, 137578, 13348, 100514, 1193, 420, 10865, 59537, 57945, 53577, 2016, 289, 71609, 18106, 136258, 16546, 3240, 7766, 841, 158, 55455, 123786, 66206, 67227, 2356, 9920, 29899, 10060, 61924,...
[ 0.2169189453125, 0.1800537109375, 0.255615234375, 0.1546630859375, 0.2222900390625, 0.033172607421875, 0.038665771484375, 0.18017578125, 0.107177734375, 0.170166015625, 0.189453125, 0.10443115234375, 0.1998291015625, 0.008819580078125, 0.0302734375, 0.020263671875, 0.018798828125, ...
embed
9986263_c0
9986263
prolog
0
Title: SWI-Prolog. Check correctness of mathematical expression Problem title: SWI-Prolog. Check correctness of mathematical expression Tags: prolog Problem: SWI-Prolog. Check correctness of mathematical expression I try to check the correctness of student mathematical expression using Prolog (SWI-Prolog). So, for exam...
SWI-Prolog. Check correctness of mathematical expression SWI-Prolog. Check correctness of mathematical expression prolog prev SWI-Prolog Check AExpr BExpr CExpr DExpr Expected SWI-Prolog. Check correctness of mathematical expression I try to check the correctness of student mathematical expression using Prolog (SWI-Pro...
[ 0.009765625, 0.021728515625, -0.0018768310546875, 0.035400390625, -0.002410888671875, 0.0068359375, -0.00457763671875, -0.0032806396484375, 0.00445556640625, -0.0157470703125, 0.027099609375, 0.00653076171875, 0.0087890625, -0.013671875, 0.0159912109375, 0.0118408203125, 0.0280761718...
[ 159, 38969, 9, 10752, 4867, 38679, 26785, 7432, 111, 291, 140363, 70760, 125195, 502, 28468, 62, 19279, 10287, 9622, 425, 1514, 60075, 13, 9790, 12765, 9836, 17368, 1250, 294, 37170, 15190, 17262, 77336, 1022, 113, 136, 97, 79986, 5117, 6...
[ 0.08111572265625, 0.24853515625, 0.0814208984375, 0.172119140625, 0.23583984375, 0.2086181640625, 0.1802978515625, 0.1085205078125, 0.03021240234375, 0.051666259765625, 0.1373291015625, 0.0806884765625, 0.2314453125, 0.1680908203125, 0.0841064453125, 0.057037353515625, 0.072204589843...
embed
70173499_c0
70173499
prolog
0
Title: How can I prevent prolog from backtracking and deleting my list? Problem title: How can I prevent prolog from backtracking and deleting my list? Tags: prolog Problem: How can I prevent prolog from backtracking and deleting my list? I am working on a homework question and I think that I have gotten very close but...
How can I prevent prolog from backtracking and deleting my list? How can I prevent prolog from backtracking and deleting my list? prolog backtracking How Question StartPerson StartTime GoalPerson Goaltime contact4 MetHistory InfectionPath MetTime MidPerson Call ex3:contact _28656 ex3:contact4 Fail Redo ex3:met _32982 _...
[ 0.0029144287109375, 0.0130615234375, 0.0079345703125, 0.0101318359375, -0.0267333984375, -0.01104736328125, -0.0031585693359375, 0.0169677734375, -0.00164031982421875, -0.05908203125, 0.0242919921875, 0.00628662109375, -0.0079345703125, 0.005401611328125, 0.036376953125, 0.016235351562...
[ 11249, 831, 56282, 502, 4867, 1295, 4420, 125728, 214, 24674, 1916, 759, 5303, 68185, 13794, 160054, 70059, 2016, 289, 6032, 5470, 617, 4146, 20861, 86385, 46757, 10519, 23166, 26265, 1119, 363, 163891, 182058, 190355, 6096, 13903, 5443, 217,...
[ 0.045989990234375, 0.03582763671875, 0.251953125, 0.1982421875, 0.251708984375, 0.1114501953125, 0.1531982421875, 0.260986328125, 0.06256103515625, 0.19091796875, 0.050567626953125, 0.08154296875, 0.2081298828125, 0.138671875, 0.1173095703125, 0.1474609375, 0.1536865234375, 0.10668...
embed
20694353_c0
20694353
prolog
0
Title: Prolog Queue of Tuples/Pairs using List without Duplicates Problem title: Prolog Queue of Tuples/Pairs using List without Duplicates Tags: queue, prolog Problem: Prolog Queue of Tuples/Pairs using List without Duplicates I am attempting to implement a queue of tuples/pairs for use with an AI in SWI-Prolog. The g...
Prolog Queue of Tuples/Pairs using List without Duplicates Prolog Queue of Tuples/Pairs using List without Duplicates queue prolog List Prolog Queue Tuples Pairs Duplicates add_to_list_of_dest list_of_dest Stuff Dest Added Duplicate Element Not choose_destination current_pos DestX DestY Choosing Desination Currently Tr...
[ 0.01123046875, 0.0184326171875, 0.0172119140625, 0.00860595703125, -0.005828857421875, 0.0002765655517578125, -0.0015106201171875, -0.010498046875, 0.000946044921875, -0.00433349609375, -0.0196533203125, 0.01312255859375, 0.005340576171875, -0.02001953125, -0.006805419921875, 0.0220947...
[ 1250, 4867, 5813, 13388, 1371, 99726, 64, 8335, 481, 17368, 32036, 15490, 786, 52721, 41, 502, 37897, 15190, 188, 6562, 4390, 18557, 5303, 2907, 21493, 262, 271, 69819, 48325, 11205, 55076, 12729, 43581, 7522, 1542, 1723, 4960, 1596, 114063...
[ 0.166748046875, 0.228515625, 0.2027587890625, 0.1790771484375, 0.140625, 0.2388916015625, 0.044677734375, 0.1484375, 0.1512451171875, 0.061859130859375, 0.1878662109375, 0.1590576171875, 0.131591796875, 0.216064453125, 0.1640625, 0.1085205078125, 0.1424560546875, 0.0849609375, 0....
embed
16845217_c0
16845217
prolog
0
Title: I can't call a parametric SPARQL query from an internal Prolog predicate Problem title: I can't call a parametric SPARQL query from an internal Prolog predicate Tags: sparql, semantic-web, prolog Problem: I can't call a parametric SPARQL query from an internal Prolog predicate I am going crazy with the...
I can't call a parametric SPARQL query from an internal Prolog predicate I can't call a parametric SPARQL query from an internal Prolog predicate sparql semantic-web prolog an SPARQL Prolog Place Query Row e.g Rome atomic_list_concat COUNT dbpedia-owl:Place rdfs:label sparql_query dbpedia.org Roma www.w3.org ...
[ -0.006103515625, 0.0218505859375, -0.01068115234375, 0.01123046875, -0.00360107421875, 0.005828857421875, 0.0224609375, -0.01544189453125, 0.003326416015625, -0.049072265625, 0.0089111328125, 0.00115966796875, -0.0029144287109375, -0.004974365234375, 0.0003108978271484375, -0.003967285...
[ 831, 3768, 18, 11782, 121, 186518, 60436, 2737, 866, 41, 1294, 70796, 1250, 4867, 1653, 2063, 159, 1295, 27148, 99247, 484, 14051, 502, 41076, 58836, 96190, 51651, 34627, 6562, 2271, 4460, 40041, 76994, 27751, 143, 17447, 152526, 944, 1478,...
[ 0.0927734375, 0.06121826171875, 0.05096435546875, 0.1663818359375, 0.1182861328125, 0.2125244140625, 0.1536865234375, 0.1673583984375, 0.157958984375, 0.15625, 0.1116943359375, 0.17626953125, 0.138671875, 0.2181396484375, 0.1671142578125, 0.1702880859375, 0.00189208984375, 0.035308...
embed
55170614_c0
55170614
prolog
0
Title: SWI-Prolog: How to stop the predicate when the list is empty? (predicate included) Problem title: SWI-Prolog: How to stop the predicate when the list is empty? (predicate included) Tags: recursion, prolog, predicate, list, backtracking Problem: SWI-Prolog: How to stop the predicate when the list is empty? (predi...
SWI-Prolog: How to stop the predicate when the list is empty? (predicate included) SWI-Prolog: How to stop the predicate when the list is empty? (predicate included) recursion prolog predicate list backtracking SWI-Prolog How cmput325 cmput175 cmput201 cmput204 can_take List pre2 SWI-Prolog: How to stop the predicate w...
[ 0.004852294921875, 0.02001953125, 0.0169677734375, 0.0167236328125, -0.00775146484375, 0.006439208984375, -0.006195068359375, -0.00019168853759765625, 0.0216064453125, -0.038818359375, 0.00921630859375, 0.01300048828125, -0.01190185546875, 0.003753662109375, 0.01300048828125, -0.000019...
[ 159, 38969, 10752, 4867, 11249, 7279, 1653, 2063, 67, 3229, 5303, 83, 201505, 19714, 195625, 1830, 502, 4420, 125728, 1827, 7077, 363, 2588, 121670, 123885, 147758, 831, 78219, 32036, 479, 304, 99201, 3871, 33022, 3525, 155455, 339, 132073, ...
[ 0.02313232421875, 0.18701171875, 0.1070556640625, 0.141845703125, 0.04559326171875, 0.225341796875, 0.1827392578125, 0.223388671875, 0.1243896484375, 0.09765625, 0.22705078125, 0.049530029296875, 0.25146484375, 0.1160888671875, 0.1260986328125, 0.009246826171875, 0.10791015625, 0.1...
embed
33599781_c0
33599781
prolog
0
Title: Prolog program depth first search program error Problem title: Prolog program depth first search program error Tags: state-space, prolog Problem: Prolog program depth first search program error So I am trying to solve the following problem using depth first search approach using prolog Consider the following pro...
Prolog program depth first search program error Prolog program depth first search program error state-space prolog large Medium Small Prolog empty_stack member_stack Start Goal Empty_been_list Been_list Current reverse_print_stack State Next New_been_list Rest Pour NewLarge NewMedium Diff NewSmall Prolog program depth ...
[ 0.013671875, 0.01611328125, 0.006500244140625, 0.0216064453125, -0.0159912109375, 0.0010223388671875, -0.0302734375, 0.0081787109375, 0.0035858154296875, -0.0194091796875, 0.0245361328125, -0.0029754638671875, 0.0078125, -0.00579833984375, 0.012939453125, 0.003143310546875, 0.0019378...
[ 1250, 4867, 1528, 168867, 5117, 33938, 18499, 11341, 65421, 502, 21334, 174413, 105508, 201505, 590, 2594, 32786, 13794, 2016, 289, 31678, 939, 372, 33, 6562, 873, 114063, 39531, 184, 35662, 22836, 4997, 2356, 49756, 5547, 27616, 6696, 28483,...
[ 0.180908203125, 0.2548828125, 0.191650390625, 0.2493896484375, 0.179443359375, 0.2003173828125, 0.228271484375, 0.1646728515625, 0.150390625, 0.154296875, 0.05224609375, 0.09088134765625, 0.078125, 0.1260986328125, 0.09393310546875, 0.071533203125, 0.1552734375, 0.12255859375, 0....
embed
63675306_c0
63675306
prolog
0
Title: Having touble installing SWI-Prolog on Linux Problem title: Having touble installing SWI-Prolog on Linux Tags: swi-prolog, prolog, installation Problem: Having touble installing SWI-Prolog on Linux I am following the installation instructions from SWI-Prolog's site. I am on a Linux machine. First I git-clone the...
Having touble installing SWI-Prolog on Linux Having touble installing SWI-Prolog on Linux swi-prolog prolog installation Having SWI-Prolog Linux DCMAKE_INSTALL_PREFIX install_under Ninja Total Test FAILED swipl:xsb nonmt_tests Errors CTest Install RelWithDebInfo Set x86_64-linux libswipl.so.8.3.6 CMake Error cmake_inst...
[ 0.01177978515625, -0.0035552978515625, 0.0115966796875, -0.00830078125, -0.0247802734375, -0.008544921875, 0.0004177093505859375, -0.020751953125, -0.0037841796875, 0.019775390625, 0.010498046875, -0.023681640625, -0.0108642578125, 0.001922607421875, -0.0106201171875, 0.00830078125, ...
[ 171855, 47, 34, 2661, 20600, 159, 38969, 9, 10752, 4867, 98, 29908, 91, 2452, 3454, 502, 59720, 391, 36498, 119960, 30487, 94632, 919, 24658, 127438, 33867, 8647, 563, 11388, 2424, 275, 351, 18, 6954, 212059, 313, 111337, 107951, 141, 194...
[ 0.1055908203125, 0.10760498046875, 0.10467529296875, 0.1888427734375, 0.1346435546875, 0.072509765625, 0.2529296875, 0.02288818359375, 0.1363525390625, 0.2042236328125, 0.032257080078125, 0.1959228515625, 0.016510009765625, 0.21875, 0.09814453125, 0.109619140625, 0.0953369140625, 0...
embed
56839868_c0
56839868
prolog
0
Title: Prolog: compare three lists, 1st element of list1 to last element of list2 AND second to last element of list3 Problem title: Prolog: compare three lists, 1st element of list1 to last element of list2 AND second to last element of list3 Tags: prolog Problem: Prolog: compare three lists, 1st element of list1 to l...
Prolog: compare three lists, 1st element of list1 to last element of list2 AND second to last element of list3 Prolog: compare three lists, 1st element of list1 to last element of list2 AND second to last element of list3 prolog Prolog list1 list2 list3 HeadList1 RestList1 HeadList2 RestList2 RestList3 HeadList3 Prolog...
[ 0.008056640625, 0.005859375, -0.01263427734375, 0.00165557861328125, -0.0155029296875, 0.01068115234375, 0.00457763671875, 0.01226806640625, 0.00634765625, 0.0081787109375, 0.01483154296875, -0.000759124755859375, 0.01031494140625, -0.000453948974609375, 0.007476806640625, -0.002182006...
[ 1250, 4867, 69101, 17262, 5303, 12830, 47, 4568, 304, 17932, 363, 271, 502, 44816, 154663, 49756, 418, 48762, 10514, 47510, 1528, 5423, 1653, 2063, 29479, 32354, 83324, 5117, 5701, 50960, 26265, 5201, 32036, 21320, 84797, 18151, 6626, 27289, ...
[ 0.1517333984375, 0.2052001953125, 0.2255859375, 0.15087890625, 0.205810546875, 0.1123046875, 0.00653076171875, 0.1468505859375, 0.09271240234375, 0.071533203125, 0.083251953125, 0.02557373046875, 0.09429931640625, 0.0841064453125, 0.1285400390625, 0.044647216796875, 0.0501708984375, ...
embed
60387784_c0
60387784
prolog
0
Title: Solving a puzzle in Prolog about time constraints Problem title: Solving a puzzle in Prolog about time constraints Tags: program-slicing, prolog, zebra-puzzle Problem: Solving a puzzle in Prolog about time constraints Stuck on a Prolog problem. I know the answer (because I did it on paper first), but I cannot fi...
Solving a puzzle in Prolog about time constraints Solving a puzzle in Prolog about time constraints program-slicing prolog zebra-puzzle Solving Prolog before_in_week Days nth1 print_solve Head Tail day1 fruit1 nut1 day2 fruit2 nut2 day3 fruit3 nut3 day4 fruit4 nut4 day5 fruit5 nut5 Fruits Nuts Solving a puzzle in Prolo...
[ 0.0036163330078125, 0.00445556640625, 0.0238037109375, 0.0272216796875, -0.0322265625, 0.01483154296875, -0.03125, -0.003265380859375, 0.0042724609375, -0.0179443359375, -0.00384521484375, 0.020263671875, -0.01220703125, -0.010498046875, -0.0032958984375, 0.0213623046875, 0.009765625...
[ 6678, 6496, 104192, 1250, 4867, 1672, 1733, 158, 2816, 4288, 1528, 9120, 214, 502, 116232, 1766, 13894, 8108, 73, 47477, 97292, 927, 418, 28412, 86918, 44816, 1218, 379, 5155, 41896, 54806, 363, 758, 151958, 1429, 26085, 2967, 3714, 35166, ...
[ 0.119140625, 0.033538818359375, 0.1922607421875, 0.1688232421875, 0.2418212890625, 0.0560302734375, 0.1456298828125, 0.083984375, 0.1536865234375, 0.0947265625, 0.0966796875, 0.1173095703125, 0.0285797119140625, 0.1201171875, 0.1827392578125, 0.07049560546875, 0.09136962890625, 0.1...
embed
59828754_c0
59828754
prolog
0
Title: Can I make Prolog's "format/x" family behave leniently? Problem title: Can I make Prolog's "format/x" family behave leniently? Tags: printing, formatting, prolog Problem: Can I make Prolog's "format/x" family behave leniently? We try this in SWI Prolog (to be precise: SWI-Prolog (th...
Can I make Prolog's "format/x" family behave leniently? Can I make Prolog's "format/x" family behave leniently? printing formatting prolog java.util.MissingFormatArgumentException java.util org.slf4j.Logger org.slf4j.LoggerFactory org.stringtemplate.v4 Can Prolog SWI-Prolog gc4fb81227 Hell...
[ -0.0000762939453125, 0.014404296875, 0.01373291015625, 0.00958251953125, -0.005767822265625, -0.0062255859375, 0.0230712890625, 0.0147705078125, 0.0133056640625, 0.0220947265625, 0.010986328125, -0.0223388671875, -0.0263671875, -0.0242919921875, 0.023193359375, -0.00860595703125, 0.0...
[ 4171, 87, 3249, 1250, 4867, 3768, 51727, 64, 425, 41502, 14449, 186, 68991, 3098, 18750, 538, 2448, 1916, 9384, 502, 79, 330, 3675, 135261, 214, 102973, 7614, 1234, 63928, 30910, 17463, 617, 170, 113972, 1505, 135518, 91693, 2982, 92558, ...
[ 0.09808349609375, 0.00103759765625, 0.04998779296875, 0.151611328125, 0.229736328125, 0.132080078125, 0.230224609375, 0.109619140625, 0.1964111328125, 0.0086669921875, 0.140869140625, 0.0198516845703125, 0.1280517578125, 0.1434326171875, 0.14111328125, 0.0195159912109375, 0.070434570...
embed
61739937_c0
61739937
prolog
0
Title: How to integrate Prolog within a Web application? Problem title: How to integrate Prolog within a Web application? Tags: prolog Problem: How to integrate Prolog within a Web application? I want to write a Web application for which I think Prolog would be interesting to apply rules and solve constraints. Let's sa...
How to integrate Prolog within a Web application? How to integrate Prolog within a Web application? prolog How Prolog Web movie_genre likes_genres suggest_movie Movie How to integrate Prolog within a Web application? I want to write a Web application for which I think Prolog would be interesting to apply rules and solv...
[ 0.022705078125, 0.0155029296875, 0.0125732421875, 0.010009765625, -0.01190185546875, 0.03271484375, 0.0001926422119140625, -0.01007080078125, -0.00104522705078125, -0.0673828125, 0.0035858154296875, 0.01483154296875, -0.0146484375, 0.00086212158203125, 0.01287841796875, -0.007293701171...
[ 11249, 47, 78779, 13, 1250, 4867, 28032, 4002, 38415, 32, 502, 14277, 1409, 107, 1884, 7, 2109, 42459, 136036, 10348, 3444, 33022, 5351, 2806, 49041, 59911, 91736, 86869, 2816, 67330, 214, 72304, 38937, 35509, 205537, 997, 7964, 91582, 1147...
[ 0.123291015625, 0.0257720947265625, 0.26171875, 0.116455078125, 0.251708984375, 0.34521484375, 0.17822265625, 0.1644287109375, 0.2293701171875, 0.000396728515625, 0.1806640625, 0.1390380859375, 0.1524658203125, 0.09429931640625, 0.191162109375, 0.047393798828125, 0.1124267578125, 0...
embed
38959798_c0
38959798
prolog
0
Title: SWI Prolog Java jpl.PrologException Query not working Problem title: SWI Prolog Java jpl.PrologException Query not working Tags: prolog, jpl, java Problem: SWI Prolog Java jpl.PrologException Query not working I have two Prolog files. Clauses and Rules as follows: clauses.pl get(mary,milk). go(sandra,kitchen,1)....
SWI Prolog Java jpl.PrologException Query not working SWI Prolog Java jpl.PrologException Query not working prolog jpl java jpl.PrologException PrologException IOException the SWI Prolog Java Query File clauses_qa2.pl rules.pl clauseFile.getAbsolutePath ruleFile.getAbsolutePath System.out.println Clause Rule jpl.JPL.in...
[ 0.0308837890625, 0.03173828125, -0.0166015625, 0.01019287109375, -0.01165771484375, 0.006195068359375, 0.001800537109375, 0.0016021728515625, 0.00017642974853515625, -0.03759765625, 0.007598876953125, 0.004638671875, -0.0137939453125, -0.02685546875, 0.012939453125, 0.0052490234375, ...
[ 159, 38969, 1250, 4867, 41925, 1647, 2424, 10752, 19279, 63928, 58836, 959, 20697, 502, 79, 330, 17780, 42724, 70731, 5498, 5442, 91736, 174350, 3794, 98685, 10519, 79986, 12353, 6056, 35662, 100700, 139118, 21130, 84572, 2994, 69728, 8096, 1...
[ 0.0914306640625, 0.2476806640625, 0.1888427734375, 0.22900390625, 0.231201171875, 0.0633544921875, 0.1690673828125, 0.1573486328125, 0.0802001953125, 0.17041015625, 0.2117919921875, 0.0797119140625, 0.1806640625, 0.15625, 0.0657958984375, 0.09942626953125, 0.13330078125, 0.12756347...
embed
16174681_c0
16174681
prolog
0
Title: How to delete the last element from a list in Prolog? Problem title: How to delete the last element from a list in Prolog? Tags: prolog, list Problem: How to delete the last element from a list in Prolog? I am in the following situation: I have a list and I would to delete from it only the last element. I have i...
How to delete the last element from a list in Prolog? How to delete the last element from a list in Prolog? prolog list a How Prolog Only WithoutLast Tail List Call _G396 lists:delete Exit How to delete the last element from a list in Prolog? I am in the following situation: I have a list and I would to delete from it ...
[ -0.001953125, 0.03076171875, -0.00055694580078125, 0.003173828125, 0.006256103515625, -0.000698089599609375, -0.005096435546875, 0.00775146484375, 0.00604248046875, -0.0169677734375, 0.0224609375, -0.0257568359375, -0.00506591796875, -0.000029921531677246094, 0.0185546875, 0.0087890625...
[ 11249, 47, 154109, 4568, 12830, 1295, 5303, 23, 1250, 4867, 502, 87293, 177417, 2729, 271, 1218, 379, 32036, 26265, 363, 11648, 8520, 67, 5443, 217, 2806, 4734, 29479, 79986, 4488, 2967, 11782, 756, 71924, 25632, 63805, 144851, 3647, 7225, ...
[ 0.06719970703125, 0.036651611328125, 0.25927734375, 0.2496337890625, 0.2171630859375, 0.1298828125, 0.2144775390625, 0.06793212890625, 0.1705322265625, 0.2449951171875, 0.1021728515625, 0.041290283203125, 0.154052734375, 0.1934814453125, 0.142822265625, 0.103271484375, 0.106689453125...
embed
36641297_c0
36641297
prolog
0
Title: Something wrong with predicate in prolog-same results for every date Problem title: Something wrong with predicate in prolog-same results for every date Tags: prolog, program-slicing Problem: Something wrong with predicate in prolog-same results for every date I have the below code in Prolog and the problem is t...
Something wrong with predicate in prolog-same results for every date Something wrong with predicate in prolog-same results for every date prolog program-slicing Something Diagnosis There Iron kb_anemia_V4.pl kb_da patient3 DataCom PersData Symptoms FullBloodTest SpecBloodTest ElectricalHb Body UserId check_WBC_PLT chec...
[ 0.020751953125, -0.00872802734375, -0.004302978515625, 0.0133056640625, -0.00604248046875, 0.0133056640625, -0.0089111328125, 0.041015625, 0.018798828125, -0.047607421875, 0.01129150390625, 0.0208740234375, -0.00384521484375, -0.0240478515625, 0.01153564453125, -0.0072021484375, 0.02...
[ 200905, 44691, 678, 1653, 2063, 67, 23, 502, 4867, 40175, 50339, 11907, 5622, 1528, 9120, 128198, 8622, 70599, 51882, 66, 32868, 856, 617, 2424, 85, 37896, 363, 11809, 10770, 908, 137989, 149450, 91841, 111337, 275, 43960, 53400, 12765, 243...
[ 0.109375, 0.17822265625, 0.046905517578125, 0.1900634765625, 0.23388671875, 0.1097412109375, 0.0234222412109375, 0.1781005859375, 0.227783203125, 0.1544189453125, 0.1624755859375, 0.1146240234375, 0.11669921875, 0.10638427734375, 0.06634521484375, 0.1177978515625, 0.08331298828125, ...
embed
45407061_c0
45407061
prolog
0
Title: in Prolog How to Design a set of predicates that encode genealogical relationships Problem title: in Prolog How to Design a set of predicates that encode genealogical relationships Tags: prolog Problem: in Prolog How to Design a set of predicates that encode genealogical relationships I am new in prolog , I need...
in Prolog How to Design a set of predicates that encode genealogical relationships in Prolog How to Design a set of predicates that encode genealogical relationships prolog Prolog How Design Knowledge Base Kid GParent Cousin Parent Here Relative Rela in Prolog How to Design a set of predicates that encode genealogical ...
[ 0.024658203125, 0.003509521484375, 0.0155029296875, 0.004302978515625, -0.00390625, 0.0004558563232421875, -0.0036468505859375, 0.017822265625, 0.006256103515625, -0.0147705078125, 0.01361083984375, -0.0252685546875, -0.010986328125, -0.0096435546875, 0.0230712890625, 0.0250244140625, ...
[ 23, 1250, 4867, 11249, 47, 11724, 5423, 1653, 2063, 1636, 450, 22, 40899, 22293, 11, 137043, 151618, 502, 191428, 44978, 75733, 1744, 18, 1311, 223, 73, 170918, 11853, 231839, 29690, 3525, 4358, 22936, 3642, 4331, 3688, 27781, 2967, 4568 ]
[ 0.08367919921875, 0.16357421875, 0.247314453125, 0.038330078125, 0.015045166015625, 0.26025390625, 0.155517578125, 0.181640625, 0.2196044921875, 0.1373291015625, 0.0143280029296875, 0.0888671875, 0.183349609375, 0.1396484375, 0.060699462890625, 0.113037109375, 0.1912841796875, 0.11...
embed
66146716_c0
66146716
prolog
0
Title: A cross-module "interface" call in SWI-Prolog Problem title: A cross-module "interface" call in SWI-Prolog Tags: module, interface, swi-prolog, prolog Problem: A cross-module "interface" call in SWI-Prolog This may be specific to the SWI Prolog module system. Suppose we have three Prolog modu...
A cross-module "interface" call in SWI-Prolog A cross-module "interface" call in SWI-Prolog module interface swi-prolog prolog robin:toolshed/1 arthur SWI-Prolog robin.pl arthur.pl helper.pl robin:robin robin_hood arthur:arthur helper:helper use_module friar_tuck Masamune Uzi Norinco Sheriff Notting...
[ 0.013916015625, 0.0123291015625, -0.004638671875, 0.01470947265625, -0.00726318359375, 0.0054931640625, 0.0057373046875, -0.00022983551025390625, 0.0035552978515625, -0.035400390625, 0.00043487548828125, 0.0106201171875, -0.03271484375, -0.021484375, 0.03466796875, 0.0037384033203125, ...
[ 41421, 83279, 13, 10433, 40404, 11782, 159, 38969, 9, 10752, 4867, 23, 88996, 101758, 2452, 3454, 502, 18675, 19, 89110, 67175, 11583, 187, 126536, 2424, 4358, 56, 42843, 44462, 147, 73866, 4527, 5129, 458, 19629, 561, 10054, 14, 12876, 7...
[ 0.1697998046875, 0.197998046875, 0.052490234375, 0.1346435546875, 0.18212890625, 0.19580078125, 0.06121826171875, 0.2266845703125, 0.00518798828125, 0.143798828125, 0.2059326171875, 0.026458740234375, 0.1961669921875, 0.22119140625, 0.1630859375, 0.1380615234375, 0.1246337890625, 0...
embed
49036226_c0
49036226
prolog
0
Title: listing command in prolog gives strange 'long' return in SWI-Prolog Problem title: listing command in prolog gives strange 'long' return in SWI-Prolog Tags: swi-prolog, prolog Problem: listing command in prolog gives strange 'long' return in SWI-Prolog when I open SWI-Prolog and I type the co...
listing command in prolog gives strange 'long' return in SWI-Prolog listing command in prolog gives strange 'long' return in SWI-Prolog swi-prolog prolog SWI-Prolog prolog_clause_name prolog_predicate_name library_directory cached_library_directory expand_file_name absolute_file_name thread_local th...
[ 0.028564453125, 0.0184326171875, 0.0140380859375, 0.01007080078125, -0.0166015625, 0.007781982421875, 0.003509521484375, 0.0040283203125, 0.007293701171875, -0.021728515625, 0.005401611328125, 0.009765625, -0.005950927734375, -0.0036163330078125, 0.0269775390625, -0.01214599609375, 0...
[ 5303, 214, 75101, 23, 502, 4867, 76199, 114453, 3768, 10617, 30646, 159, 38969, 10752, 2452, 3454, 18347, 11627, 19714, 2063, 35773, 80581, 82365, 2844, 71062, 89931, 86997, 98908, 74157, 497, 11435, 86250, 128405, 5426, 163812, 190872, 43581, ...
[ 0.2259521484375, 0.1524658203125, 0.2362060546875, 0.009796142578125, 0.163330078125, 0.22021484375, 0.0806884765625, 0.1531982421875, 0.048431396484375, 0.155517578125, 0.2396240234375, 0.0311737060546875, 0.18798828125, 0.1063232421875, 0.13427734375, 0.1224365234375, 0.01345825195...
embed
40608168_c0
40608168
prolog
0
Title: How to check if predicate is always true or always false Problem title: How to check if predicate is always true or always false Tags: prolog Problem: How to check if predicate is always true or always false How can I check that a predicate will be true no matter what a certain variable is, given the other varia...
How to check if predicate is always true or always false How to check if predicate is always true or always false prolog How How to check if predicate is always true or always false How can I check that a predicate will be true no matter what a certain variable is, given the other variable? Or alternatively, that no ma...
[ 0.0047607421875, -0.011962890625, 0.0137939453125, -0.0174560546875, -0.01385498046875, -0.00579833984375, 0.035400390625, -0.009765625, -0.005462646484375, -0.0216064453125, 0.00616455078125, 0.01904296875, -0.009033203125, -0.006256103515625, 0.02490234375, 0.00127410888671875, 0.0...
[ 11249, 47, 12765, 2174, 1653, 2063, 67, 83, 11343, 29568, 707, 98320, 502, 4867, 1221, 186, 110, 26866, 77336, 34475, 3789, 1632, 35782, 5705, 18, 11583, 51, 6489, 919, 563, 25443, 51347, 11736, 214493, 125195, 4527, 143034, 959, 678, 619...
[ 0.034698486328125, 0.01593017578125, 0.193115234375, 0.0955810546875, 0.204833984375, 0.204345703125, 0.1365966796875, 0.03253173828125, 0.17236328125, 0.21044921875, 0.09002685546875, 0.227783203125, 0.0665283203125, 0.09295654296875, 0.039825439453125, 0.0469970703125, 0.0164337158...
embed
56496756_c0
56496756
prolog
0
Title: Prolog, strange answer of setof Problem title: Prolog, strange answer of setof Tags: prolog Problem: Prolog, strange answer of setof I'm using the online compiler https://swish.swi-prolog.org/ Given the next facts: frontier(spain,france). frontier(spain,portugal). frontier(portugal,spain). frontier(france,spain)...
Prolog, strange answer of setof Prolog, strange answer of setof prolog Prolog Country Countries Prolog, strange answer of setof I'm using the online compiler https://swish.swi-prolog.org/ Given the next facts: I would like to obtain all of the countries but without obtain repeated ones. Thus, I use a setof predicate, w...
[ 0.0228271484375, -0.0076904296875, 0.02001953125, 0.00897216796875, -0.01025390625, -0.00592041015625, -0.0167236328125, 0.00982666015625, 0.00390625, -0.037353515625, 0.0096435546875, -0.008544921875, 0.00927734375, -0.0103759765625, -0.01055908203125, -0.00494384765625, 0.004180908...
[ 1250, 4867, 114453, 35166, 111, 5423, 4390, 502, 74831, 108210, 10484, 17368, 1118, 9969, 34759, 114686, 2452, 3454, 1884, 47, 113054, 756, 70, 76726, 1284, 15490, 119140, 64333, 4527, 1653, 2063, 67, 71864, 297, 2967, 71924, 41, 3060, 17, ...
[ 0.175537109375, 0.2415771484375, 0.153076171875, 0.174072265625, 0.0828857421875, 0.1832275390625, 0.2481689453125, 0.136474609375, 0.2135009765625, 0.167236328125, 0.09185791015625, 0.030364990234375, 0.10107421875, 0.1083984375, 0.1143798828125, 0.1649169921875, 0.13232421875, 0....
embed
56138553_c0
56138553
prolog
0
Title: Simple Knights and Knaves Problem in SWI-Prolog Problem title: Simple Knights and Knaves Problem in SWI-Prolog Tags: list, prolog Problem: Simple Knights and Knaves Problem in SWI-Prolog I'm trying to solve the "Knights and Knaves" problem using the generate-and-test method for N number of people so that I can a...
Simple Knights and Knaves Problem in SWI-Prolog Simple Knights and Knaves Problem in SWI-Prolog list prolog Simple Knights Knaves Problem SWI-Prolog find_knaves Head Tail List Number Permutations Statements Results FriendsNumber Condition Simple Knights and Knaves Problem in SWI-Prolog I'm trying to solve the "Knights ...
[ -0.0021514892578125, 0.02587890625, 0.0093994140625, 0.00604248046875, -0.00162506103515625, -0.01300048828125, -0.0142822265625, -0.0078125, 0.019287109375, -0.031005859375, 0.00653076171875, -0.005462646484375, 0.00159454345703125, 0.01165771484375, -0.0030975341796875, 0.00701904296...
[ 60552, 114996, 7, 136, 341, 76, 3132, 15649, 159, 38969, 10752, 4867, 5303, 502, 7413, 48408, 44816, 1218, 379, 32036, 103332, 908, 14311, 22836, 146104, 102517, 18444, 26278, 46347, 86869, 605, 54350, 2967, 139392, 2940, 6954, 55300, 541, ...
[ 0.1973876953125, 0.228515625, 0.0860595703125, 0.2071533203125, 0.08349609375, 0.17919921875, 0.1959228515625, 0.19580078125, 0.07049560546875, 0.2008056640625, 0.13134765625, 0.1630859375, 0.162353515625, 0.12890625, 0.1109619140625, 0.1763916015625, 0.15625, 0.120361328125, 0.0...
embed
78329917_c0
78329917
prolog
0
Title: Need help fixing my prolog code in the interface of my project Problem title: Need help fixing my prolog code in the interface of my project Tags: swi-prolog-for-sharing, swi-prolog, prolog, database Problem: Need help fixing my prolog code in the interface of my project Im building an interface with the objecti...
Need help fixing my prolog code in the interface of my project Need help fixing my prolog code in the interface of my project swi-prolog-for-sharing swi-prolog prolog database Need Derived Condition Simple Prolog new_derived_fact All Concl Cond Rule composed_fact Cond1 Cond2 Both Associating dor_de_cabeca dificuldade_r...
[ 0.047607421875, -0.00311279296875, 0.0074462890625, 0.02880859375, 0.00677490234375, 0.01611328125, -0.021484375, 0.02392578125, 0.01422119140625, -0.06494140625, 0.0101318359375, 0.000835418701171875, -0.0281982421875, -0.0277099609375, 0.00124359130859375, -0.0086669921875, 0.01953...
[ 52889, 4358, 30022, 214, 759, 502, 4867, 18151, 23, 101758, 13452, 91, 2452, 3454, 2420, 2852, 63399, 1310, 4126, 46347, 60552, 1250, 3525, 820, 114700, 3164, 1657, 34937, 71, 139118, 150350, 418, 304, 149766, 159594, 18972, 408, 372, 16527...
[ 0.09716796875, 0.1263427734375, 0.20068359375, 0.007537841796875, 0.058380126953125, 0.214111328125, 0.24365234375, 0.256103515625, 0.052825927734375, 0.2493896484375, 0.152099609375, 0.015716552734375, 0.20849609375, 0.1707763671875, 0.1439208984375, 0.060394287109375, 0.13391113281...
embed
64092046_c0
64092046
prolog
0
Title: Prolog - Recursive append to list returning false Problem title: Prolog - Recursive append to list returning false Tags: prolog Problem: Prolog - Recursive append to list returning false Title says it all, but here we are again. Trying to append recursively to a list in Prolog, and while I have previously gotten...
Prolog - Recursive append to list returning false Prolog - Recursive append to list returning false prolog Prolog Recursive Output NewOutput First Prolog - Recursive append to list returning false Title says it all, but here we are again. Trying to append recursively to a list in Prolog, and while I have previously got...
[ -0.0023040771484375, 0.0264892578125, 0.009033203125, -0.01153564453125, -0.0024871826171875, 0.016845703125, 0.004425048828125, 0.0245361328125, 0.005828857421875, 0.00171661376953125, 0.0181884765625, -0.01007080078125, -0.000652313232421875, 0.01806640625, 0.032958984375, -0.0152587...
[ 1250, 4867, 853, 48650, 5844, 114689, 71, 47, 5303, 30646, 98320, 502, 13538, 2356, 79858, 7077, 23972, 214, 48962, 756, 40858, 195625, 23, 4488, 99736, 373, 18234, 275, 3509, 1405, 3794, 30698, 3642, 161549, 95307, 217064, 43240, 10932, 12...
[ 0.1678466796875, 0.261474609375, 0.06829833984375, 0.2066650390625, 0.1702880859375, 0.2025146484375, 0.1351318359375, 0.1116943359375, 0.201171875, 0.167724609375, 0.2373046875, 0.098388671875, 0.07635498046875, 0.052459716796875, 0.117919921875, 0.0159454345703125, 0.05078125, 0....
embed
43898817_c0
43898817
prolog
0
Title: Prolog - Need help finding a list within various options that satisfies my goal Problem title: Prolog - Need help finding a list within various options that satisfies my goal Tags: prolog Problem: Prolog - Need help finding a list within various options that satisfies my goal Lets say I have a list of lists like...
Prolog - Need help finding a list within various options that satisfies my goal Prolog - Need help finding a list within various options that satisfies my goal prolog Prolog Need List Solution is_solution does_something_here list_relation List1 List2 sublist_relation SubList1 SubList2 element_relation Element1 Element2...
[ -0.0037994384765625, 0.017822265625, 0.0152587890625, -0.0037078857421875, -0.0086669921875, -0.0155029296875, -0.0198974609375, 0.00064849853515625, 0.04345703125, -0.0242919921875, -0.015869140625, 0.0133056640625, 0.0081787109375, 0.01153564453125, 0.004547119140625, 0.0115356445312...
[ 1250, 4867, 52889, 4358, 90791, 5303, 28032, 67842, 50717, 450, 40407, 3387, 759, 69236, 502, 32036, 187895, 83, 166589, 14602, 43452, 64113, 35593, 107, 57860, 418, 304, 1614, 6562, 8273, 154663, 12830, 48325, 20, 1884, 903, 23, 133063, 82...
[ 0.1934814453125, 0.251708984375, 0.1435546875, 0.1468505859375, 0.1376953125, 0.2198486328125, 0.157958984375, 0.1297607421875, 0.23291015625, 0.06060791015625, 0.177490234375, 0.1427001953125, 0.04290771484375, 0.202392578125, 0.171875, 0.2073974609375, 0.17138671875, 0.0920410156...
embed
27505960_c0
27505960
prolog
0
Title: what mistake in this medical diagnosis prolog? Problem title: what mistake in this medical diagnosis prolog? Tags: medical, prolog Problem: what mistake in this medical diagnosis prolog? i am still new about prolog, i have a problem about a simple medical diagnosis program using a prolog, i try to find code abou...
what mistake in this medical diagnosis prolog? what mistake in this medical diagnosis prolog? medical prolog Patient What Disease Sorry Does Reply runny_nose body_ache sore_throat swollen_glands german_measles common_cold chicken_pox what mistake in this medical diagnosis prolog? i am still new about prolog, i have a p...
[ 0.023193359375, -0.00775146484375, 0.0115966796875, 0.015869140625, 0.0078125, 0.0174560546875, -0.01123046875, 0.0247802734375, -0.005340576171875, -0.041015625, 0.015380859375, -0.005096435546875, -0.00921630859375, -0.016357421875, 0.0091552734375, 0.004791259765625, 0.02026367187...
[ 2367, 121742, 23, 903, 29874, 47099, 164, 502, 4867, 135004, 4865, 229200, 90502, 101790, 122813, 11675, 299, 157, 184, 14361, 46994, 127124, 42294, 257, 112141, 8405, 15534, 42712, 282, 162, 1577, 39210, 8447, 143896, 771, 425, 3525, 2967, ...
[ 0.0858154296875, 0.257080078125, 0.114990234375, 0.127197265625, 0.1552734375, 0.171142578125, 0.1134033203125, 0.1749267578125, 0.21728515625, 0.1973876953125, 0.08831787109375, 0.1632080078125, 0.219482421875, 0.06939697265625, 0.171875, 0.08624267578125, 0.158203125, 0.145629882...
embed
13977220_c0
13977220
prolog
0
Title: How to implement list concatenation in Prolog? Problem title: How to implement list concatenation in Prolog? Tags: declarative, prolog Problem: How to implement list concatenation in Prolog? I have the following compact example that take 3 parameter L1, L2, L3 and append L1 and L2 in L3 (verify that L3 is the co...
How to implement list concatenation in Prolog? How to implement list concatenation in Prolog? declarative prolog How Prolog REGOLA Always Recursively Call _G1514 _G1592 _G1593 Exit _G1595 _G1596 How to implement list concatenation in Prolog? I have the following compact example that take 3 parameter L1, L2, L3 and appe...
[ 0.01092529296875, 0.00897216796875, 0.01458740234375, 0.01458740234375, 0.0115966796875, -0.000934600830078125, -0.01708984375, 0.01092529296875, 0.03173828125, -0.0257568359375, 0.0208740234375, -0.01519775390625, -0.0096435546875, -0.002197265625, 0.013671875, 0.0019073486328125, 0...
[ 11249, 29479, 5303, 158, 4460, 33, 2320, 1250, 4867, 23, 21635, 502, 60280, 42797, 203623, 48650, 26265, 1837, 2592, 12231, 11591, 5443, 217, 8821, 11648, 94928, 27781, 138, 171859, 339, 418, 304, 363, 114689, 814, 10461, 18151, 4488, 15824...
[ 0.02862548828125, 0.1968994140625, 0.2183837890625, 0.08056640625, 0.171142578125, 0.146484375, 0.0660400390625, 0.15966796875, 0.24609375, 0.032318115234375, 0.08154296875, 0.0772705078125, 0.1400146484375, 0.1361083984375, 0.08514404296875, 0.126220703125, 0.1409912109375, 0.0605...
embed
19954395_c0
19954395
prolog
0
Title: How to write a subclass statement in Prolog? Problem title: How to write a subclass statement in Prolog? Tags: subclass, prolog, inheritance Problem: How to write a subclass statement in Prolog? Hello everyone this is my first time here :)! I have the following Prolog set of definitions and the only one that isn...
How to write a subclass statement in Prolog? How to write a subclass statement in Prolog? subclass prolog inheritance How Prolog Call _G246 _G366 Exit Fail Redo How to write a subclass statement in Prolog? Hello everyone this is my first time here :)! I have the following Prolog set of definitions and the only one that...
[ 0.01470947265625, 0.0030975341796875, 0.03125, 0.02734375, 0.008056640625, -0.0011138916015625, -0.00225830078125, -0.0027923583984375, -0.0028076171875, -0.01116943359375, -0.007354736328125, -0.00537109375, -0.0064697265625, 0.00518798828125, -0.0015411376953125, 0.006195068359375, ...
[ 11249, 33022, 1614, 67413, 63805, 23, 1250, 4867, 47, 10, 502, 3334, 217, 26265, 724, 2357, 910, 110144, 5443, 190355, 6096, 31, 30309, 25632, 5423, 80934, 4734, 56112, 18, 20697, 8273, 26366, 15400, 140992, 3871, 4966, 2046, 98320, 144851 ...
[ 0.0546875, 0.16943359375, 0.246826171875, 0.289306640625, 0.2138671875, 0.05511474609375, 0.1595458984375, 0.242431640625, 0.014251708984375, 0.0426025390625, 0.1090087890625, 0.072998046875, 0.024627685546875, 0.098876953125, 0.0023193359375, 0.0638427734375, 0.1094970703125, 0.20...
embed
3778941_c1
3778941
prolog
1
noun('multiple_generic_names'). verb('allow'). noun('disease’s_information'). verb('consult'). noun('other_doctors'). verb('maintain'). verb('keep'). noun('different_medicines'). noun('different_prices'). verb('make'). noun('specific_time'). noun('identification_number'). cop('part of', 'be'). dep('doctor within_inves...
noun('multiple_generic_names'). verb('allow'). noun('disease’s_information'). verb('consult'). noun('other_doctors'). verb('maintain'). verb('keep'). noun('different_medicines'). noun('different_prices'). verb('make'). noun('specific_time'). noun('identification_number'). cop('part of', 'be'). dep('doctor within_inves...
[ -0.00107574462890625, 0.00732421875, 0.0069580078125, 0.0240478515625, -0.006866455078125, 0.0125732421875, 0.005096435546875, -0.01531982421875, 0.0211181640625, -0.06103515625, 0.005706787109375, 0.00640869140625, 0.0108642578125, 0.01416015625, -0.005340576171875, 0.00238037109375, ...
[ 110, 309, 132, 25, 144227, 8705, 79446, 1771, 11627, 42792, 11, 41566, 3827, 13, 6991, 31520, 147834, 126340, 29713, 22230, 24931, 25500, 350, 4517, 238778, 114224, 5293, 55898, 159975, 6032, 221160, 2606, 1297, 11757, 17365, 111, 372, 8, 2...
[ 0.1025390625, 0.15185546875, 0.035675048828125, 0.0462646484375, 0.1326904296875, 0.1229248046875, 0.155029296875, 0.0897216796875, 0.19677734375, 0.2166748046875, 0.06915283203125, 0.2269287109375, 0.00738525390625, 0.03857421875, 0.030181884765625, 0.207763671875, 0.235595703125, ...
embed
55412458_c0
55412458
prolog
0
Title: Extracting list of items between two values in a list - prolog Problem title: Extracting list of items between two values in a list - prolog Tags: list, logic, prolog, swi-prolog-for-sharing Problem: Extracting list of items between two values in a list - prolog Say I have a unique list of length 9 of the values...
Extracting list of items between two values in a list - prolog Extracting list of items between two values in a list - prolog list logic prolog swi-prolog-for-sharing Extracting between1and9 List all_distinct Between Extracting list of items between two values in a list - prolog Say I have a unique list of length 9 of ...
[ -0.0096435546875, -0.00537109375, 0.01318359375, 0.00173187255859375, -0.00145721435546875, 0.01904296875, -0.0238037109375, 0.01031494140625, 0.0064697265625, 0.0096435546875, -0.0155029296875, 0.02490234375, 0.000621795654296875, 0.006378173828125, 0.0107421875, 0.0189208984375, 0....
[ 31501, 238, 1916, 5303, 55769, 17721, 6626, 142424, 502, 4867, 62775, 2452, 3454, 2472, 2420, 418, 2940, 1126, 32036, 756, 46295, 38893, 1177, 33, 765, 36998, 140909, 483, 106, 136, 55128, 96759, 12989, 201950, 8932, 38067, 3444, 125663, 16...
[ 0.1815185546875, 0.09368896484375, 0.01953125, 0.2030029296875, 0.15966796875, 0.193603515625, 0.1290283203125, 0.1746826171875, 0.10302734375, 0.174560546875, 0.0810546875, 0.151123046875, 0.07861328125, 0.005218505859375, 0.099853515625, 0.047119140625, 0.13330078125, 0.223022460...
embed
66130847_c0
66130847
prolog
0
Title: Different order of interpretation depending on the context? Problem title: Different order of interpretation depending on the context? Tags: order-of-execution, prolog Problem: Different order of interpretation depending on the context? I have the following rules to convert a structure. cmap(predicate(_,Verb,nam...
Different order of interpretation depending on the context? Different order of interpretation depending on the context? order-of-execution prolog Different Verb next_uid NewVar Subj Reference Item Item-_ Questions _Refs Conds Res DRS Refs Different order of interpretation depending on the context? I have the following ...
[ 0.0012054443359375, -0.0024566650390625, 0.0147705078125, 0.021484375, 0.00445556640625, 0.01239013671875, 0.0002841949462890625, 0.00897216796875, 0.01446533203125, -0.008544921875, 0.011962890625, 0.01611328125, 0.00799560546875, -0.023681640625, 0.01220703125, -0.001129150390625, ...
[ 242520, 12989, 111, 206019, 96819, 98, 43701, 4390, 46480, 1010, 502, 4867, 1446, 275, 11737, 532, 2356, 81827, 8273, 170, 215996, 78426, 68185, 190015, 1657, 6468, 9624, 15396, 53295, 25632, 91736, 96760, 45646, 2967, 1632, 79986, 27117, 707...
[ 0.19189453125, 0.228515625, 0.08935546875, 0.259521484375, 0.1458740234375, 0.0274658203125, 0.222412109375, 0.1414794921875, 0.07275390625, 0.1092529296875, 0.118896484375, 0.2012939453125, 0.169677734375, 0.06976318359375, 0.0853271484375, 0.009429931640625, 0.015838623046875, 0....
embed
10651300_c0
10651300
prolog
0
Title: Remove elements from list less than a value after findall Problem title: Remove elements from list less than a value after findall Tags: prolog, list Problem: Remove elements from list less than a value after findall I have: mymake(Answer_Max):- findall((Place, Cost), costOfLiving(Place, Cost), ResultList), dele...
Remove elements from list less than a value after findall Remove elements from list less than a value after findall prolog list list Remove Answer_Max Place Cost ResultList delete_over Max id_state id_region Remove elements from list less than a value after findall I have: costOfLiving is in my database and is formed b...
[ -0.00104522705078125, 0.007232666015625, 0.005157470703125, 0.003082275390625, 0.00286865234375, 0.008056640625, 0.00177764892578125, 0.00135040283203125, 0.02734375, -0.026123046875, -0.0016326904296875, -0.0089111328125, 0.0004730224609375, -0.0255126953125, 0.004974365234375, -0.019...
[ 181139, 80854, 1295, 5303, 40715, 3501, 34292, 7103, 7413, 5584, 502, 4867, 130373, 71346, 41076, 63099, 126684, 154663, 154109, 5465, 9920, 3447, 61340, 80938, 11034, 132887, 9506, 6496, 63399, 100, 12638, 3687, 83, 1884, 1505, 669, 2101, 95...
[ 0.1444091796875, 0.1719970703125, 0.0777587890625, 0.1846923828125, 0.1827392578125, 0.0943603515625, 0.1656494140625, 0.0894775390625, 0.1507568359375, 0.193603515625, 0.10791015625, 0.1812744140625, 0.179931640625, 0.175048828125, 0.12841796875, 0.1719970703125, 0.1611328125, 0.1...
embed
27306453_c0
27306453
prolog
0
Title: Safer type tests in Prolog Problem title: Safer type tests in Prolog Tags: prolog, iso-prolog Problem: Safer type tests in Prolog ISO-Prolog (ISO/IEC 13211-1:1995 including Cor.1:2007, Cor.2:2012) offers the following built-in predicates for testing the type of a term: 8.3 Type testing 1 var/1. 2 atom/1. 3 integ...
Safer type tests in Prolog Safer type tests in Prolog prolog iso-prolog Safer Prolog instantiation_error Safer type tests in Prolog ISO-Prolog (ISO/IEC 13211-1:1995 including Cor.1:2007, Cor.2:2012) offers the following built-in predicates for testing the type of a term: Within this group there are those whose purpose ...
[ 0.00982666015625, 0.005950927734375, 0.01214599609375, -0.00628662109375, -0.01043701171875, 0.0022125244140625, 0.00164794921875, 0.006134033203125, 0.005126953125, -0.005096435546875, 0.0181884765625, 0.01019287109375, -0.031005859375, -0.00262451171875, 0.0269775390625, 0.0101928710...
[ 947, 2875, 10644, 109921, 1250, 4867, 23, 502, 13882, 3454, 34648, 14, 188800, 17408, 10752, 58230, 126109, 702, 3117, 115727, 69606, 5631, 82825, 23753, 10693, 64600, 88303, 73, 1653, 2063, 134234, 13579, 21115, 60042, 31247, 3034, 24233, 32...
[ 0.125244140625, 0.1826171875, 0.223876953125, 0.2115478515625, 0.1844482421875, 0.2198486328125, 0.03497314453125, 0.1226806640625, 0.074462890625, 0.0999755859375, 0.1380615234375, 0.13525390625, 0.1541748046875, 0.1429443359375, 0.1484375, 0.14208984375, 0.1058349609375, 0.072631...
embed
14021319_c0
14021319
prolog
0
Title: How can I build a graph from a file containing the traffic lines? Problem title: How can I build a graph from a file containing the traffic lines? Tags: graph-theory, list, prolog Problem: How can I build a graph from a file containing the traffic lines? I'm struggling with my project in Prolog. My problem is, g...
How can I build a graph from a file containing the traffic lines? How can I build a graph from a file containing the traffic lines? graph-theory list prolog a How NameOfLine Type ListOfStations find_edge LArret Path Visited How can I build a graph from a file containing the traffic lines? I'm struggling with my project...
[ 0, -0.000347137451171875, 0.006072998046875, 0.01190185546875, -0.0159912109375, 0.006195068359375, -0.0150146484375, 0.01708984375, 0.005767822265625, -0.055908203125, -0.004913330078125, -0.014892578125, -0.0230712890625, 0.003570556640625, 0.00250244140625, 0.01361083984375, 0.012...
[ 11249, 831, 45367, 41382, 1295, 11435, 70541, 214, 70, 83629, 124519, 87, 2347, 30675, 5303, 502, 4867, 10, 15757, 132887, 93232, 60457, 32036, 42378, 7413, 297, 429, 2264, 108421, 98684, 237875, 13452, 23, 1250, 2967, 3173, 13315, 163612, ...
[ 0.052093505859375, 0.05401611328125, 0.1856689453125, 0.26171875, 0.13330078125, 0.2275390625, 0.1087646484375, 0.0709228515625, 0.007598876953125, 0.2425537109375, 0.1890869140625, 0.00250244140625, 0.0157012939453125, 0.0257568359375, 0.04620361328125, 0.068115234375, 0.19506835937...
embed
45225835_c0
45225835
prolog
0
Title: Learn Prolog now: Why answering true to the first query of exercise 1.5? Problem title: Learn Prolog now: Why answering true to the first query of exercise 1.5? Tags: prolog Problem: Learn Prolog now: Why answering true to the first query of exercise 1.5? I have just started learning Prolog, and I'm wondering ab...
Learn Prolog now: Why answering true to the first query of exercise 1.5? Learn Prolog now: Why answering true to the first query of exercise 1.5? prolog Learn Prolog Why Suppose Warning ex15.pl:4 Clauses Earlier ex15.pl:1 Current Use Learn Prolog now: Why answering true to the first query of exercise 1.5? I have just s...
[ 0.0107421875, 0.0166015625, 0.005615234375, 0.014404296875, -0.0146484375, -0.002777099609375, 0.0028533935546875, 0.01025390625, 0.01214599609375, -0.02587890625, 0.00159454345703125, -0.00014591217041015625, -0.0299072265625, 0.0260009765625, 0.004150390625, 0.005401611328125, 0.04...
[ 134031, 1250, 4867, 5036, 44084, 35166, 214, 29568, 47, 5117, 41, 1294, 81979, 22410, 502, 121691, 8364, 5550, 592, 1119, 1837, 2424, 617, 100700, 19721, 114063, 36836, 52080, 9655, 35644, 25632, 148, 14821, 1900, 131519, 9232, 5983, 50491, ...
[ 0.152099609375, 0.203857421875, 0.28173828125, 0.07861328125, 0.16796875, 0.2203369140625, 0.0280303955078125, 0.2471923828125, 0.09613037109375, 0.1351318359375, 0.1605224609375, 0.1396484375, 0.1904296875, 0.20361328125, 0.1058349609375, 0.13818359375, 0.026214599609375, 0.185424...
embed
22577296_c0
22577296
prolog
0
Title: Prolog stuck in Infinite loop using Iterative Deepening Search Problem title: Prolog stuck in Infinite loop using Iterative Deepening Search Tags: prolog, iterative-deepening, depth-first-search Problem: Prolog stuck in Infinite loop using Iterative Deepening Search I am writing a goal searching agent in Prolog....
Prolog stuck in Infinite loop using Iterative Deepening Search Prolog stuck in Infinite loop using Iterative Deepening Search prolog iterative-deepening depth-first-search Iterative Prolog Infinite Deepening Search Type Actions Problem Goal-A-X Y-Depth Goal List A-X Depth Action Sol Maxdepth A1-X1 Max1 Prolog stuck in ...
[ 0.0206298828125, 0.001739501953125, 0.005340576171875, 0.0201416015625, -0.0169677734375, -0.01080322265625, -0.00005841255187988281, -0.0019683837890625, 0.01361083984375, -0.045654296875, 0.025146484375, 0.0037078857421875, -0.0037994384765625, 0.004425048828125, 0.0213623046875, 0.0...
[ 1250, 4867, 179933, 23, 134322, 13, 40956, 17368, 87, 720, 45023, 62723, 33, 33086, 502, 17, 123041, 168867, 13448, 271, 86250, 60457, 57945, 15649, 2016, 289, 284, 1542, 990, 4657, 254, 32036, 62, 262, 6678, 9920, 20268, 418, 214, 32562,...
[ 0.1925048828125, 0.25537109375, 0.2342529296875, 0.10760498046875, 0.1900634765625, 0.096923828125, 0.21826171875, 0.07562255859375, 0.0262603759765625, 0.157958984375, 0.17578125, 0.202880859375, 0.1103515625, 0.218017578125, 0.1378173828125, 0.0148773193359375, 0.1077880859375, 0...
embed
67061653_c0
67061653
prolog
0
Title: Prolog: combined predicate failed Problem title: Prolog: combined predicate failed Tags: predicate, clpfd, prolog Problem: Prolog: combined predicate failed As a beginner, I am trying to solve a matrix problem, in which the solution is either the summation or the multiplication of the distinct digit in the matri...
Prolog: combined predicate failed Prolog: combined predicate failed predicate clpfd prolog Prolog Head Tail get_head_element Rest solve_sum Row RestRow Goal all_distinct List Result Element RestList PrevResult NextResult solve_multiply solve_row_sum_or_multiply HeadRow Matrix Solution Prolog: combined predicate failed ...
[ -0.0242919921875, 0.0067138671875, 0.00823974609375, 0.021484375, -0.025146484375, -0.006195068359375, -0.012939453125, 0.00469970703125, -0.00011539459228515625, -0.0023193359375, -0.002471923828125, 0.00433349609375, 0.006195068359375, -0.00799560546875, -0.0021820068359375, 0.002532...
[ 1250, 4867, 70163, 71, 1653, 2063, 67, 165523, 33139, 39557, 502, 44816, 1218, 379, 2046, 31251, 62766, 49756, 86869, 11832, 96190, 12724, 2016, 756, 38893, 32036, 126684, 48325, 154663, 74717, 7, 7136, 4997, 144227, 62479, 15555, 748, 434, ...
[ 0.1561279296875, 0.2098388671875, 0.228271484375, 0.11572265625, 0.19775390625, 0.2210693359375, 0.069091796875, 0.2392578125, 0.0133056640625, 0.060882568359375, 0.0997314453125, 0.1334228515625, 0.0982666015625, 0.040069580078125, 0.000091552734375, 0.117431640625, 0.1129150390625,...
embed
40825659_c0
40825659
prolog
0
Title: How to assert new data dynamically in Prolog Problem title: How to assert new data dynamically in Prolog Tags: prolog Problem: How to assert new data dynamically in Prolog I have previously define a few facts dynamically as below. % declare dynamic facts :- dynamic title/2. :- dynamic author/2. :- dynamic publis...
How to assert new data dynamically in Prolog How to assert new data dynamically in Prolog prolog How Prolog call_number data_disk book1 Elementary Statistics book2 Engineers book3 Scientists book4 Language Learning Patricia Wilson James Mori Ivan Addison Wesley World Scientific Universal Press QA373 QA673 QA674 QA007 Y...
[ 0.0201416015625, 0.01055908203125, 0.004547119140625, 0.017333984375, 0.0069580078125, 0.00714111328125, -0.01055908203125, 0.019775390625, 0.00142669677734375, -0.0277099609375, -0.00157928466796875, -0.02001953125, -0.0252685546875, -0.021728515625, 0.038818359375, 0.0054931640625, ...
[ 11249, 237, 33657, 3525, 2053, 84079, 25958, 1250, 4867, 23, 502, 11782, 2606, 1297, 37623, 12877, 48325, 126124, 90125, 1314, 45964, 64370, 617, 83658, 114344, 154928, 100708, 5919, 23698, 4293, 210017, 53900, 21072, 72898, 10945, 363, 195192,...
[ 0.05096435546875, 0.1485595703125, 0.277587890625, 0.1971435546875, 0.22119140625, 0.2509765625, 0.1365966796875, 0.1796875, 0.263427734375, 0.06964111328125, 0.1298828125, 0.0946044921875, 0.09033203125, 0.06695556640625, 0.130615234375, 0.180908203125, 0.07489013671875, 0.1077880...
embed
4278921_c0
4278921
prolog
0
Title: creating predicates from facts from a database in prolog from the open street map project Problem title: creating predicates from facts from a database in prolog from the open street map project Tags: shortest-path, prolog Problem: creating predicates from facts from a database in prolog from the open street map...
creating predicates from facts from a database in prolog from the open street map project creating predicates from facts from a database in prolog from the open street map project shortest-path prolog facts a the add_node_to_way WayID NodeID NodeList NewNodeList Option Lat Long creating predicates from facts from a dat...
[ 0.0067138671875, -0.0017547607421875, 0.01116943359375, 0.0198974609375, -0.0115966796875, 0.0238037109375, 0.00604248046875, -0.0115966796875, 0.016357421875, -0.08837890625, -0.00286865234375, -0.0059814453125, -0.0177001953125, -0.01165771484375, 0.00933837890625, 0.0019454956054687...
[ 105233, 1653, 2063, 1636, 1295, 15824, 7, 63399, 502, 4867, 9803, 48800, 22288, 13452, 23, 16610, 525, 128405, 15190, 157, 112, 188, 7514, 42261, 7146, 438, 154663, 2356, 5021, 86769, 75346, 14407, 7026, 62346, 73702, 1528, 31577, 1257, 435...
[ 0.14599609375, 0.195556640625, 0.24462890625, 0.1693115234375, 0.1544189453125, 0.225830078125, 0.095458984375, 0.229736328125, 0.1534423828125, 0.240478515625, 0.156005859375, 0.169677734375, 0.1546630859375, 0.1400146484375, 0.00506591796875, 0.1595458984375, 0.111572265625, 0.17...
embed
5519608_c0
5519608
prolog
0
Title: Flora-2 diamond inheritance Problem title: Flora-2 diamond inheritance Tags: diamond-problem, multiple-inheritance, prolog Problem: Flora-2 diamond inheritance Flora-2 is an eccentric language and I know this is a long shot but I haven't found any active resources devoted to it so I'm trying here. Its so popular...
Flora-2 diamond inheritance Flora-2 diamond inheritance diamond-problem multiple-inheritance prolog Flora-2 o:c1 o:c2 a:c a:d Flora-2 diamond inheritance Flora-2 is an eccentric language and I know this is a long shot but I haven't found any active resources devoted to it so I'm trying here. Its so popular... there is ...
[ 0.0101318359375, -0.004608154296875, -0.01116943359375, 0.0203857421875, -0.0074462890625, 0.0185546875, 0.0167236328125, 0.0281982421875, 0.01263427734375, 0.007415771484375, -0.00151824951171875, 0.007415771484375, -0.01129150390625, 0.0019989013671875, 0.004852294921875, -0.02331542...
[ 107950, 5428, 879, 15882, 3334, 217, 38953, 48716, 502, 4867, 36, 304, 66110, 19, 62233, 46876, 51876, 65514, 31577, 221, 5700, 177261, 5465, 118664, 7909, 22690, 1193, 36474, 1250, 73342, 73, 7154, 91736, 23009, 27781, 7639, 50339, 2565, 1...
[ 0.23291015625, 0.22119140625, 0.065185546875, 0.161376953125, 0.158203125, 0.10186767578125, 0.1470947265625, 0.165771484375, 0.0797119140625, 0.170166015625, 0.01495361328125, 0.1202392578125, 0.048095703125, 0.03302001953125, 0.0643310546875, 0.1890869140625, 0.0418701171875, 0.0...
embed
35732881_c0
35732881
prolog
0
Title: C# Swi-Prolog: how to consult external prolog file in C#? Problem title: C# Swi-Prolog: how to consult external prolog file in C#? Tags: ffi, c%23, prolog, swi-prolog Problem: C# Swi-Prolog: how to consult external prolog file in C#? So far I am able to communicate with prolog with sample code available at prolo...
C# Swi-Prolog: how to consult external prolog file in C#? C# Swi-Prolog: how to consult external prolog file in C#? ffi c%23 prolog swi-prolog System.Exception uwe Swi-Prolog PlEngine.IsInitialized PlEngine.Initialize PlQuery.PlCall PlQuery atomic_list_concat is_father_of PlQueryVariables q.SolutionVariables Console.Wr...
[ 0.032958984375, 0.005859375, -0.006439208984375, 0.00823974609375, -0.02197265625, 0.01025390625, 0.0162353515625, 0.005401611328125, 0.00060272216796875, -0.06982421875, 0.017333984375, -0.000835418701171875, -0.01385498046875, -0.0093994140625, 0.0203857421875, -0.005401611328125, ...
[ 4904, 105432, 9, 10752, 4867, 3642, 75463, 173591, 502, 11435, 23, 313, 24500, 3742, 91, 2452, 3454, 12353, 63928, 36648, 29016, 91384, 1212, 29598, 1890, 40705, 41732, 141, 441, 5584, 34627, 6562, 4460, 1021, 9319, 81827, 14, 19736, 8096, ...
[ 0.220947265625, 0.2288818359375, 0.04034423828125, 0.13427734375, 0.1993408203125, 0.06219482421875, 0.25244140625, 0.1845703125, 0.160888671875, 0.18701171875, 0.0364990234375, 0.060699462890625, 0.103271484375, 0.08837890625, 0.0234832763671875, 0.205322265625, 0.1109619140625, 0...
embed
29329990_c0
29329990
prolog
0
Title: Stop Prolog variables from unifying when having different names Problem title: Stop Prolog variables from unifying when having different names Tags: prolog, unification Problem: Stop Prolog variables from unifying when having different names I'm working on the "monkey and bananas" problem but with 2 boxes instea...
Stop Prolog variables from unifying when having different names Stop Prolog variables from unifying when having different names prolog unification unifying Stop Prolog Call lists:member _G3634 _G3619 Exit Stop Prolog variables from unifying when having different names I'm working on the "monkey and bananas" problem but...
[ 0.014892578125, 0.01220703125, 0.02294921875, -0.0005950927734375, -0.00164794921875, -0.00665283203125, -0.0162353515625, 0.013671875, 0.002593994140625, -0.01416015625, 0.0038604736328125, 0.0140380859375, 0.0150146484375, -0.01287841796875, -0.00701904296875, 0.0030364990234375, 0...
[ 42284, 1250, 4867, 77336, 1295, 51, 151138, 3229, 19441, 12921, 123055, 502, 41274, 26265, 5303, 39, 27417, 159219, 8659, 2947, 5443, 217, 20697, 3796, 19770, 136, 134399, 2967, 116, 16530, 64457, 1632, 39908, 18151, 13695, 169697, 297, 11724...
[ 0.203125, 0.1514892578125, 0.2452392578125, 0.25390625, 0.048614501953125, 0.16162109375, 0.1761474609375, 0.042938232421875, 0.0601806640625, 0.188232421875, 0.175537109375, 0.11865234375, 0.094482421875, 0.122314453125, 0.114013671875, 0.010955810546875, 0.159912109375, 0.1350097...
embed
34239342_c0
34239342
prolog
0
Title: Creating a meeting scheduler Problem title: Creating a meeting scheduler Tags: scheduler, prolog Problem: Creating a meeting scheduler I've been assigned to develop a program in Prolog that schedules meetings using restrictions. Concept There are a number of meetings and for each meeting there is a number of par...
Creating a meeting scheduler Creating a meeting scheduler scheduler prolog Creating Participants Meeting thesis_presentation company_meeting chairman_election Placement Rooms Regular Auditorium Conference Room conference_room Creating a meeting scheduler I've been assigned to develop a program in Prolog that schedules ...
[ 0.00927734375, 0.0032501220703125, -0.0147705078125, -0.0047607421875, -0.008544921875, -0.0250244140625, -0.0101318359375, -0.0091552734375, -0.01068115234375, -0.05078125, -0.003997802734375, 0.00909423828125, 0.0014190673828125, -0.034912109375, 0.0038299560546875, 0.0152587890625, ...
[ 56781, 41714, 80889, 42, 502, 4867, 72239, 16037, 163459, 159688, 55247, 14380, 106252, 669, 41076, 38484, 47881, 148656, 6664, 114732, 108870, 28905, 95486, 85493, 1528, 1250, 17368, 185190, 128182, 14012, 12638, 56480, 17808, 29966, 35829, 9842...
[ 0.1337890625, 0.2071533203125, 0.268310546875, 0.1583251953125, 0.0699462890625, 0.1893310546875, 0.087890625, 0.031097412109375, 0.15673828125, 0.134033203125, 0.049560546875, 0.02996826171875, 0.101806640625, 0.0030517578125, 0.0251007080078125, 0.1131591796875, 0.054107666015625, ...
embed
49339237_c0
49339237
prolog
0
Title: How to add a negation operator to the consequent in propositional Prolog Problem title: How to add a negation operator to the consequent in propositional Prolog Tags: prolog, syntax, negation Problem: How to add a negation operator to the consequent in propositional Prolog I am wondering if perhaps someone would...
How to add a negation operator to the consequent in propositional Prolog How to add a negation operator to the consequent in propositional Prolog prolog syntax negation How Prolog ERROR COMP5307 Assignments assig2 a2q1e1.pl:6 Defined init.pl:337 How to add a negation operator to the consequent in propositional Prolog I...
[ 0.0169677734375, -0.0024566650390625, 0.0234375, 0.0189208984375, -0.015380859375, 0.0016632080078125, -0.002471923828125, 0.00872802734375, -0.01361083984375, -0.025634765625, -0.01348876953125, -0.00787353515625, -0.004608154296875, -0.02099609375, 0.015625, -0.004608154296875, 0.0...
[ 11249, 15190, 10, 108, 125682, 39933, 47, 210435, 89261, 289, 1250, 4867, 502, 6002, 86531, 151206, 61898, 14226, 8368, 31304, 20561, 304, 2424, 910, 5983, 217, 129176, 23, 4358, 2967, 18151, 1528, 81887, 9969, 1340, 38969, 25632, 18499, 13...
[ 0.0279998779296875, 0.1453857421875, 0.0355224609375, 0.1806640625, 0.2054443359375, 0.2464599609375, 0.03985595703125, 0.229248046875, 0.1796875, 0.0946044921875, 0.1302490234375, 0.1763916015625, 0.07135009765625, 0.01947021484375, 0.1295166015625, 0.052490234375, 0.068603515625, ...
embed
37071371_c0
37071371
prolog
0
Title: How to get person to move by checking adjacent squares instead of manually inputting them in prolog? Problem title: How to get person to move by checking adjacent squares instead of manually inputting them in prolog? Tags: algorithm, prolog, wumpus-world Problem: How to get person to move by checking adjacent sq...
How to get person to move by checking adjacent squares instead of manually inputting them in prolog? How to get person to move by checking adjacent squares instead of manually inputting them in prolog? algorithm prolog wumpus-world How safe_square NewL ListFrom Existing ListTo NextPositionList How to get person to move...
[ -0.017333984375, 0.0198974609375, 0.0101318359375, 0.044921875, -0.008544921875, -0.0069580078125, -0.0087890625, 0.0322265625, -0.006561279296875, -0.029052734375, 0.004791259765625, 0.04296875, -0.0279541015625, -0.020751953125, 0.004302978515625, -0.0279541015625, -0.0196533203125...
[ 11249, 2046, 3445, 47, 25813, 390, 175199, 123594, 16797, 108047, 64457, 23009, 107730, 502, 4867, 234873, 316, 7332, 32554, 46002, 2356, 866, 32036, 168407, 5443, 1419, 7763, 4997, 7192, 172, 154663, 1916, 33022, 1250, 38415, 187, 5372, 1221...
[ 0.091796875, 0.1337890625, 0.1795654296875, 0.1195068359375, 0.2239990234375, 0.062164306640625, 0.2310791015625, 0.178466796875, 0.1842041015625, 0.25244140625, 0.1129150390625, 0.1392822265625, 0.1583251953125, 0.15087890625, 0.2265625, 0.12255859375, 0.0374755859375, 0.157470703...
embed
55593598_c0
55593598
prolog
0
Title: SWI Prolog CLP(FD) scheduling Problem title: SWI Prolog CLP(FD) scheduling Tags: prolog, clpfd, scheduling, swi-prolog, clp Problem: SWI Prolog CLP(FD) scheduling I am solving a scheduling task in SWI Prolog using the CLPFD library. Since it is the first time I solve something more serious than was the sendmory ...
SWI Prolog CLP(FD) scheduling SWI Prolog CLP(FD) scheduling prolog clpfd scheduling swi-prolog clp SWI Prolog CLP DxD_y DxN_y DxA_y SUM_x all_distinct global_cardinality LSUM_X SSUM_X DxNy random_variable Vars SWI Prolog CLP(FD) scheduling I am solving a scheduling task in SWI Prolog using the CLPFD library. Since it i...
[ -0.000553131103515625, 0.0018768310546875, -0.00384521484375, 0.004425048828125, -0.02734375, -0.01422119140625, -0.003631591796875, 0.007293701171875, -0.009521484375, -0.032958984375, -0.01123046875, 0.0033111572265625, 0.01068115234375, 0.002532958984375, 0.005523681640625, 0.008178...
[ 159, 38969, 1250, 4867, 313, 37352, 98553, 5094, 15246, 2069, 502, 33139, 39557, 71, 2452, 3454, 254, 425, 397, 53, 127944, 756, 46295, 7964, 38931, 73, 1542, 63543, 96759, 21690, 3323, 3115, 66211, 46323, 41265, 35773, 5117, 86869, 85583, ...
[ 0.06610107421875, 0.2286376953125, 0.1500244140625, 0.2113037109375, 0.035430908203125, 0.2386474609375, 0.176513671875, 0.117431640625, 0.1871337890625, 0.0261993408203125, 0.0740966796875, 0.026611328125, 0.047607421875, 0.07550048828125, 0.160888671875, 0.07183837890625, 0.0877685...
embed
40140093_c0
40140093
prolog
0
Title: Error in Prolog Code in Asking questions to user [ Edited] Problem title: Error in Prolog Code in Asking questions to user [ Edited] Tags: logic, expert-system, artificial-intelligence, prolog Problem: Error in Prolog Code in Asking questions to user [ Edited] I'm new to the prolog language and I want to impleme...
Error in Prolog Code in Asking questions to user [ Edited] Error in Prolog Code in Asking questions to user [ Edited] logic expert-system artificial-intelligence prolog Error Prolog Asking Edited Rule stimulus_situation Env Question What Response Error in Prolog Code in Asking questions to user [ Edited] I'm new to the...
[ 0.0098876953125, -0.00897216796875, -0.0020599365234375, 0.0269775390625, 0.0050048828125, 0.021484375, -0.01226806640625, 0.005035400390625, -0.001434326171875, -0.035400390625, 0.01226806640625, 0.006805419921875, -0.01300048828125, -0.006927490234375, 0.0218505859375, 0.019653320312...
[ 212059, 23, 1250, 4867, 28864, 1301, 6048, 17582, 47, 38937, 42079, 62775, 26808, 16751, 66733, 130687, 502, 139118, 28029, 223, 127619, 334, 68185, 92748, 3525, 46876, 3444, 29479, 201, 91736, 12353, 3871, 1528, 3229, 11417, 214, 738, 5426, ...
[ 0.179443359375, 0.056396484375, 0.1756591796875, 0.253662109375, 0.1962890625, 0.1412353515625, 0.12890625, 0.2012939453125, 0.12060546875, 0.1585693359375, 0.121826171875, 0.0897216796875, 0.095947265625, 0.0758056640625, 0.0638427734375, 0.06793212890625, 0.1143798828125, 0.14233...
embed
23189952_c0
23189952
prolog
0
Title: Prolog Permutation Colors Right Amount of Combination Error Problem title: Prolog Permutation Colors Right Amount of Combination Error Tags: permutation, puzzle, prolog Problem: Prolog Permutation Colors Right Amount of Combination Error I'm having problem of printing the right amount of solutions for this puzzl...
Prolog Permutation Colors Right Amount of Combination Error Prolog Permutation Colors Right Amount of Combination Error permutation puzzle prolog top Prolog Permutation Colors Right Amount Combination Error sit1 sit2 sit3 Element Tail Head Tail1 Tail2 List1 List2 List Rest There printout2 Since Red Whites White printou...
[ -0.006072998046875, -0.0076904296875, 0.00007390975952148438, 0.0023345947265625, -0.007415771484375, -0.007171630859375, -0.047119140625, 0.01043701171875, 0.0203857421875, 0.004852294921875, -0.00811767578125, 0.0036773681640625, 0.0234375, 0.00927734375, 0.0096435546875, 0.010253906...
[ 1250, 4867, 908, 561, 22062, 51193, 90911, 121147, 111, 106935, 19, 212059, 117, 104192, 502, 2663, 1661, 304, 363, 48325, 1218, 44816, 32036, 49756, 8622, 28412, 6056, 66016, 6096, 22392, 2967, 2448, 1916, 7108, 41170, 51347, 1528, 26785, ...
[ 0.185546875, 0.2442626953125, 0.10205078125, 0.1964111328125, 0.03204345703125, 0.193359375, 0.17626953125, 0.185791015625, 0.01580810546875, 0.1563720703125, 0.1131591796875, 0.222900390625, 0.0882568359375, 0.187255859375, 0.1484375, 0.1070556640625, 0.157958984375, 0.02120971679...
embed
66219009_c0
66219009
prolog
0
Title: Creating Metavariables in Prolog Problem title: Creating Metavariables in Prolog Tags: metaprogramming, prolog Problem: Creating Metavariables in Prolog I am working with implementing a unification algorithm for a term rewriting system in Prolog. To fully implement this, I need a predicate substituting out a giv...
Creating Metavariables in Prolog Creating Metavariables in Prolog metaprogramming prolog Creating Metavariables Prolog replace_lst List variant_replace variant_replace_lst variant_substitute Creating Metavariables in Prolog I am working with implementing a unification algorithm for a term rewriting system in Prolog. To...
[ 0.0028839111328125, 0.0224609375, 0.016845703125, 0.00439453125, -0.003692626953125, -0.01025390625, -0.0177001953125, 0.0142822265625, 0.0133056640625, -0.0255126953125, 0.0128173828125, 0.01806640625, 0.017333984375, -0.0208740234375, 0.008544921875, 0.004058837890625, 0.0105590820...
[ 56781, 36939, 21690, 19736, 1250, 4867, 23, 23550, 28966, 502, 91995, 271, 32036, 20117, 107, 23935, 209828, 20697, 29479, 51, 41274, 234873, 13579, 456, 199332, 5426, 1653, 2063, 161740, 1810, 34475, 153224, 39, 185397, 3917, 34648, 63335, 7...
[ 0.1234130859375, 0.2017822265625, 0.2147216796875, 0.1251220703125, 0.176025390625, 0.2359619140625, 0.0443115234375, 0.12353515625, 0.11181640625, 0.083251953125, 0.1341552734375, 0.07177734375, 0.1126708984375, 0.20751953125, 0.0241851806640625, 0.1119384765625, 0.1798095703125, ...
embed
37083598_c0
37083598
prolog
0
Title: Visual Prolog Flow pattern does not exist Problem title: Visual Prolog Flow pattern does not exist Tags: prolog, visual-prolog Problem: Visual Prolog Flow pattern does not exist I'm writing an expert system which guesses animals. This is an example provided by lecturer. I use visual prolog, but I receive complin...
Visual Prolog Flow pattern does not exist Visual Prolog Flow pattern does not exist prolog visual-prolog @ Visual Prolog Flow core.ph db_make_sure db_denied have_found do_animal find_animal it_is make_sure test1 test2 test3 test4 do_expert_job clear_facts USER INTERFACE SYSTEM console::nl console::write WELCOME ANIMAL ...
[ 0.0017547607421875, 0.00872802734375, -0.0164794921875, 0.0189208984375, -0.01025390625, 0.00799560546875, 0.0030670166015625, 0.0169677734375, 0.00750732421875, -0.022216796875, 0.0152587890625, 0.01031494140625, 0.0089111328125, 0.00182342529296875, 0.038330078125, 0.0015716552734375...
[ 73372, 1250, 4867, 563, 17336, 103510, 14602, 959, 32316, 502, 21176, 3454, 56458, 11727, 40041, 56851, 555, 14, 765, 151645, 161834, 7413, 442, 3249, 3034, 304, 617, 81317, 36791, 34735, 114700, 919, 130250, 13169, 26943, 24794, 114626, 1041...
[ 0.23876953125, 0.1552734375, 0.2303466796875, 0.0982666015625, 0.2357177734375, 0.30029296875, 0.06787109375, 0.1361083984375, 0.2030029296875, 0.1419677734375, 0.208251953125, 0.1251220703125, 0.0843505859375, 0.0791015625, 0.0482177734375, 0.095458984375, 0.078125, 0.073913574218...
embed
67032286_c0
67032286
prolog
0
Title: Prolog: generate solution according to the original list Problem title: Prolog: generate solution according to the original list Tags: clpfd, prolog Problem: Prolog: generate solution according to the original list I am a beginner in Prolog, and I've searched a lot but cannot solve the problem. The question is g...
Prolog: generate solution according to the original list Prolog: generate solution according to the original list clpfd prolog Prolog Head Tail get_head_element Rest Number List Result Quotient solve_multiply Row RestRow Goal all_distinct PrevResult Element RestList NextResult Arguments Prolog: generate solution accord...
[ -0.017578125, 0.027587890625, -0.0005340576171875, 0.0235595703125, -0.02490234375, -0.004974365234375, -0.033203125, 0.0015716552734375, 0.0267333984375, -0.03125, -0.000820159912109375, -0.0091552734375, 0.0072021484375, 0.0198974609375, -0.000606536865234375, -0.0050048828125, 0.0...
[ 1250, 4867, 139392, 29806, 59499, 47, 7311, 5303, 39557, 71, 502, 44816, 1218, 379, 2046, 31251, 62766, 49756, 103332, 32036, 126684, 86869, 144227, 62479, 96190, 12724, 2016, 756, 38893, 74717, 7, 7136, 48325, 154663, 4997, 112140, 12, 9842,...
[ 0.1781005859375, 0.2462158203125, 0.251220703125, 0.2408447265625, 0.1702880859375, 0.08526611328125, 0.1759033203125, 0.2008056640625, 0.005828857421875, 0.0187835693359375, 0.085205078125, 0.103515625, 0.0633544921875, 0.06640625, 0.0253143310546875, 0.1265869140625, 0.1162109375, ...
embed
41847580_c0
41847580
prolog
0
Title: Prolog adjecent2interchange Problem title: Prolog adjecent2interchange Tags: prolog Problem: Prolog adjecent2interchange I am trying to make a rule for an assignment but it doesnt seem to work, the assignment is a simple tube map, and one of the tasks is to find: stations which are adjacent to and interchange st...
Prolog adjecent2interchange Prolog adjecent2interchange prolog Prolog adjecent2interchange station_numlines Station NumberOfLines SortedMs NonInterStation InterChangeStation Central Victoria Line Northern Metropolitan Bakerloo Prolog adjecent2interchange I am trying to make a rule for an assignment but it doesnt seem t...
[ -0.03125, -0.0264892578125, 0.01202392578125, 0.01361083984375, -0.015869140625, 0.0245361328125, 0.0035552978515625, 0.00933837890625, 0.0108642578125, 0.00799560546875, -0.00860595703125, 0.01171875, 0.00341796875, -0.014892578125, 0.0162353515625, 0.0030975341796875, 0.01953125, ...
[ 1250, 4867, 606, 236, 16797, 304, 10433, 152028, 502, 29398, 2606, 59801, 38488, 103332, 132887, 93232, 53666, 3775, 44851, 22062, 5337, 127008, 15881, 31485, 16777, 182688, 115364, 133840, 47673, 31577, 79986, 95486, 18, 4488, 8781, 43333, 222...
[ 0.1171875, 0.197998046875, 0.004852294921875, 0.150390625, 0.145751953125, 0.12158203125, 0.1107177734375, 0.2039794921875, 0.06561279296875, 0.1947021484375, 0.1566162109375, 0.187744140625, 0.1573486328125, 0.095703125, 0.10107421875, 0.1458740234375, 0.0943603515625, 0.068115234...
embed
41599531_c0
41599531
prolog
0
Title: How to write findall without permutations? Problem title: How to write findall without permutations? Tags: prolog Problem: How to write findall without permutations? I want to write a program which evaluates, which item combinations can be carried within a specific bag capacity. The important part of the program...
How to write findall without permutations? How to write findall without permutations? prolog How Possibility Name Space Capacity MaxCapacity Acc SortedPossibility PossibilityList Acc1 Item ItemSpace NewSpace How to write findall without permutations? I want to write a program which evaluates, which item combinations ca...
[ -0.01611328125, 0.01416015625, 0.009765625, -0.00799560546875, -0.0137939453125, 0.006378173828125, -0.01318359375, -0.01165771484375, 0.0086669921875, -0.02001953125, 0.0137939453125, 0.0167236328125, 0.023681640625, -0.0023345947265625, -0.00970458984375, 0.013671875, 0.00994873046...
[ 11249, 47, 33022, 7413, 5584, 15490, 117, 14311, 21094, 502, 4867, 115861, 83259, 15757, 43045, 14304, 11, 9920, 87926, 29899, 53666, 7192, 12551, 154663, 78426, 141012, 2356, 3444, 1528, 151575, 35735, 162515, 831, 175100, 28032, 29458, 6157, ...
[ 0.076416015625, 0.0145111083984375, 0.1837158203125, 0.208740234375, 0.251220703125, 0.16015625, 0.1297607421875, 0.2047119140625, 0.114013671875, 0.0908203125, 0.124267578125, 0.1558837890625, 0.10986328125, 0.0892333984375, 0.1365966796875, 0.0830078125, 0.001129150390625, 0.0529...
embed
9337074_c0
9337074
prolog
0
Title: What is the neatest prolog implementation for Conway's game of Life? Problem title: What is the neatest prolog implementation for Conway's game of Life? Tags: prolog Problem: What is the neatest prolog implementation for Conway's game of Life? I banged out a version this evening (as below), but it feel...
What is the neatest prolog implementation for Conway's game of Life? What is the neatest prolog implementation for Conway's game of Life? prolog What Conway Life Game Stack Overflow Infinite Grid NewGrid get_single_char Dumps Does Row NewRow NRow Transforms Col NewState NewList NewCol Request Calculate Cell T...
[ -0.0022125244140625, -0.0002880096435546875, 0.0159912109375, -0.00244140625, 0.0096435546875, -0.01483154296875, 0.002532958984375, 0.002288818359375, 0.0228271484375, -0.0400390625, -0.005218505859375, 0.0281982421875, -0.032470703125, 0.007080078125, -0.00148773193359375, 0.00585937...
[ 22021, 525, 502, 4867, 208124, 1657, 7514, 3768, 6712, 111, 16505, 4865, 13547, 6512, 2594, 9578, 118664, 134322, 31945, 71, 2356, 724, 19040, 2046, 6953, 9254, 27919, 6423, 96190, 12724, 434, 8770, 11062, 5037, 11554, 135206, 154663, 78457, ...
[ 0.189208984375, 0.15234375, 0.1767578125, 0.23095703125, 0.1856689453125, 0.122314453125, 0.269287109375, 0.052703857421875, 0.081787109375, 0.122802734375, 0.19189453125, 0.0045166015625, 0.1007080078125, 0.040863037109375, 0.04156494140625, 0.07342529296875, 0.195068359375, 0.107...
embed