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
47146990_c0
47146990
prolog
0
Title: How can I assign multiple values to a variable (like a string) in Prolog? Problem title: How can I assign multiple values to a variable (like a string) in Prolog? Tags: assign, variables, database, prolog, rule Problem: How can I assign multiple values to a variable (like a string) in Prolog? Earlier today I ask...
How can I assign multiple values to a variable (like a string) in Prolog? How can I assign multiple values to a variable (like a string) in Prolog? assign variables database prolog rule How Prolog pentium_g4400 g4400 lga1151 ddr4 Proc Specs ProcSpecs RamSpecs MoboSpecs NameProc PSpec component_ram NameRam RSpec NameMob...
[ -0.0014495849609375, 0.003387451171875, 0.00127410888671875, 0.024169921875, -0.0257568359375, 0.01153564453125, 0.007537841796875, -0.00360107421875, 0.0167236328125, -0.0264892578125, 0.01043701171875, -0.01080322265625, 0.03271484375, -0.00555419921875, -0.0028228759765625, -0.00396...
[ 11249, 831, 95486, 48716, 142424, 47, 77336, 5062, 79315, 23, 1250, 4867, 63399, 502, 79986, 280, 123841, 617, 10700, 11703, 7569, 84607, 24990, 47107, 10752, 82761, 2198, 9083, 8446, 24351, 8894, 4358, 33976, 33938, 171859, 79786, 75101, 39,...
[ 0.055694580078125, 0.06982421875, 0.25634765625, 0.260009765625, 0.1961669921875, 0.096435546875, 0.255126953125, 0.04180908203125, 0.21728515625, 0.0209808349609375, 0.170166015625, 0.245849609375, 0.141845703125, 0.094970703125, 0.1485595703125, 0.01806640625, 0.1226806640625, 0....
embed
65394646_c0
65394646
prolog
0
Title: How to use call_with_depth_limit/3 Problem title: How to use call_with_depth_limit/3 Tags: iterative-deepening, swi-prolog, prolog Problem: How to use call_with_depth_limit/3 I'm trying to use call_with_depth_limit/3 in SWI-Prolog to implement iterative deepening and either I don't understand how it works or it'...
How to use call_with_depth_limit/3 How to use call_with_depth_limit/3 iterative-deepening swi-prolog prolog 100 How call_with_depth_limit Result depth_limit_exceeded Limit How to use call_with_depth_limit/3 I'm trying to use call_with_depth_limit/3 in SWI-Prolog to implement iterative deepening and either I don't under...
[ 0.004547119140625, 0.008056640625, 0.0167236328125, -0.0014801025390625, 0.0091552734375, -0.0091552734375, 0.0162353515625, 0.00121307373046875, 0.01312255859375, -0.0264892578125, 0.018310546875, -0.01483154296875, -0.01458740234375, 0.02490234375, 0.054931640625, -0.016845703125, ...
[ 11249, 4527, 11782, 76228, 168867, 93343, 18113, 720, 45023, 123041, 33, 214, 2452, 3454, 4867, 502, 805, 126684, 3355, 329, 125177, 159, 38969, 10752, 29479, 8, 64000, 592, 28219, 43240, 372, 528, 27781, 209806, 214493, 69236, 77443, 18389, ...
[ 0.0228271484375, 0.115234375, 0.1788330078125, 0.1591796875, 0.2293701171875, 0.227783203125, 0.249267578125, 0.1314697265625, 0.09307861328125, 0.14111328125, 0.10003662109375, 0.0247039794921875, 0.162841796875, 0.09320068359375, 0.1619873046875, 0.089599609375, 0.13623046875, 0....
embed
47896386_c0
47896386
prolog
0
Title: Error using a function of jpl API when running in a phone with android studio Problem title: Error using a function of jpl API when running in a phone with android studio Tags: android-studio, java, jpl, prolog, android-library Problem: Error using a function of jpl API when running in a phone with android studi...
Error using a function of jpl API when running in a phone with android studio Error using a function of jpl API when running in a phone with android studio android-studio java jpl prolog android-library java.lang.UnsatisfiedLinkError a android.net.Uri android.os.Bundle android.support.v7.app.AppCompatActivity android.s...
[ 0.0036468505859375, 0.004241943359375, 0.0023956298828125, -0.01513671875, -0.02099609375, -0.01239013671875, -0.00555419921875, -0.006683349609375, -0.0027923583984375, -0.047119140625, -0.002471923828125, -0.00164794921875, -0.004791259765625, -0.00726318359375, 0.023681640625, 0.012...
[ 212059, 17368, 32354, 111, 1647, 2424, 61687, 3229, 51042, 23, 24089, 678, 54527, 12275, 52629, 79, 330, 502, 4867, 150, 2844, 3066, 7, 50958, 1029, 297, 64287, 18468, 31611, 5, 1179, 1062, 416, 232, 571, 7030, 133, 105363, 334, 966, 90...
[ 0.2200927734375, 0.138427734375, 0.185546875, 0.05560302734375, 0.1719970703125, 0.2900390625, 0.233154296875, 0.07177734375, 0.1705322265625, 0.09228515625, 0.18505859375, 0.1307373046875, 0.1959228515625, 0.279296875, 0.237060546875, 0.0960693359375, 0.1934814453125, 0.1083984375...
embed
25743524_c0
25743524
prolog
0
Title: Prolog: Unification or Backtracking errors in program Problem title: Prolog: Unification or Backtracking errors in program Tags: family-tree, backtracking, prolog, unification Problem: Prolog: Unification or Backtracking errors in program I have a simple knowledge base that encodes a family tree. Some important ...
Prolog: Unification or Backtracking errors in program Prolog: Unification or Backtracking errors in program family-tree backtracking prolog unification Prolog Unification Backtracking charles_gordon Prolog: Unification or Backtracking errors in program I have a simple knowledge base that encodes a family tree. Some imp...
[ 0.038330078125, 0.00537109375, -0.00102996826171875, -0.006500244140625, -0.003997802734375, 0.003143310546875, -0.0140380859375, -0.00007915496826171875, 0.007476806640625, -0.037109375, -0.00848388671875, -0.0081787109375, 0.010009765625, 0.00078582763671875, 0.03955078125, 0.0055541...
[ 1250, 4867, 992, 41274, 707, 26828, 125728, 18499, 7, 1528, 214, 14449, 62600, 4420, 502, 51, 21441, 1577, 6504, 4445, 8781, 51359, 3647, 22, 40899, 53201, 5526, 91736, 18811, 81887, 7413, 43573, 525, 88, 820, 17721, 6626, 79165, 19714, 2...
[ 0.1778564453125, 0.264892578125, 0.1864013671875, 0.1767578125, 0.08746337890625, 0.15380859375, 0.2305908203125, 0.1993408203125, 0.024322509765625, 0.16015625, 0.01104736328125, 0.1190185546875, 0.2091064453125, 0.108154296875, 0.1195068359375, 0.151123046875, 0.00640869140625, 0...
embed
13261079_c0
13261079
prolog
0
Title: Prolog- matching parts of a list Problem title: Prolog- matching parts of a list Tags: unification, prolog, list, dcg Problem: Prolog- matching parts of a list Possible Duplicate: Prolog- translating English to C We basically have an assignment where we're given a list that represent some notation in English, su...
Prolog- matching parts of a list Prolog- matching parts of a list unification prolog list dcg Prolog english2C J-I Prolog- matching parts of a list We basically have an assignment where we're given a list that represent some notation in English, such as [add,3,to,5], and we need to take that and have it output the corr...
[ -0.0030517578125, 0.011474609375, 0.02099609375, 0.01434326171875, -0.0012664794921875, 0.0030364990234375, -0.013671875, 0.00970458984375, 0.01318359375, -0.0286865234375, -0.005767822265625, -0.00830078125, -0.0038909912109375, -0.01300048828125, -0.000308990478515625, 0.009460449218...
[ 1250, 4867, 14858, 214, 63920, 111, 5303, 51, 41274, 502, 177, 175457, 304, 441, 821, 9, 568, 95486, 34475, 33636, 110, 22062, 14941, 4028, 363, 188, 758, 5646, 140992, 42518, 313, 94418, 14012, 70163, 6626, 6044, 51713, 11343, 16610, 56,...
[ 0.1614990234375, 0.22998046875, 0.222900390625, 0.069580078125, 0.16796875, 0.01226806640625, 0.200927734375, 0.1239013671875, 0.10662841796875, 0.13720703125, 0.046539306640625, 0.05194091796875, 0.0211181640625, 0.0143890380859375, 0.1431884765625, 0.033721923828125, 0.071899414062...
embed
16386659_c0
16386659
prolog
0
Title: Recursive similarity between trees according to the number of common subtrees in Prolog Problem title: Recursive similarity between trees according to the number of common subtrees in Prolog Tags: prolog Problem: Recursive similarity between trees according to the number of common subtrees in Prolog I am stufyin...
Recursive similarity between trees according to the number of common subtrees in Prolog Recursive similarity between trees according to the number of common subtrees in Prolog prolog Recursive Prolog BASE CASE RULE DIFFERENT RX1 LIST_OF_SUBTREES Recursive similarity between trees according to the number of common subtr...
[ -0.006072998046875, -0.0009002685546875, 0.00933837890625, 0.001251220703125, 0.00927734375, -0.004547119140625, -0.0201416015625, 0.01287841796875, 0.002899169921875, -0.040771484375, -0.000024199485778808594, 0.00150299072265625, 0.0029754638671875, 0.0235595703125, 0.031982421875, -...
[ 853, 48650, 5844, 21373, 17721, 1360, 90, 14012, 39210, 1614, 2921, 1250, 4867, 502, 335, 76783, 313, 627, 129984, 919, 66804, 1542, 418, 195977, 32338, 56564, 59499, 18929, 159, 38969, 34844, 18151, 116, 2394, 541, 62600, 5701, 74855, 5351...
[ 0.04254150390625, 0.204833984375, 0.021942138671875, 0.213623046875, 0.1185302734375, 0.18603515625, 0.009674072265625, 0.065185546875, 0.178955078125, 0.2130126953125, 0.1793212890625, 0.15625, 0.2169189453125, 0.0736083984375, 0.0604248046875, 0.029052734375, 0.0223541259765625, ...
embed
26736636_c0
26736636
prolog
0
Title: Prolog: Choosing NOT to insert an element during list recursion Problem title: Prolog: Choosing NOT to insert an element during list recursion Tags: prolog, recursion, list Problem: Prolog: Choosing NOT to insert an element during list recursion I've made a predicate that takes 2 list as arguments and returns a ...
Prolog: Choosing NOT to insert an element during list recursion Prolog: Choosing NOT to insert an element during list recursion prolog recursion list Prolog Choosing NOT List need_to_buy Difference Type Amount Stock NewAmount Amount-Stock WrongType Prolog: Choosing NOT to insert an element during list recursion I've ma...
[ -0.01611328125, 0.01324462890625, 0.020751953125, 0.00439453125, -0.0142822265625, 0.022705078125, -0.041259765625, 0.01806640625, 0.00921630859375, 0.031494140625, 0.01239013671875, 0.0031280517578125, -0.025146484375, -0.0010223388671875, 0.00286865234375, 0.007080078125, 0.0301513...
[ 1250, 4867, 4960, 232, 86725, 183540, 12830, 20271, 5303, 195625, 47, 502, 32036, 3871, 188, 86527, 18234, 60457, 121147, 68804, 184425, 35133, 196707, 1830, 1653, 2063, 51776, 116, 10750, 30646, 4460, 12996, 115052, 22144, 50960, 79986, 63323,...
[ 0.11865234375, 0.1837158203125, 0.06170654296875, 0.056396484375, 0.20068359375, 0.2435302734375, 0.1820068359375, 0.10107421875, 0.1822509765625, 0.215576171875, 0.0143890380859375, 0.10693359375, 0.1644287109375, 0.111328125, 0.000579833984375, 0.1461181640625, 0.135986328125, 0....
embed
45710034_c0
45710034
prolog
0
Title: Creating a Groebner Basis SAT Solver in Prolog Problem title: Creating a Groebner Basis SAT Solver in Prolog Tags: clpb, prolog, sat Problem: Creating a Groebner Basis SAT Solver in Prolog I am trying to create a SAT solver which converts from Conjunctive Normal Form (CNF) with an implementation of Boolean Grobn...
Creating a Groebner Basis SAT Solver in Prolog Creating a Groebner Basis SAT Solver in Prolog clpb prolog sat Creating Groebner Basis SAT Solver Prolog File Stream read_literals Literals read_clauses Clauses get_char end_of_file _Stream read_line_then_literals read_literal_then_literals RevAs Literal Rest_Literals Clau...
[ 0.0250244140625, 0.0025787353515625, -0.00201416015625, -0.001922607421875, -0.01708984375, 0.0228271484375, 0.00384521484375, -0.01904296875, 0.0113525390625, -0.0269775390625, -0.017333984375, 0.0225830078125, -0.0263671875, 0.0004749298095703125, 0.00396728515625, 0.004180908203125,...
[ 56781, 14854, 6403, 1679, 76336, 75210, 6678, 814, 1250, 4867, 254, 275, 502, 11736, 42724, 115061, 12301, 39798, 135940, 18347, 100700, 9254, 3564, 4390, 29822, 2256, 80893, 19659, 49756, 720, 26253, 23, 31577, 28282, 3115, 96760, 1295, 461,...
[ 0.10418701171875, 0.1182861328125, 0.1226806640625, 0.193359375, 0.19140625, 0.1964111328125, 0.1485595703125, 0.1927490234375, 0.1014404296875, 0.2154541015625, 0.014617919921875, 0.09033203125, 0.0677490234375, 0.1090087890625, 0.0860595703125, 0.143798828125, 0.0736083984375, 0....
embed
27548971_c0
27548971
prolog
0
Title: Prolog Action Planner Out Of Local Stack Error Problem title: Prolog Action Planner Out Of Local Stack Error Tags: prolog Problem: Prolog Action Planner Out Of Local Stack Error I am trying to implement a kind of planner that to a given integer N generates X possible plans with N actions. A action has conditions...
Prolog Action Planner Out Of Local Stack Error Prolog Action Planner Out Of Local Stack Error prolog Prolog Action Planner Out Local Stack Error List Current list_to_set N-1 YTail Prolog Action Planner Out Of Local Stack Error I am trying to implement a kind of planner that to a given integer N generates X possible pla...
[ -0.007171630859375, 0.0030670166015625, -0.017822265625, 0.0179443359375, -0.0047607421875, 0.01483154296875, -0.0211181640625, 0.002593994140625, 0.02392578125, -0.053955078125, -0.00139617919921875, -0.0031890869140625, 0.0047607421875, -0.0091552734375, 0.0189208984375, 0.0060119628...
[ 1250, 4867, 57945, 5586, 1679, 13538, 6619, 24172, 6512, 2594, 212059, 502, 32036, 114063, 5303, 188, 3509, 541, 5759, 43035, 25820, 31577, 29479, 1774, 34475, 892, 1505, 139392, 1193, 7722, 38627, 678, 61972, 22631, 27289, 185190, 8110, 2113...
[ 0.174560546875, 0.24462890625, 0.182861328125, 0.2371826171875, 0.14306640625, 0.1868896484375, 0.1639404296875, 0.1639404296875, 0.1563720703125, 0.09906005859375, 0.1954345703125, 0.1268310546875, 0.10345458984375, 0.154052734375, 0.1563720703125, 0.0699462890625, 0.13720703125, ...
embed
21054471_c0
21054471
prolog
0
Title: SWIProlog C# System.AccessViolationException Problem title: SWIProlog C# System.AccessViolationException Tags: c%23, exception, swi-prolog, prolog Problem: SWIProlog C# System.AccessViolationException please help me because I'm desperate because I don't understand why my method doesn't work. I have this: public ...
SWIProlog C# System.AccessViolationException SWIProlog C# System.AccessViolationException c%23 exception swi-prolog prolog System.AccessViolationException SWIProlog List iduser1 iduser2 PlQuery mais_curto PlTermV q.Solutions.First IReadOnlyCollection PlTerm ToList Convert.ToInt32 row.ToString ret.Add Environment.SetEnv...
[ 0.00408935546875, 0.024658203125, 0.01141357421875, 0.0087890625, -0.00025177001953125, 0.0166015625, -0.0218505859375, -0.0001926422119140625, 0.0030364990234375, -0.055419921875, 0.0201416015625, 0.0233154296875, -0.004058837890625, -0.00799560546875, 0.0048828125, -0.00830078125, ...
[ 159, 38969, 10752, 4867, 4904, 12353, 39450, 26531, 6609, 31, 57860, 19279, 63928, 3742, 131527, 91, 2452, 3454, 502, 32036, 65918, 418, 304, 29016, 41732, 732, 16820, 188, 35484, 856, 8096, 102588, 207263, 87, 31345, 20320, 78457, 133, 717...
[ 0.0689697265625, 0.2406005859375, 0.1741943359375, 0.2279052734375, 0.1728515625, 0.1441650390625, 0.0638427734375, 0.1885986328125, 0.2032470703125, 0.1212158203125, 0.033599853515625, 0.061126708984375, 0.157958984375, 0.162841796875, 0.148681640625, 0.01165771484375, 0.21655273437...
embed
67436917_c0
67436917
prolog
0
Title: Prolog Analogy IQ Test Unexpected token exception Problem title: Prolog Analogy IQ Test Unexpected token exception Tags: prolog Problem: Prolog Analogy IQ Test Unexpected token exception I am trying to develop a program that will be able to solve an analogy IQ test. As you can see below I've written the figures ...
Prolog Analogy IQ Test Unexpected token exception Prolog Analogy IQ Test Unexpected token exception prolog Prolog Analogy Test Unexpected Sh1 Sh2 Sh3 Sh4 Sh5 Sh6 Sh7 Sh8 Prolog Analogy IQ Test Unexpected token exception I am trying to develop a program that will be able to solve an analogy IQ test. As you can see below...
[ -0.0020904541015625, 0.00634765625, 0.0098876953125, -0.01019287109375, 0.0027618408203125, -0.0024261474609375, -0.016845703125, 0.012939453125, 0.003936767578125, -0.002044677734375, -0.00433349609375, 0.0296630859375, 0.001983642578125, -0.0233154296875, 0.01397705078125, -0.0218505...
[ 1250, 4867, 5710, 53, 88133, 8647, 992, 83613, 13, 47, 1098, 131527, 502, 7525, 418, 304, 363, 617, 758, 910, 966, 1019, 31577, 85493, 1528, 86869, 60223, 3034, 59121, 26366, 91582, 237, 15824, 7145, 2063, 30646, 1632, 14012, 17262, 10193...
[ 0.139892578125, 0.2105712890625, 0.1466064453125, 0.1156005859375, 0.16357421875, 0.1641845703125, 0.052032470703125, 0.104736328125, 0.0977783203125, 0.1192626953125, 0.1815185546875, 0.1900634765625, 0.10040283203125, 0.1121826171875, 0.0699462890625, 0.09368896484375, 0.0985717773...
embed
56208890_c0
56208890
prolog
0
Title: Representing uniqueness on a restricted domain Problem title: Representing uniqueness on a restricted domain Tags: prolog Problem: Representing uniqueness on a restricted domain Given some functions: define foo(x,y) (x > y) end. define bar(x) (foo x x) end. define baz(x,y) (foo x y) end. I am not interested in t...
Representing uniqueness on a restricted domain Representing uniqueness on a restricted domain prolog Representing zero_int pos_int neg_int i.e is_greater_than Representing uniqueness on a restricted domain Given some functions: I am not interested in the exact values that a function takes/returns however I would like t...
[ -0.002838134765625, 0.0035400390625, 0.018310546875, -0.01904296875, 0.0010223388671875, -0.0035552978515625, 0.015380859375, 0.0111083984375, 0.002716064453125, 0.00128936767578125, -0.01531982421875, 0.019287109375, 0.0091552734375, 0.00125885009765625, 0.00885009765625, 0.0001821517...
[ 853, 55247, 36998, 7432, 98, 173072, 297, 77758, 502, 4867, 45234, 4288, 3864, 108, 177, 83, 7134, 46429, 21732, 32354, 60892, 142424, 51776, 64, 65395, 24092, 111, 107730, 52490, 140992, 3299, 70, 117396, 3501, 34627, 29481, 757, 454, 756,...
[ 0.05810546875, 0.205078125, 0.2227783203125, 0.083740234375, 0.0173797607421875, 0.186767578125, 0.038970947265625, 0.1419677734375, 0.123046875, 0.1834716796875, 0.18359375, 0.191650390625, 0.1751708984375, 0.110595703125, 0.15087890625, 0.042083740234375, 0.115478515625, 0.126953...
embed
60969483_c0
60969483
prolog
0
Title: Prolog Logic Puzzle Failure Problem title: Prolog Logic Puzzle Failure Tags: zebra-puzzle, prolog Problem: Prolog Logic Puzzle Failure I am attempting to solve the logic puzzle found here: https://www.braingle.com/brainteasers/teaser.php?id=23826&op=2&comm=1#c These are the clues: The flowers were purchased in t...
Prolog Logic Puzzle Failure Prolog Logic Puzzle Failure zebra-puzzle prolog Prolog Logic Puzzle Failure Use Woman1 Flower1 Color1 Place1 Day1 Woman2 Flower2 Color2 Place2 Day2 Woman3 Flower3 Color3 Place3 Day3 Woman4 Flower4 Color4 Place4 Day4 Woman5 Flower5 Color5 Place5 Day5 Defines Tail Clue Look Bethany Amy Kristen...
[ 0.0048828125, 0.0155029296875, 0.004791259765625, 0.006622314453125, -0.009765625, 0.0093994140625, -0.0201416015625, -0.0145263671875, 0.0115966796875, -0.006195068359375, -0.01080322265625, 0.01263427734375, 0.0037841796875, -0.00848388671875, 0.0274658203125, 0.0185546875, -0.0053...
[ 1250, 4867, 50592, 238, 179277, 190355, 3408, 116232, 1766, 13894, 133, 502, 36836, 112857, 418, 158591, 51193, 41076, 10013, 304, 363, 617, 758, 85535, 1218, 379, 140077, 60818, 45291, 4848, 117277, 76384, 127055, 81887, 86869, 62775, 104192, ...
[ 0.189208984375, 0.2489013671875, 0.2137451171875, 0.014801025390625, 0.2198486328125, 0.1873779296875, 0.05902099609375, 0.2088623046875, 0.11181640625, 0.1253662109375, 0.11474609375, 0.1640625, 0.13525390625, 0.1744384765625, 0.07891845703125, 0.227294921875, 0.1412353515625, 0.1...
embed
5628451_c0
5628451
prolog
0
Title: Prolog dot product with variables (constraint satisfaction) Problem title: Prolog dot product with variables (constraint satisfaction) Tags: cryptarithmetic-puzzle, prolog Problem: Prolog dot product with variables (constraint satisfaction) I'm working on a prolog assignment and I'm currently very very close to ...
Prolog dot product with variables (constraint satisfaction) Prolog dot product with variables (constraint satisfaction) cryptarithmetic-puzzle prolog Prolog ___________ N-1 scalar_product Coefficients Letters Prolog dot product with variables (constraint satisfaction) I'm working on a prolog assignment and I'm currentl...
[ 0.0167236328125, -0.0020751953125, -0.021728515625, -0.01385498046875, -0.016845703125, -0.0089111328125, -0.0108642578125, 0.00701904296875, 0.00098419189453125, -0.02734375, -0.01422119140625, 0.01141357421875, -0.0068359375, -0.0135498046875, -0.01068115234375, -0.00677490234375, ...
[ 1250, 4867, 20633, 12996, 678, 77336, 2271, 2816, 4288, 152796, 136791, 8962, 1766, 13894, 133, 502, 5759, 146232, 42, 57877, 1311, 4240, 11044, 105451, 20697, 95486, 82424, 20903, 29806, 2967, 158, 765, 7413, 142424, 5423, 24233, 27289, 2956...
[ 0.1588134765625, 0.2418212890625, 0.17724609375, 0.1962890625, 0.07513427734375, 0.2366943359375, 0.05474853515625, 0.2030029296875, 0.144287109375, 0.254150390625, 0.1314697265625, 0.05218505859375, 0.03790283203125, 0.0684814453125, 0.04534912109375, 0.1259765625, 0.07080078125, ...
embed
33984638_c0
33984638
prolog
0
Title: Prolog: lists consisting of one element Problem title: Prolog: lists consisting of one element Tags: prolog, list Problem: Prolog: lists consisting of one element I believe that the problem I have is very silly, but couldn't find an answer searching online. I want a function to always return a list of elements, ...
Prolog: lists consisting of one element Prolog: lists consisting of one element prolog list Prolog Call _G8032 _G8122 Exit _G8128 _G8131 _G8134 _G8137 lists:union Fail Prolog: lists consisting of one element I believe that the problem I have is very silly, but couldn't find an answer searching online. I want a function...
[ 0.00775146484375, -0.0179443359375, 0.00811767578125, 0.0107421875, -0.0174560546875, 0.032470703125, -0.007080078125, 0.002685546875, 0.0201416015625, -0.02490234375, 0.01318359375, 0.0189208984375, -0.01007080078125, 0.000102996826171875, 0, 0.0084228515625, 0.021240234375, 0.001...
[ 1250, 4867, 5303, 58055, 214, 1632, 12830, 7, 502, 26265, 4836, 6460, 13556, 4015, 5443, 217, 3882, 5016, 114082, 128780, 87046, 190355, 18822, 2967, 765, 12097, 35166, 3444, 32354, 47, 11343, 30646, 80854, 7225, 1660, 1884, 27198, 8781, 53...
[ 0.147216796875, 0.2327880859375, 0.1961669921875, 0.1080322265625, 0.0251312255859375, 0.1458740234375, 0.2010498046875, 0.0187530517578125, 0.1318359375, 0.1138916015625, 0.0706787109375, 0.1246337890625, 0.060333251953125, 0.047576904296875, 0.06597900390625, 0.0487060546875, 0.087...
embed
36845448_c0
36845448
prolog
0
Title: Prolog Card Game: Valid sets Problem title: Prolog Card Game: Valid sets Tags: prolog, list Problem: Prolog Card Game: Valid sets I am working on a simple card game, which involves laying cards on the table in particular groups. I would like to write a predicate which tries to find out whether a set of cards can...
Prolog Card Game: Valid sets Prolog Card Game: Valid sets prolog list Prolog Card Game Valid card_will_connect same_suit consecutive_number Prolog Card Game: Valid sets I am working on a simple card game, which involves laying cards on the table in particular groups. I would like to write a predicate which tries to fin...
[ 0.00750732421875, -0.005889892578125, 0.00872802734375, 0.0084228515625, 0.00689697265625, 0.0218505859375, -0.0301513671875, -0.0107421875, 0.0198974609375, -0.0225830078125, -0.01129150390625, 0.0164794921875, -0.0028839111328125, 0.00113677978515625, -0.0284423828125, 0.00244140625,...
[ 1250, 4867, 23660, 13547, 25447, 71, 5423, 502, 5303, 20596, 110641, 135457, 5701, 68879, 148390, 2606, 20697, 8781, 6712, 21, 126381, 23180, 94407, 33022, 1653, 2063, 7413, 831, 137356, 35604, 21115, 8110, 97629, 60813, 101935, 106013, 21320, ...
[ 0.1551513671875, 0.2010498046875, 0.1968994140625, 0.1051025390625, 0.200927734375, 0.1197509765625, 0.209228515625, 0.1273193359375, 0.12890625, 0.2073974609375, 0.08966064453125, 0.19775390625, 0.1728515625, 0.16943359375, 0.1773681640625, 0.12158203125, 0.04229736328125, 0.05020...
embed
13670106_c0
13670106
prolog
0
Title: Prolog - Not returning desired Variable Problem title: Prolog - Not returning desired Variable Tags: return-value, prolog Problem: Prolog - Not returning desired Variable I realised that my first question was too long and no one would understand it. Here is the link to a condensed simpler question that exhibits ...
Prolog - Not returning desired Variable Prolog - Not returning desired Variable return-value prolog Prolog Not Variable Prog Input Output create_mem Mem Memory Tail Size NewSize get_mem Value Ptr NewPtr increase_mem MemTail NewValue Head NewTail Ind NewInd Instruction Inst_Iterated NewInstruction NewInst_Iterated NewMe...
[ 0.0244140625, -0.006927490234375, -0.0010986328125, 0.0025787353515625, -0.00016021728515625, 0.0166015625, -0.004150390625, -0.0038604736328125, 0.0027008056640625, -0.019775390625, 0.01031494140625, 0.006134033203125, -0.00811767578125, -0.00982666015625, 0.0118408203125, -0.01184082...
[ 1250, 4867, 11205, 30646, 214, 104851, 71, 84572, 2886, 27494, 502, 177, 360, 13538, 28282, 37138, 17443, 172681, 1218, 379, 80378, 2356, 127167, 2046, 190060, 4448, 51312, 9874, 856, 44816, 14489, 72022, 720, 36716, 195, 79858, 8183, 21441, ...
[ 0.186279296875, 0.236572265625, 0.143310546875, 0.233154296875, 0.02764892578125, 0.2191162109375, 0.035186767578125, 0.211669921875, 0.1429443359375, 0.1314697265625, 0.1390380859375, 0.0635986328125, 0.058074951171875, 0.159912109375, 0.04656982421875, 0.1015625, 0.1080322265625, ...
embed
49036226_c1
49036226
prolog
1
)) :- system: ( current_prolog_flag(arch, A), atom_concat('lib/', A, B) ). file_search_path(foreign, swi(A)) :- system: ( ( current_prolog_flag(windows, true) -> A=bin ; A=lib ) ). file_search_path(path, C) :- system: ( getenv('PATH', A), ( current_prolog_flag(windows, true) -> atomic_list_concat(B, ;, A) ; atomic_list...
)) :- system: ( current_prolog_flag(arch, A), atom_concat('lib/', A, B) ). file_search_path(foreign, swi(A)) :- system: ( ( current_prolog_flag(windows, true) -> A=bin ; A=lib ) ). file_search_path(path, C) :- system: ( getenv('PATH', A), ( current_prolog_flag(windows, true) -> atomic_list_concat(B, ;, A) ; atomic_list...
[ 0.0283203125, 0.00125885009765625, -0.005767822265625, 0.02392578125, -0.0361328125, 0.01025390625, 0.014404296875, -0.0042724609375, 0.0020904541015625, -0.02392578125, 0.005828857421875, 0.01458740234375, -0.014404296875, 0.0191650390625, 0.0103759765625, -0.003509521484375, -0.013...
[ 78960, 15772, 5426, 12, 15, 43581, 3454, 4867, 190872, 59438, 62, 247, 34627, 2271, 4460, 5612, 64, 335, 194, 11435, 86250, 128405, 2472, 38529, 91, 2452, 284, 229792, 29568, 7568, 1369, 313, 2046, 33, 334, 65135, 1771, 6562, 571, 4369, ...
[ 0.1646728515625, 0.1651611328125, 0.1864013671875, 0.1087646484375, 0.010009765625, 0.190185546875, 0.2142333984375, 0.2451171875, 0.2210693359375, 0.1217041015625, 0.099609375, 0.035400390625, 0.2044677734375, 0.105712890625, 0.213134765625, 0.212158203125, 0.0423583984375, 0.1044...
embed
53625945_c0
53625945
prolog
0
Title: Prolog Solution to N Queens problem checking diagonal Problem title: Prolog Solution to N Queens problem checking diagonal Tags: n-queens, prolog Problem: Prolog Solution to N Queens problem checking diagonal Disclaimer: The matrix is represented as a list where the number is the row and the index (1 - 8) is the...
Prolog Solution to N Queens problem checking diagonal Prolog Solution to N Queens problem checking diagonal n-queens prolog Prolog Solution Queens Board Check Diagonal AntiDiagonal Value RowValue DValue RowValueIndex IndexValue DValueIndex Finds Element Tail Value1 Checks ColumnValue Prolog Solution to N Queens problem...
[ 0.0030059814453125, 0.00012493133544921875, 0.0279541015625, -0.0111083984375, -0.01153564453125, 0.00860595703125, -0.033203125, 0.0145263671875, 0.0068359375, -0.00714111328125, 0.00238037109375, 0.01214599609375, -0.00640869140625, -0.00897216796875, -0.0081787109375, 0.0107421875, ...
[ 1250, 4867, 187895, 47, 541, 44109, 7, 2967, 175199, 207997, 653, 944, 1755, 502, 62554, 38679, 4512, 6126, 8332, 72838, 190060, 96190, 856, 50770, 39659, 31471, 26040, 48325, 1218, 379, 233987, 184980, 50944, 425, 33636, 237, 5303, 14012, ...
[ 0.15966796875, 0.24951171875, 0.1351318359375, 0.05328369140625, 0.1939697265625, 0.267578125, 0.138671875, 0.18896484375, 0.20751953125, 0.259765625, 0.0784912109375, 0.1341552734375, 0.0225677490234375, 0.1077880859375, 0.187255859375, 0.20947265625, 0.0296478271484375, 0.1174316...
embed
64454349_c0
64454349
prolog
0
Title: prolog alpha-beta unexpected results Problem title: prolog alpha-beta unexpected results Tags: minimax, prolog, alpha-beta-pruning Problem: prolog alpha-beta unexpected results I have modified a generic alpha-beta from a book to be depth limited. When printing out the best position search results it sometimes wo...
prolog alpha-beta unexpected results prolog alpha-beta unexpected results minimax prolog alpha-beta-pruning Pos Alpha Beta GoodPos Val Depth PosList get_pos_value GoodVal NewDepth min_to_move Maximizer max_to_move Minimizer NewAlpha NewBeta Pos1 Val1 Otherwise prolog alpha-beta unexpected results I have modified a gene...
[ 0.007232666015625, 0.00445556640625, 0.031982421875, -0.005523681640625, -0.0026397705078125, 0.0238037109375, 0.01239013671875, -0.01190185546875, 0.020263671875, 0.022705078125, -0.0098876953125, 0.00738525390625, 0.02294921875, 0.0036773681640625, 0.0184326171875, -0.027099609375, ...
[ 502, 4867, 144, 14612, 59865, 241957, 50339, 83818, 425, 26992, 592, 13498, 76569, 48941, 18621, 7192, 4769, 262, 254, 154663, 2046, 7522, 27494, 42272, 2356, 4657, 881, 432, 46540, 52825, 18389, 4211, 8559, 6210, 6766, 102, 9, 73197, 18953...
[ 0.1737060546875, 0.2393798828125, 0.122802734375, 0.21923828125, 0.2646484375, 0.189697265625, 0.164306640625, 0.13916015625, 0.0831298828125, 0.1416015625, 0.0408935546875, 0.1461181640625, 0.1973876953125, 0.2222900390625, 0.07012939453125, 0.138916015625, 0.139892578125, 0.08898...
embed
49681389_c0
49681389
prolog
0
Title: Bridge-Flashlight Puzzle in Prolog Problem title: Bridge-Flashlight Puzzle in Prolog Tags: prolog, river-crossing-puzzle Problem: Bridge-Flashlight Puzzle in Prolog Before I state this, I logically understand the solution to this question, am just having a hard time coding it. A family of 4 is trying to cross a ...
Bridge-Flashlight Puzzle in Prolog Bridge-Flashlight Puzzle in Prolog prolog river-crossing-puzzle Bridge-Flashlight Puzzle Prolog Name T2...etc MoveFamily FamilyName MAxTime Moves Time Max North South Big List2 NewNorth NewSouth List People ERROR Arguments _10170 _10200 _10202 Exception _9500 _9498 Bridge-Flashlight P...
[ 0.01318359375, 0.007049560546875, 0.0054931640625, 0.01953125, -0.0233154296875, 0.003997802734375, -0.01708984375, 0.0126953125, 0.0084228515625, -0.01324462890625, 0.006988525390625, -0.0093994140625, -0.001556396484375, -0.0078125, -0.00174713134765625, -0.003692626953125, -0.0159...
[ 59132, 919, 5544, 20016, 179277, 23, 1250, 4867, 502, 96113, 95665, 214, 1766, 13894, 15757, 384, 304, 135828, 1191, 59745, 163612, 9267, 425, 70059, 19055, 9920, 23924, 25134, 14195, 32036, 2356, 50645, 218128, 41021, 151206, 112140, 963, 43...
[ 0.2415771484375, 0.05804443359375, 0.1854248046875, 0.2315673828125, 0.2060546875, 0.047119140625, 0.189208984375, 0.246826171875, 0.1268310546875, 0.116455078125, 0.1434326171875, 0.091796875, 0.070556640625, 0.09100341796875, 0.0804443359375, 0.0589599609375, 0.1290283203125, 0.1...
embed
30961759_c0
30961759
prolog
0
Title: Prolog change order of facts produces different outcomes Problem title: Prolog change order of facts produces different outcomes Tags: prolog Problem: Prolog change order of facts produces different outcomes New to Prolog. I have a tiny glitch that I cannot explain, but the program appears to work if I add other...
Prolog change order of facts produces different outcomes Prolog change order of facts produces different outcomes prolog Prolog HELLO WORLD HOW YOU XTail YTail Turns UPPERCASE List Result Result1 Prolog change order of facts produces different outcomes New to Prolog. I have a tiny glitch that I cannot explain, but the ...
[ 0.0185546875, 0.00372314453125, -0.0108642578125, 0.0174560546875, 0.000743865966796875, 0.00130462646484375, -0.000217437744140625, 0.0181884765625, 0.01611328125, 0.00023651123046875, 0.02099609375, 0.00150299072265625, -0.00069427490234375, -0.016357421875, 0.01220703125, 0.01239013...
[ 1250, 4867, 15549, 12989, 111, 15824, 7, 27489, 12921, 184345, 502, 572, 174444, 99972, 54979, 82310, 25820, 43035, 41961, 27560, 30425, 441, 76783, 32036, 126684, 418, 2356, 57278, 1978, 18, 53418, 73342, 1528, 135179, 4488, 15190, 3789, 45,...
[ 0.20361328125, 0.271484375, 0.19091796875, 0.2010498046875, 0.07427978515625, 0.191650390625, 0.053955078125, 0.1612548828125, 0.1728515625, 0.2012939453125, 0.154296875, 0.06585693359375, 0.18603515625, 0.10760498046875, 0.1641845703125, 0.1158447265625, 0.1605224609375, 0.0122375...
embed
28152389_c0
28152389
prolog
0
Title: Where did my logic go wrong? Problem title: Where did my logic go wrong? Tags: prolog Problem: Where did my logic go wrong? as a beginner in prolog with only previous knowledge in Java programming, I find it hard to relate a logic into a prolog rule... Below is what I have this far, and I would like anyone to po...
Where did my logic go wrong? Where did my logic go wrong? prolog Where Where did my logic go wrong? as a beginner in prolog with only previous knowledge in Java programming, I find it hard to relate a logic into a prolog rule... Below is what I have this far, and I would like anyone to point out where I went wrong, con...
[ -0.0002002716064453125, 0.01025390625, -0.005096435546875, -0.0047607421875, -0.0155029296875, -0.0021209716796875, -0.00750732421875, -0.013671875, 0.00701904296875, 0.00014495849609375, 0.005859375, -0.01104736328125, 0.00811767578125, -0.00946044921875, 0.0174560546875, 0.0096435546...
[ 78662, 6777, 759, 62775, 738, 44691, 502, 4867, 9842, 1679, 96362, 51359, 41925, 56037, 7413, 7941, 33444, 79986, 17336, 2060, 4, 1884, 35672, 6275, 7440, 23409, 70, 450, 35064, 237259, 7, 14997, 13, 1556, 4734, 138, 52895, 111, 115700, 1...
[ 0.10760498046875, 0.09954833984375, 0.0985107421875, 0.27001953125, 0.09100341796875, 0.2138671875, 0.160888671875, 0.244384765625, 0.0574951171875, 0.05169677734375, 0.0228271484375, 0.07708740234375, 0.1927490234375, 0.0960693359375, 0.00616455078125, 0.06646728515625, 0.0957641601...
embed
19505382_c0
19505382
prolog
0
Title: Solving a Logic Puzzle in Prolog Problem title: Solving a Logic Puzzle in Prolog Tags: prolog, zebra-puzzle Problem: Solving a Logic Puzzle in Prolog I'm learning Prolog, but I got stuck with this problem and I really don't know how to finish it. I thought that I was right in my code, but I keep getting warnings...
Solving a Logic Puzzle in Prolog Solving a Logic Puzzle in Prolog prolog zebra-puzzle Solving Logic Puzzle Prolog File fall_dance_competition.pl Purpose Solve Fall Dance Competition Notes Saturday Each Determine Tom Jean Mary West Mrs King Bill Snow John Forest Brenda George Sara use_module perm2 Left_1 Right_1 Left_2 ...
[ -0.01324462890625, 0.0093994140625, 0.000804901123046875, 0.0274658203125, -0.01055908203125, 0.0244140625, -0.03173828125, 0.00372314453125, -0.005157470703125, -0.029052734375, -0.0067138671875, 0.00982666015625, -0.0003299713134765625, 0.005462646484375, 0, 0.01171875, 0.003387451...
[ 6678, 6496, 50592, 238, 179277, 23, 1250, 4867, 502, 116232, 1766, 13894, 42724, 6817, 549, 63065, 2424, 16915, 78381, 272, 12676, 67022, 223314, 18622, 72864, 98423, 30524, 8352, 16162, 23213, 10542, 108084, 18813, 19893, 76935, 4939, 87282, ...
[ 0.1124267578125, 0.084228515625, 0.1912841796875, 0.0643310546875, 0.20556640625, 0.04754638671875, 0.19189453125, 0.25244140625, 0.120849609375, 0.1639404296875, 0.05609130859375, 0.08935546875, 0.0938720703125, 0.1300048828125, 0.06951904296875, 0.0634765625, 0.033477783203125, 0...
embed
4066509_c0
4066509
prolog
0
Title: Predicate to match list (all possibilities) with no duplicate integers, have length N, and be within a domain of 1 to N Problem title: Predicate to match list (all possibilities) with no duplicate integers, have length N, and be within a domain of 1 to N Tags: prolog Problem: Predicate to match list (all possibi...
Predicate to match list (all possibilities) with no duplicate integers, have length N, and be within a domain of 1 to N Predicate to match list (all possibilities) with no duplicate integers, have length N, and be within a domain of 1 to N prolog Predicate row_valid Row no_duplicates_within_domain RestRow no_duplicates...
[ -0.02685546875, 0.0028533935546875, 0.045166015625, -0.00640869140625, -0.02734375, 0.01348876953125, 0.013427734375, 0.006561279296875, 0.00080108642578125, -0.00144195556640625, -0.00579833984375, 0.000530242919921875, 0.01055908203125, 0.006744384765625, -0.0179443359375, -0.0119628...
[ 7145, 2063, 67, 47, 14858, 5303, 5584, 97370, 2449, 678, 110, 171763, 892, 26255, 140909, 541, 28032, 77758, 106, 502, 4867, 15555, 7013, 96190, 693, 52721, 76228, 73, 56206, 49756, 12724, 48325, 19929, 44401, 4211, 9920, 18389, 6562, 881, ...
[ 0.231689453125, 0.254638671875, 0.135009765625, 0.1163330078125, 0.261474609375, 0.2100830078125, 0.08349609375, 0.190185546875, 0.072509765625, 0.0142822265625, 0.1043701171875, 0.2183837890625, 0.144775390625, 0.10711669921875, 0.1087646484375, 0.1419677734375, 0.1158447265625, 0...
embed
64760506_c0
64760506
prolog
0
Title: Should I enforce mode declarations by throwing instantiation errors? Problem title: Should I enforce mode declarations by throwing instantiation errors? Tags: prolog, instantiation-error Problem: Should I enforce mode declarations by throwing instantiation errors? I have been working on some code in which I have...
Should I enforce mode declarations by throwing instantiation errors? Should I enforce mode declarations by throwing instantiation errors? prolog instantiation-error Should list_without_duplicates List1 List2 Acc list_without_duplicates_ ERROR Stack Choice instantiation_error list_without_duplicates_star apply.pl Goal m...
[ 0.0020294189453125, 0.0169677734375, 0.01953125, -0.0277099609375, 0.00150299072265625, 0.0152587890625, -0.01361083984375, 0.00396728515625, 0.006439208984375, -0.0303955078125, 0.0133056640625, -0.00726318359375, 0.006500244140625, -0.00543212890625, 0.0341796875, 0.00160980224609375...
[ 151117, 22, 50930, 13736, 21635, 5256, 104250, 34648, 14, 2320, 18499, 390, 214, 502, 4867, 188800, 5303, 6056, 693, 52721, 32036, 418, 304, 29899, 151206, 6512, 181948, 5613, 59911, 2424, 2016, 22288, 6562, 1218, 4527, 83279, 62346, 112140, ...
[ 0.0733642578125, 0.0543212890625, 0.2147216796875, 0.1727294921875, 0.1741943359375, 0.02362060546875, 0.1768798828125, 0.160888671875, 0.1590576171875, 0.0660400390625, 0.20947265625, 0.007171630859375, 0.0146484375, 0.1058349609375, 0.1971435546875, 0.1875, 0.1302490234375, 0.037...
embed
50514633_c0
50514633
prolog
0
Title: Correct use of logic languages as a tool Problem title: Correct use of logic languages as a tool Tags: clojure-core.logic, logic-programming, minikanren, prolog Problem: Correct use of logic languages as a tool I'm interested in the "use the right tool for the job" philosophy in programming, and I have a problem...
Correct use of logic languages as a tool Correct use of logic languages as a tool clojure-core.logic logic-programming minikanren prolog Correct clojure-core.logic Correct use of logic languages as a tool I'm interested in the "use the right tool for the job" philosophy in programming, and I have a problem I thought mi...
[ 0.017822265625, 0.02001953125, 0.003936767578125, 0.017333984375, -0.006317138671875, 0.0106201171875, 0.00151824951171875, 0.000293731689453125, 0.017578125, -0.05078125, 0.004974365234375, 0.00115966796875, 0.01531982421875, 0.0038299560546875, 0.016357421875, -0.0107421875, -0.012...
[ 46348, 15390, 4527, 62775, 46876, 7, 237, 55516, 10, 20450, 461, 107, 30854, 137043, 28966, 7665, 331, 982, 502, 4867, 60892, 4032, 70, 7108, 100, 12447, 119598, 56037, 449, 2967, 17569, 13648, 132944, 2886, 678, 16940, 30698, 36541, 23755,...
[ 0.19921875, 0.062286376953125, 0.1522216796875, 0.27490234375, 0.231201171875, 0.09814453125, 0.0960693359375, 0.2364501953125, 0.0277252197265625, 0.1094970703125, 0.1160888671875, 0.0936279296875, 0.1402587890625, 0.1964111328125, 0.1588134765625, 0.0892333984375, 0.08856201171875,...
embed
77246501_c0
77246501
prolog
0
Title: Prolog Shark Nationality Problem title: Prolog Shark Nationality Tags: zebra-puzzle, prolog Problem: Prolog Shark Nationality I need to solve this problem with a Prolog code in SWISH: " In a quiet street located in a galaxy far, far away, there are five houses, each of a different color. In each house lives a pe...
Prolog Shark Nationality Prolog Shark Nationality zebra-puzzle prolog Prolog Shark Nationality House Color House-Color house1-red house2-green house3-white house4-yellow house5-blue Person Person-Nationality house1-norwegian house2-english house3-danish house4-german house5-brazilian Beverage Person-Beverage house1-wat...
[ -0.006622314453125, 0.01068115234375, 0.017822265625, 0.005523681640625, -0.004302978515625, 0.001861572265625, -0.018798828125, 0.0208740234375, 0.0135498046875, -0.004364013671875, 0.00165557861328125, 0.016845703125, -0.001373291015625, 0.006500244140625, 0.0087890625, 0.00454711914...
[ 1250, 4867, 26520, 92, 9907, 2481, 116232, 1766, 13894, 133, 502, 13038, 51193, 10625, 1484, 18276, 20268, 2822, 18504, 99433, 27495, 148477, 35748, 1033, 55426, 143802, 15270, 137458, 13665, 1177, 13305, 549, 1505, 2844, 88020, 873, 814, 676...
[ 0.19140625, 0.259765625, 0.1898193359375, 0.13671875, 0.1937255859375, 0.1246337890625, 0.175048828125, 0.113525390625, 0.1375732421875, 0.1024169921875, 0.148681640625, 0.154541015625, 0.188720703125, 0.0474853515625, 0.1375732421875, 0.1485595703125, 0.058807373046875, 0.11340332...
embed
67780753_c0
67780753
prolog
0
Title: I can't call a predicate recursively in SWI-Prolog Problem title: I can't call a predicate recursively in SWI-Prolog Tags: prolog, list, recursion Problem: I can't call a predicate recursively in SWI-Prolog Hello I am writing some code in SWI-Prolog to resolve crosswords, and for some reason, the predi...
I can't call a predicate recursively in SWI-Prolog I can't call a predicate recursively in SWI-Prolog prolog list recursion SWI-Prolog do_something_else do_something Lout space_length Len questions_text LIT Afirmativ Negativ atom_chars do_something_elese List pos_sol I can't call a predicate recursively in SW...
[ 0.0021820068359375, 0.01458740234375, 0.0036163330078125, 0.0013427734375, 0.00201416015625, 0.0213623046875, 0.0034637451171875, 0.00531005859375, 0.01239013671875, -0.04296875, 0.0194091796875, -0.0052490234375, -0.0191650390625, 0.00494384765625, 0.013916015625, 0.00396728515625, ...
[ 831, 3768, 18, 11782, 1653, 2063, 67, 195625, 5844, 159, 38969, 10752, 4867, 502, 5303, 54, 43452, 64113, 5557, 42225, 32628, 23986, 18226, 17582, 22829, 107287, 23044, 13122, 221717, 34627, 9254, 1018, 32036, 3864, 8748, 18151, 103608, 41421...
[ 0.07843017578125, 0.012176513671875, 0.0701904296875, 0.162841796875, 0.1717529296875, 0.233154296875, 0.0849609375, 0.2139892578125, 0.0982666015625, 0.05487060546875, 0.196044921875, 0.12109375, 0.14599609375, 0.100830078125, 0.091552734375, 0.09649658203125, 0.0794677734375, 0.1...
embed
41144855_c0
41144855
prolog
0
Title: Alphabetizing a list of facts using repeat in prolog Problem title: Alphabetizing a list of facts using repeat in prolog Tags: list, prolog, repeat, set, sorting Problem: Alphabetizing a list of facts using repeat in prolog I have a list of facts like this: set(z,a). set(z,3). set(z,k). set(z,10). set(z,z). set(...
Alphabetizing a list of facts using repeat in prolog Alphabetizing a list of facts using repeat in prolog list prolog repeat set sorting repeat Alphabetizing List Set sorted2 Sorted CurrentSmallest ListLength aggregate_all FactCount Answer List2 Alphabetizing a list of facts using repeat in prolog I have a list of fact...
[ 0.00823974609375, -0.004241943359375, 0.02490234375, 0.00106048583984375, -0.00016307830810546875, -0.00640869140625, 0.0084228515625, 0.00262451171875, 0.019287109375, -0.0096435546875, 0.0108642578125, 0.039306640625, -0.0150146484375, -0.01708984375, 0.0101318359375, 0.01611328125, ...
[ 76569, 4626, 84382, 5303, 15824, 7, 17368, 119140, 502, 4867, 5423, 12096, 32036, 19943, 17497, 304, 53666, 114063, 88611, 271, 197564, 5584, 132640, 108210, 130373, 23, 1884, 903, 3871, 2856, 48903, 6494, 2967, 56065, 4527, 6528, 6626, 8781,...
[ 0.1190185546875, 0.1282958984375, 0.048126220703125, 0.1640625, 0.1810302734375, 0.0408935546875, 0.055328369140625, 0.31591796875, 0.15625, 0.213623046875, 0.13330078125, 0.2022705078125, 0.136962890625, 0.1192626953125, 0.1412353515625, 0.059051513671875, 0.134521484375, 0.154296...
embed
66601416_c1
66601416
prolog
1
, Socket), Connection = connection(Socket). connection_socket(Connection, Socket) :- mongo_util:get_nth1_arg(Connection, 1, Socket). %% free_connection(+Connection) is det. % % Frees any resources associated with the Connection handle, % rendering it unusable. free_connection(Connection) :- connection_socket(Connection...
, Socket), Connection = connection(Socket). connection_socket(Connection, Socket) :- mongo_util:get_nth1_arg(Connection, 1, Socket). %% free_connection(+Connection) is det. % % Frees any resources associated with the Connection handle, % rendering it unusable. free_connection(Connection) :- connection_socket(Connection...
[ -0.00185394287109375, 0.0289306640625, 0.020751953125, -0.0159912109375, -0.002349853515625, 0.007293701171875, -0.027099609375, -0.0306396484375, -0.02294921875, -0.0101318359375, 0.02587890625, 0.0157470703125, -0.01080322265625, 0.0026397705078125, -0.010498046875, 0.001335144042968...
[ 4, 1061, 27853, 247, 62448, 1830, 2203, 94878, 8912, 194, 991, 235603, 15772, 14896, 31, 34, 3675, 3794, 927, 61477, 106, 3949, 4092, 135457, 1328, 83, 149, 5153, 65514, 34831, 1745, 89159, 223, 32087, 2046, 37382, 163612, 87599, 187781, ...
[ 0.03466796875, 0.1337890625, 0.235107421875, 0.047698974609375, 0.19384765625, 0.1669921875, 0.0885009765625, 0.2098388671875, 0.1085205078125, 0.012115478515625, 0.1304931640625, 0.1612548828125, 0.05413818359375, 0.1771240234375, 0.217041015625, 0.066162109375, 0.1171875, 0.04458...
embed
61086636_c0
61086636
prolog
0
Title: Perfoming member check on a difference list, but how? Problem title: Perfoming member check on a difference list, but how? Tags: difference-lists, filtering, list, prolog Problem: Perfoming member check on a difference list, but how? I tried to answer another question (wrongly though) and this led to a question ...
Perfoming member check on a difference list, but how? Perfoming member check on a difference list, but how? difference-lists filtering list prolog Perfoming Testing begin_tests collapse_dl end_tests run_tests Out Dlist Back Helper Ldown Lup Objs Front-Back NewTail Append Front-NewTail Front Membership _Objs Yup Cut Obj...
[ 0.00180816650390625, -0.0057373046875, 0.0184326171875, -0.01165771484375, -0.01202392578125, 0.0125732421875, -0.00099945068359375, 0.03173828125, 0.0013885498046875, -0.008056640625, 0.003509521484375, 0.0238037109375, 0.007232666015625, 0.0230712890625, 0.000614166259765625, -0.0145...
[ 908, 3584, 14578, 32786, 12765, 98, 60212, 5303, 1284, 3642, 6562, 46312, 502, 4867, 8647, 9842, 6954, 3365, 127966, 3564, 13538, 26828, 39527, 34695, 104702, 3545, 28175, 43643, 152470, 9874, 5659, 74057, 46471, 2037, 3003, 170, 4966, 48325,...
[ 0.0828857421875, 0.1798095703125, 0.08837890625, 0.2088623046875, 0.24072265625, 0.0758056640625, 0.2705078125, 0.200439453125, 0.093994140625, 0.102294921875, 0.16015625, 0.1082763671875, 0.060577392578125, 0.08587646484375, 0.083251953125, 0.0242919921875, 0.095947265625, 0.02342...
embed
65497652_c0
65497652
prolog
0
Title: Square Puzzle Problem Solution with Constraint Programming Problem title: Square Puzzle Problem Solution with Constraint Programming Tags: prolog, sicstus-prolog, clpfd Problem: Square Puzzle Problem Solution with Constraint Programming Question: Fill in the grid with squares (of any size) that do not touch or o...
Square Puzzle Problem Solution with Constraint Programming Square Puzzle Problem Solution with Constraint Programming prolog sicstus-prolog clpfd Square Puzzle Problem Solution Constraint Programming NumSquares SquareSize use_module utils.pl Rows Columns Vars Domain Size MaxNumSquares StartsX StartsY SquareSizes constr...
[ -0.00531005859375, 0.0004367828369140625, 0.0040283203125, 0.01434326171875, -0.017333984375, -0.007568359375, -0.03271484375, -0.003387451171875, 0.00396728515625, -0.0040283203125, 0.0013275146484375, 0.005767822265625, 0.01080322265625, 0.00701904296875, -0.005157470703125, 0.012145...
[ 68305, 179277, 15649, 187895, 678, 1657, 2816, 4288, 27958, 502, 4867, 26536, 18253, 3454, 39557, 52782, 94727, 127167, 4527, 83279, 39137, 2424, 96190, 233987, 3323, 93702, 80378, 9920, 316, 13794, 1542, 1723, 64549, 108047, 2837, 513, 304, ...
[ 0.259765625, 0.248779296875, 0.1600341796875, 0.1553955078125, 0.07928466796875, 0.1173095703125, 0.200439453125, 0.1246337890625, 0.16552734375, 0.0933837890625, 0.1268310546875, 0.02923583984375, 0.1619873046875, 0.0894775390625, 0.0440673828125, 0.09979248046875, 0.1748046875, 0...
embed
38959798_c1
38959798
prolog
1
{ //include the prolog file with clauses to test File clauseFile = new File ("G:\\Natural Language Final Project\\PrologTest\\src\\clauses_qa2.pl"); File ruleFile = new File ("G:\\Natural Language Final Project\\PrologTest\\src\\rules.pl"); String clausePath = clauseFile.getAbsolutePath(); String rulePath = ruleFile.g...
{ //include the prolog file with clauses to test File clauseFile = new File ("G:\\Natural Language Final Project\\PrologTest\\src\\clauses_qa2.pl"); File ruleFile = new File ("G:\\Natural Language Final Project\\PrologTest\\src\\rules.pl"); String clausePath = clauseFile.getAbsolutePath(); String rulePath = ruleFile.g...
[ 0.0361328125, 0.020751953125, -0.0159912109375, 0.0242919921875, -0.01409912109375, 0.00799560546875, 0.0020599365234375, -0.002288818359375, -0.000568389892578125, -0.032958984375, 0.007720947265625, 0.013916015625, -0.0181884765625, -0.02392578125, 0.00799560546875, 0.011474609375, ...
[ 10666, 4666, 217028, 502, 4867, 11435, 678, 70731, 90, 47, 3034, 42724, 13, 174350, 3525, 724, 149989, 83658, 27188, 27331, 10752, 111337, 19437, 18347, 29001, 5498, 5442, 2424, 79986, 13500, 23351, 10519, 98685, 12353, 6056, 35662, 26253, 60...
[ 0.051055908203125, 0.054931640625, 0.2491455078125, 0.1890869140625, 0.2310791015625, 0.1973876953125, 0.0767822265625, 0.244873046875, 0.147216796875, 0.0577392578125, 0.27001953125, 0.2357177734375, 0.078857421875, 0.243408203125, 0.0560302734375, 0.007049560546875, 0.0709228515625...
embed
30609969_c0
30609969
prolog
0
Title: Prolog isomorphic graphs Problem title: Prolog isomorphic graphs Tags: prolog, graph-theory, isomorphism Problem: Prolog isomorphic graphs Trying to solve the isomorphic graphs problem here. Assignment info: Determine whether 2 undirected graphs are isomorphic. No isolated vertices. Number of vertices is less th...
Prolog isomorphic graphs Prolog isomorphic graphs prolog graph-theory isomorphism Prolog try_bind i.e graph1 RES graph2 iso:-graph1 iso_acc iso_w:-graph1 RES_MAP MAP X_Rest Y_LS Y_Rest UPD_MAP Prolog isomorphic graphs Trying to solve the isomorphic graphs problem here. Assignment info: Determine whether 2 undirected gr...
[ -0.0166015625, 0.0208740234375, -0.00860595703125, 0.007537841796875, -0.0242919921875, 0.015869140625, -0.033935546875, 0.010498046875, 0.00738525390625, -0.01531982421875, 0.01611328125, -0.0130615234375, 0.0096435546875, 0.0036773681640625, 0.0196533203125, 0.007232666015625, -0.0...
[ 1250, 4867, 13882, 178851, 41382, 502, 2347, 9790, 89817, 418, 61661, 304, 10060, 105748, 1193, 1052, 990, 19759, 27560, 397, 86869, 1771, 7, 2967, 31304, 30524, 36766, 116, 51, 80581, 621, 438, 54015, 95378, 5170, 103332, 40715, 496, 69030...
[ 0.1300048828125, 0.2120361328125, 0.1795654296875, 0.2115478515625, 0.2318115234375, 0.0869140625, 0.01153564453125, 0.1651611328125, 0.197998046875, 0.008056640625, 0.100341796875, 0.050933837890625, 0.0222930908203125, 0.1107177734375, 0.010009765625, 0.02252197265625, 0.0458068847...
embed
19433667_c0
19433667
prolog
0
Title: It' possible create a clause that mixes the clauses that it contains? Problem title: It' possible create a clause that mixes the clauses that it contains? Tags: prolog Problem: It' possible create a clause that mixes the clauses that it contains? i have to get a value by developing a list through vario...
It' possible create a clause that mixes the clauses that it contains? It' possible create a clause that mixes the clauses that it contains? prolog List Value calculate_value1 Value1 Value2 Value3 Valu2 Rest Rest1 ValueA Rest2 ValueB Rest3 ValueC calculate_value2 calculate_value3 It' possible create a clause t...
[ 0.0068359375, 0.01470947265625, 0.005218505859375, 0.0250244140625, -0.0166015625, 0.003021240234375, 0.0062255859375, 0.0084228515625, 0.03369140625, 0.004852294921875, -0.0159912109375, 0.01043701171875, 0.01007080078125, -0.0106201171875, 0.0164794921875, 0.0107421875, -0.00212097...
[ 1650, 3768, 7722, 28282, 70731, 13, 17664, 90, 70541, 502, 4867, 32036, 190060, 74481, 27494, 418, 304, 363, 4769, 49756, 450, 2046, 34292, 168698, 5303, 67842, 3714, 2965, 162515, 17721, 12638, 87388, 55769, 47143, 11001, 7413, 69101, 6626, ...
[ 0.0242462158203125, 0.048248291015625, 0.178466796875, 0.1727294921875, 0.2301025390625, 0.1444091796875, 0.215576171875, 0.0853271484375, 0.1251220703125, 0.104248046875, 0.1632080078125, 0.1494140625, 0.1929931640625, 0.134033203125, 0.107177734375, 0.002716064453125, 0.01591491699...
embed
14394347_c0
14394347
prolog
0
Title: How to include an image in an HTML page served dynamically by Prolog? Problem title: How to include an image in an HTML page served dynamically by Prolog? Tags: swi-prolog, httpserver, prolog, image Problem: How to include an image in an HTML page served dynamically by Prolog? If I've bound my Prolog HTTP server...
How to include an image in an HTML page served dynamically by Prolog? How to include an image in an HTML page served dynamically by Prolog? swi-prolog httpserver prolog image an How HTML Prolog Users Luka Desktop ImageName.ext use_module thread_httpd http_dispatch http_parameters html_write file_search_path Port http_s...
[ 0.01275634765625, -0.002044677734375, 0.015869140625, 0.01336669921875, -0.005584716796875, 0.0216064453125, -0.007049560546875, -0.002899169921875, -0.007781982421875, -0.08203125, 0.0162353515625, 0.027099609375, -0.0203857421875, 0.01275634765625, 0.0177001953125, -0.006011962890625...
[ 11249, 26698, 29569, 23, 19097, 9191, 149976, 84079, 25958, 1250, 4867, 390, 91, 2452, 3454, 1621, 39642, 502, 53400, 58592, 141423, 22710, 163612, 3355, 18, 83279, 86997, 5475, 4453, 7693, 11435, 86250, 128405, 13791, 74258, 89159, 37382, 94...
[ 0.056243896484375, 0.209228515625, 0.2347412109375, 0.053253173828125, 0.2095947265625, 0.1502685546875, 0.1309814453125, 0.1656494140625, 0.006195068359375, 0.1707763671875, 0.2469482421875, 0.001678466796875, 0.001617431640625, 0.1331787109375, 0.13037109375, 0.070556640625, 0.1375...
embed
64595616_c0
64595616
prolog
0
Title: First-order predicate logic in Prolog: Working with Signatures and Arithmetic Terms Problem title: First-order predicate logic in Prolog: Working with Signatures and Arithmetic Terms Tags: first-order-logic, prolog, signature, predicate Problem: First-order predicate logic in Prolog: Working with Signatures and ...
First-order predicate logic in Prolog: Working with Signatures and Arithmetic Terms First-order predicate logic in Prolog: Working with Signatures and Arithmetic Terms first-order-logic prolog signature predicate First-order Prolog Working Signatures Arithmetic Terms Term calc2 Expr Op_str Comp1 Comp2 Expr1 Expr2 First...
[ 0.0185546875, 0.01019287109375, -0.004425048828125, 0.0025482177734375, -0.0166015625, -0.0007781982421875, 0.00933837890625, -0.0037841796875, 0.01513671875, -0.035888671875, -0.00616455078125, -0.00750732421875, -0.0191650390625, -0.0081787109375, 0.00982666015625, 0.0028839111328125...
[ 23972, 80596, 1653, 2063, 67, 62775, 1250, 4867, 27985, 678, 26729, 141762, 8962, 165504, 5117, 137043, 502, 138256, 2994, 6510, 238, 304, 60075, 42, 2331, 9297, 15612, 418, 20697, 136, 13448, 271, 34475, 247301, 567, 4028, 40970, 1614, 386...
[ 0.0943603515625, 0.1676025390625, 0.1563720703125, 0.217529296875, 0.05426025390625, 0.203857421875, 0.1666259765625, 0.251953125, 0.069580078125, 0.054443359375, 0.10498046875, 0.1434326171875, 0.1075439453125, 0.1739501953125, 0.00897216796875, 0.13671875, 0.07867431640625, 0.222...
embed
66466729_c0
66466729
prolog
0
Title: What is the approach for dealing with "residual goals" in Prolog? Problem title: What is the approach for dealing with "residual goals" in Prolog? Tags: prolog-coroutining, prolog Problem: What is the approach for dealing with "residual goals" in Prolog? Consider this program as an example. I...
What is the approach for dealing with "residual goals" in Prolog? What is the approach for dealing with "residual goals" in Prolog? prolog-coroutining prolog What Prolog not_occupied Room _Person _7676 What is the approach for dealing with "residual goals" in Prolog? Consider this program as an exam...
[ 0.006988525390625, 0.0184326171875, 0.0240478515625, 0.002685546875, 0.004608154296875, 0.0024871826171875, 0.0223388671875, 0.003662109375, 0.005096435546875, -0.00099945068359375, 0.0038909912109375, -0.0137939453125, -0.0341796875, -0.01385498046875, 0.004241943359375, 0.01831054687...
[ 51515, 184017, 678, 107, 5151, 20605, 109458, 1250, 4867, 23, 502, 6056, 14653, 959, 6652, 1010, 138518, 38484, 160054, 11835, 1528, 27781, 4527, 8, 5259, 69236, 214493, 140992, 99996, 289, 21543, 18, 6183, 63274, 7279, 181135, 62775, 36272, ...
[ 0.1761474609375, 0.141357421875, 0.103515625, 0.0780029296875, 0.1802978515625, 0.1915283203125, 0.250244140625, 0.1607666015625, 0.2275390625, 0.035888671875, 0.1058349609375, 0.056427001953125, 0.0465087890625, 0.049835205078125, 0.0271453857421875, 0.0899658203125, 0.0507202148437...
embed
64905052_c0
64905052
prolog
0
Title: Finding occurrences of predicate within list Problem title: Finding occurrences of predicate within list Tags: prolog Problem: Finding occurrences of predicate within list I'm attempting to find the amount of inversions within a list. Inversions would be defined as any pair a,b from a list, where ai is the index...
Finding occurrences of predicate within list Finding occurrences of predicate within list prolog Finding Index Element List nth1 Finding occurrences of predicate within list I'm attempting to find the amount of inversions within a list. Inversions would be defined as any pair a,b from a list, where ai is the index of a...
[ 0.00016021728515625, 0.00579833984375, 0.005950927734375, 0.0135498046875, -0.017333984375, 0.01470947265625, -0.0027923583984375, 0.004638671875, 0.00689697265625, -0.04736328125, 0.00848388671875, -0.0017547607421875, -0.0018157958984375, 0.01068115234375, 0.0093994140625, 0.00088119...
[ 26040, 74918, 42, 69098, 111, 1653, 2063, 67, 28032, 5303, 502, 4867, 31471, 48325, 32036, 927, 418, 81887, 7413, 41170, 23, 46354, 7, 360, 61924, 237, 2499, 80836, 10, 275, 1300, 63262, 136, 333, 876, 40407, 4426, 179769, 32497, 8108, ...
[ 0.1297607421875, 0.1875, 0.1356201171875, 0.05902099609375, 0.06573486328125, 0.198486328125, 0.2291259765625, 0.1129150390625, 0.1875, 0.2095947265625, 0.1585693359375, 0.200439453125, 0.2274169921875, 0.163818359375, 0.1859130859375, 0.123291015625, 0.0166168212890625, 0.03457641...
embed
30535443_c0
30535443
prolog
0
Title: Incorrect results for Prolog project/puzzle Problem title: Incorrect results for Prolog project/puzzle Tags: maze, prolog Problem: Incorrect results for Prolog project/puzzle I am working in a hard Prolog project/puzzle but I cant find the solution. I would thank any help. The practice is to model and solve logi...
Incorrect results for Prolog project/puzzle Incorrect results for Prolog project/puzzle maze prolog A Incorrect Prolog Doors L-W Incorrect results for Prolog project/puzzle I am working in a hard Prolog project/puzzle but I cant find the solution. I would thank any help. The practice is to model and solve logic program...
[ 0.01068115234375, -0.006622314453125, 0.017578125, 0.01116943359375, -0.004425048828125, -0.000736236572265625, -0.0283203125, -0.01513671875, -0.003265380859375, -0.01043701171875, 0.0247802734375, 0.0022430419921875, -0.00335693359375, 0.007293701171875, 0.00738525390625, 0.002700805...
[ 360, 32399, 15390, 50339, 100, 1250, 4867, 13452, 1766, 13894, 133, 291, 731, 502, 62, 20769, 7, 339, 9, 1456, 20697, 7941, 45767, 7413, 70, 29806, 51544, 4358, 41361, 83, 3299, 136, 86869, 62775, 56037, 449, 8305, 58055, 111, 112875, 1...
[ 0.056854248046875, 0.1947021484375, 0.0372314453125, 0.168212890625, 0.005462646484375, 0.177734375, 0.2496337890625, 0.1475830078125, 0.07220458984375, 0.1124267578125, 0.0596923828125, 0.1370849609375, 0.19189453125, 0.1378173828125, 0.05535888671875, 0.21240234375, 0.0407104492187...
embed
28587975_c0
28587975
prolog
0
Title: Convert first order logic into Prolog Problem title: Convert first order logic into Prolog Tags: prolog Problem: Convert first order logic into Prolog I need to formulate the following FOL sentence as Prolog rule and have absolutely no clue how to do that. (I am new to Prolog): "If two terminals are connected, t...
Convert first order logic into Prolog Convert first order logic into Prolog prolog its Convert Prolog FORALL Terminal Connected Signal same_value There Operator Gates Nothing Convert first order logic into Prolog I need to formulate the following FOL sentence as Prolog rule and have absolutely no clue how to do that. (...
[ 0.020751953125, 0.0025177001953125, -0.00762939453125, 0.0185546875, -0.0220947265625, 0.00982666015625, -0.017333984375, -0.004913330078125, 0.0019378662109375, -0.02880859375, 0.0031585693359375, -0.00921630859375, -0.0155029296875, 0.0106201171875, -0.00116729736328125, -0.000518798...
[ 1657, 11549, 5117, 12989, 62775, 3934, 1250, 4867, 502, 6863, 16087, 66437, 124090, 62448, 144000, 5701, 27494, 8622, 150922, 126507, 182747, 3871, 26168, 172155, 149357, 79986, 110, 29786, 3525, 91306, 6626, 33949, 162711, 7068, 1836, 765, 260...
[ 0.065673828125, 0.1395263671875, 0.1285400390625, 0.19384765625, 0.20068359375, 0.091064453125, 0.1883544921875, 0.251220703125, 0.145751953125, 0.0176544189453125, 0.110107421875, 0.1826171875, 0.187255859375, 0.144775390625, 0.171630859375, 0.1912841796875, 0.0914306640625, 0.097...
embed
21167969_c0
21167969
prolog
0
Title: Stack overflow in solver for Wolf Goat Cabbage puzzle Problem title: Stack overflow in solver for Wolf Goat Cabbage puzzle Tags: stack-overflow, river-crossing-puzzle, prolog Problem: Stack overflow in solver for Wolf Goat Cabbage puzzle I tried to write a program in Prolog to solve the well known Wolf Goat Cabb...
Stack overflow in solver for Wolf Goat Cabbage puzzle Stack overflow in solver for Wolf Goat Cabbage puzzle stack-overflow river-crossing-puzzle prolog one left Stack Wolf Goat Cabbage Helper Tail NTail There Side Disembarking Crew Crossing Right Nextleft Nextright Find Run Stack overflow in solver for Wolf Goat Cabbag...
[ 0.0034332275390625, 0.0225830078125, 0.0025482177734375, 0.000823974609375, -0.0203857421875, -0.00885009765625, -0.025634765625, -0.004974365234375, 0.007415771484375, -0.0419921875, 0.02294921875, -0.01287841796875, 0.00445556640625, -0.0006866455078125, 0.0284423828125, 0.0018692016...
[ 6512, 2594, 645, 118664, 3115, 814, 45492, 2016, 257, 30438, 402, 429, 104192, 100, 177261, 5465, 96113, 95665, 1766, 13894, 502, 4867, 1632, 25737, 39527, 1218, 25820, 8622, 24383, 19267, 180282, 47832, 90911, 4997, 54969, 26040, 28398, 23, ...
[ 0.1483154296875, 0.0936279296875, 0.138427734375, 0.2425537109375, 0.120849609375, 0.1761474609375, 0.1964111328125, 0.1505126953125, 0.1278076171875, 0.1204833984375, 0.1685791015625, 0.10400390625, 0.1552734375, 0.007720947265625, 0.1805419921875, 0.08685302734375, 0.1153564453125,...
embed
5288024_c0
5288024
prolog
0
Title: Using prolog with emacs Problem title: Using prolog with emacs Tags: emacs, emacs23, prolog Problem: Using prolog with emacs GNU Emacs 23.2.1 Fedora xfce 14 I starting to get into Prolog, and I want to use my emacs as the IDE for programming in Prolog. Currently I use emacs for c/c++. But not sure how to get sta...
Using prolog with emacs Using prolog with emacs emacs emacs23 prolog Using GNU Emacs Fedora M-X Load-library gprolog.x86_64 Prolog pl.x86_64 SWI-Prolog Edinburgh pl-static.x86_64 Static SWI ppl-gprolog.x86_64 Parma Polyhedra Library ppl-gprolog-static.x86_64 ppl-swiprolog.x86_64 ppl-swiprolog-static.x86_64 ppl-yap.x86_...
[ 0.025146484375, -0.004547119140625, -0.001373291015625, -0.01318359375, -0.0025482177734375, 0.036376953125, -0.01513671875, -0.00213623046875, -0.006072998046875, -0.03515625, 0.00927734375, 0.00799560546875, -0.0242919921875, -0.0133056640625, -0.001861572265625, -0.023681640625, -...
[ 345, 6953, 502, 4867, 678, 352, 2263, 7, 3742, 165132, 85269, 4439, 4221, 11606, 276, 9, 1542, 2091, 150, 2844, 706, 3454, 15276, 13307, 1250, 6456, 159, 38969, 10752, 210479, 201939, 71465, 2424, 2392, 63306, 5252, 103835, 2452, 62959, 1...
[ 0.113525390625, 0.0262603759765625, 0.210693359375, 0.2666015625, 0.150634765625, 0.1328125, 0.1988525390625, 0.1070556640625, 0.21337890625, 0.1483154296875, 0.1923828125, 0.17626953125, 0.1116943359375, 0.1612548828125, 0.072265625, 0.041717529296875, 0.137939453125, 0.0601501464...
embed
20956354_c0
20956354
prolog
0
Title: Prolog Backtracking On Finding A Solution And Returning False Problem title: Prolog Backtracking On Finding A Solution And Returning False Tags: prolog, prolog-toplevel, backtracking Problem: Prolog Backtracking On Finding A Solution And Returning False I'm taking a crack at Prolog (using SWI-Prolog) and everyth...
Prolog Backtracking On Finding A Solution And Returning False Prolog Backtracking On Finding A Solution And Returning False prolog prolog-toplevel backtracking Prolog Backtracking Finding Solution Returning list_all_tall Tall Note Prolog Backtracking On Finding A Solution And Returning False I'm taking a crack at Prolo...
[ 0.03759765625, 0.033447265625, 0.0216064453125, 0.0030517578125, -0.008056640625, 0.0002956390380859375, 0.006591796875, -0.007720947265625, 0.008056640625, -0.00347900390625, 0.0186767578125, -0.0086669921875, -0.00151824951171875, 0.01953125, 0.01055908203125, -0.0026397705078125, ...
[ 1250, 4867, 26828, 125728, 214, 2161, 26040, 62, 187895, 3493, 173340, 22225, 184, 502, 13784, 67919, 4420, 5303, 5584, 91569, 92229, 18622, 35971, 116546, 159, 38969, 10752, 26818, 43240, 1884, 3444, 62775, 74481, 26785, 7413, 7108, 51347, 2...
[ 0.1641845703125, 0.2384033203125, 0.178955078125, 0.263671875, 0.1097412109375, 0.0750732421875, 0.1597900390625, 0.0716552734375, 0.232666015625, 0.0308837890625, 0.1986083984375, 0.162109375, 0.127197265625, 0.09588623046875, 0.0263824462890625, 0.0992431640625, 0.1961669921875, ...
embed
72621945_c0
72621945
prolog
0
Title: Prolog - animal puzzle, need to force each atom to be used only once Problem title: Prolog - animal puzzle, need to force each atom to be used only once Tags: zebra-puzzle, unique, prolog Problem: Prolog - animal puzzle, need to force each atom to be used only once I've seen a few posts on SO discussing this puz...
Prolog - animal puzzle, need to force each atom to be used only once Prolog - animal puzzle, need to force each atom to be used only once zebra-puzzle unique prolog Prolog fire_chief empty_gun north_africa central_africa south_africa west_africa east_africa invalid_list all_adventures all_unique Prolog - animal puzzle,...
[ -0.004913330078125, -0.0037078857421875, 0.006591796875, 0.005584716796875, -0.01092529296875, -0.0211181640625, -0.0177001953125, -0.0013427734375, 0.01385498046875, -0.041259765625, -0.0019683837890625, 0.0247802734375, 0.0260009765625, 0.002593994140625, 0.01348876953125, 0.01599121...
[ 1250, 4867, 26249, 104192, 3871, 37772, 12638, 34627, 11814, 4734, 24145, 116232, 1766, 13894, 36998, 502, 11476, 206, 29469, 201505, 6967, 144477, 72428, 9879, 127067, 65272, 11, 56649, 6562, 756, 712, 43210, 90, 34, 45602, 186, 272, 10, 1...
[ 0.1729736328125, 0.25732421875, 0.2154541015625, 0.2091064453125, 0.1124267578125, 0.170654296875, 0.1614990234375, 0.250732421875, 0.1683349609375, 0.134765625, 0.2100830078125, 0.1986083984375, 0.06292724609375, 0.0985107421875, 0.1343994140625, 0.1165771484375, 0.1220703125, 0.0...
embed
36529551_c0
36529551
prolog
0
Title: How to apply rules to a list, before the head of the list? Problem title: How to apply rules to a list, before the head of the list? Tags: list, prolog Problem: How to apply rules to a list, before the head of the list? I have a set of rules with this form: regla(o,o,o,o). And the way the statement (this is home...
How to apply rules to a list, before the head of the list? How to apply rules to a list, before the head of the list? list prolog How ensure_loaded automaton.pl Output Accumulator InList OutList Caso Base Input Result Head1Arg1 Head2Arg1 Head3Arg1 How to apply rules to a list, before the head of the list? I have a set ...
[ 0.0018768310546875, 0.0130615234375, -0.000713348388671875, 0.0263671875, -0.0028076171875, 0.00897216796875, -0.0008392333984375, 0.02880859375, 0.012939453125, -0.041259765625, 0.0224609375, 0.0211181640625, -0.01019287109375, 0.00494384765625, 0.020751953125, -0.0023956298828125, ...
[ 11249, 47, 59911, 91736, 5303, 8108, 10336, 111, 502, 4867, 63284, 63033, 11408, 191, 2424, 13538, 316, 129073, 360, 154663, 100709, 44978, 126684, 44816, 418, 363, 177, 10, 70, 5423, 3173, 3917, 63805, 5368, 18244, 59121, 237, 107730, 116,...
[ 0.09466552734375, 0.1226806640625, 0.1927490234375, 0.2353515625, 0.2330322265625, 0.2025146484375, 0.2208251953125, 0.1134033203125, 0.0831298828125, 0.133544921875, 0.1502685546875, 0.049468994140625, 0.1566162109375, 0.0947265625, 0.0750732421875, 0.0523681640625, 0.05374145507812...
embed
79435759_c0
79435759
prolog
0
Title: How do I pass parameters to prolog's Query function? Problem title: How do I pass parameters to prolog's Query function? Tags: prolog, go, ffi, equation Problem: How do I pass parameters to prolog's Query function? Here’s an answer to the question: To pass parameters to the Query function in the ichiba...
How do I pass parameters to prolog's Query function? How do I pass parameters to prolog's Query function? prolog go ffi equation dynamic compound How Query github.com Initialize Prolog prolog.NewMachine Add m.Exec log.Fatal Use fmt.Sprintf Run m.Query Iterate solutions.Next fmt.Println Found solutions.Err Whe...
[ 0.00494384765625, 0.0240478515625, 0.000270843505859375, 0.00738525390625, -0.025146484375, -0.001495361328125, 0.009033203125, -0.000797271728515625, -0.0022430419921875, -0.042724609375, 0.006195068359375, -0.0283203125, -0.029052734375, 0.00081634521484375, 0.00445556640625, -0.0046...
[ 11249, 54, 87, 27875, 171859, 7, 47, 502, 4867, 3768, 58836, 53, 32354, 738, 24500, 5490, 84079, 217773, 62270, 32102, 40705, 1250, 4613, 99326, 29117, 347, 3240, 12684, 17647, 1803, 1238, 18, 35662, 420, 28398, 41732, 8560, 51347, 112079, ...
[ 0.099609375, 0.0411376953125, 0.059356689453125, 0.2396240234375, 0.3134765625, 0.15966796875, 0.1622314453125, 0.176513671875, 0.28125, 0.03631591796875, 0.2215576171875, 0.1793212890625, 0.2100830078125, 0.07366943359375, 0.125244140625, 0.1317138671875, 0.1591796875, 0.194335937...
embed
36604649_c0
36604649
prolog
0
Title: Prolog compound statement returning multiple variables Problem title: Prolog compound statement returning multiple variables Tags: prolog Problem: Prolog compound statement returning multiple variables I'm super new to Prolog, like, my professor assigned us a program and just asked us to watch a couple youtube v...
Prolog compound statement returning multiple variables Prolog compound statement returning multiple variables prolog Prolog Drug Interaction attempted_suicide cardiac_decompensation isosorbide-5-mononitrate arteriosclerotic_heart_disease bone_marrow_failure difficulty_breathing acid_reflux heart_attack Prolog compound ...
[ -0.01373291015625, -0.0177001953125, 0.000614166259765625, 0.0233154296875, -0.0157470703125, 0.0294189453125, 0.008056640625, -0.0123291015625, 0.007171630859375, -0.0267333984375, 0.00799560546875, 0.00113677978515625, -0.017578125, -0.01177978515625, 0.004119873046875, 0.01184082031...
[ 1250, 4867, 217773, 63805, 30646, 48716, 77336, 502, 125183, 5337, 44713, 81887, 1159, 2624, 165441, 112, 84615, 13882, 4970, 20848, 10342, 64176, 6773, 17957, 146027, 106013, 32881, 118201, 120540, 34844, 4134, 43840, 56219, 26498, 102, 1601, ...
[ 0.171875, 0.261962890625, 0.2220458984375, 0.201416015625, 0.1484375, 0.1827392578125, 0.2413330078125, 0.1243896484375, 0.1522216796875, 0.10650634765625, 0.1181640625, 0.153564453125, 0.0819091796875, 0.1046142578125, 0.08843994140625, 0.03851318359375, 0.08099365234375, 0.013580...
embed
21220573_c0
21220573
prolog
0
Title: Learning Prolog: solving a crossword scheme Problem title: Learning Prolog: solving a crossword scheme Tags: prolog, crossword Problem: Learning Prolog: solving a crossword scheme I'm trying to learn Prolog following the tutorials on this site and I can't find a solution to an exercise (and there's no solution o...
Learning Prolog: solving a crossword scheme Learning Prolog: solving a crossword scheme prolog crossword Learning Prolog V11 V12 V13 V14 V15 V16 V17 H11 H13 H14 H15 H16 H17 H21 H23 H24 H25 H26 H27 H31 H33 H34 H35 H36 H37 V21 V22 V23 V24 V25 V26 V27 H12 H22 H32 V31 V32 V33 V34 V35 V36 V37 V1a V1bH1b V1c V1dH2b V1e V1fH3...
[ 0.005096435546875, -0.00665283203125, -0.01104736328125, 0.00738525390625, -0.01190185546875, 0.010009765625, -0.0233154296875, 0.0086669921875, -0.000705718994140625, -0.0361328125, 0.026611328125, -0.00640869140625, 0.007049560546875, 0.0054931640625, -0.02294921875, 0.0152587890625,...
[ 114344, 1250, 4867, 3115, 6496, 10, 41421, 47416, 150370, 502, 310, 1662, 1530, 2681, 2592, 1837, 2485, 2489, 3117, 2357, 2588, 4046, 3768, 5016, 9185, 10289, 5843, 420, 31577, 30698, 57143, 1764, 18, 7413, 29806, 81979, 110, 5701, 12638, ...
[ 0.10791015625, 0.155029296875, 0.2364501953125, 0.131591796875, 0.082763671875, 0.047698974609375, 0.09796142578125, 0.1544189453125, 0.2022705078125, 0.122314453125, 0.1201171875, 0.139404296875, 0.0906982421875, 0.0943603515625, 0.08502197265625, 0.0628662109375, 0.07525634765625, ...
embed
75010632_c0
75010632
prolog
0
Title: What's wrong with this prolog program for a json parser? Problem title: What's wrong with this prolog program for a json parser? Tags: json, parsing, prolog Problem: What's wrong with this prolog program for a json parser? I was trying to create a prolog JSON parser that has a string and a variable for...
What's wrong with this prolog program for a json parser? What's wrong with this prolog program for a json parser? json parsing prolog What use_module Value string_chars Chars json_value json_object json_array json_number json_string json_true json_false json_null Members json_members Member json_pair Name Ele...
[ 0.005615234375, -0.000949859619140625, -0.01025390625, 0.0106201171875, -0.0166015625, 0.03857421875, -0.0220947265625, 0.0140380859375, -0.00115966796875, -0.0177001953125, 0.00078582763671875, 0.01177978515625, -0.0286865234375, -0.0224609375, 0.0267333984375, 0.020751953125, -0.00...
[ 4865, 3768, 44691, 678, 903, 502, 4867, 1528, 1647, 1681, 366, 2189, 6953, 4527, 83279, 190060, 79315, 9254, 21656, 27494, 187694, 2606, 91693, 9774, 8710, 139550, 74057, 27417, 109637, 15757, 48325, 62766, 7868, 34627, 4460, 18151, 50986, 10...
[ 0.025390625, 0.0587158203125, 0.1636962890625, 0.05108642578125, 0.06707763671875, 0.1517333984375, 0.232421875, 0.15966796875, 0.09979248046875, 0.149658203125, 0.1177978515625, 0.123291015625, 0.039703369140625, 0.0848388671875, 0.1383056640625, 0.171142578125, 0.19580078125, 0.1...
embed
10211976_c0
10211976
prolog
0
Title: Generating sudoku 'boxes' from rows - prolog Problem title: Generating sudoku 'boxes' from rows - prolog Tags: sudoku, sublist, prolog, do-while, clpfd Problem: Generating sudoku 'boxes' from rows - prolog I'm trying to write a simple program that just checks whether or not an input sudoku bo...
Generating sudoku 'boxes' from rows - prolog Generating sudoku 'boxes' from rows - prolog sudoku sublist prolog do-while clpfd rows Generating use_module Takes all_diff Columns KxK Generating sudoku 'boxes' from rows - prolog I'm trying to write a simple program that just checks whether or not an in...
[ 0.017578125, 0.0172119140625, 0.0098876953125, -0.0194091796875, -0.02490234375, -0.03662109375, -0.006805419921875, 0.0106201171875, 0.01031494140625, -0.0103759765625, -0.0004100799560546875, -0.00677490234375, -0.01483154296875, -0.00701904296875, -0.0067138671875, 0.0113525390625, ...
[ 155370, 8932, 38067, 3768, 11728, 90, 1295, 15555, 502, 4867, 1614, 6562, 204610, 4527, 83279, 2561, 152462, 233987, 341, 425, 605, 31577, 33022, 8781, 1528, 12765, 36766, 959, 107730, 45443, 82424, 214552, 1556, 6626, 5701, 101935, 3365, 316...
[ 0.17138671875, 0.12060546875, 0.207763671875, 0.0225830078125, 0.1982421875, 0.1029052734375, 0.0965576171875, 0.19775390625, 0.07763671875, 0.1617431640625, 0.1126708984375, 0.1337890625, 0.18017578125, 0.0694580078125, 0.1011962890625, 0.045928955078125, 0.142822265625, 0.1507568...
embed
31783499_c0
31783499
prolog
0
Title: Easy prolog queries Problem title: Easy prolog queries Tags: prolog Problem: Easy prolog queries I am very new to prolog and although I’ve read some books I can definitely tell that my programming brain can’t think the Prolog way. The problem I would like to solve is pretty simple (I believe). I will describe it...
Easy prolog queries Easy prolog queries prolog Easy can_connect node_type assoc_types Typed check_connections N:NT N:T Changes Graph M:MT X:MT P:Y SsSize Lower Upper MyList MySize Easy prolog queries I am very new to prolog and although I’ve read some books I can definitely tell that my programming brain can’t think th...
[ 0.0108642578125, 0.01080322265625, -0.0000667572021484375, 0.0172119140625, -0.0179443359375, 0.00946044921875, -0.0264892578125, 0.01129150390625, 0.013671875, -0.050537109375, -0.0029754638671875, -0.034423828125, -0.004302978515625, 0.00579833984375, 0.0079345703125, -0.007659912109...
[ 71975, 502, 4867, 41, 10484, 831, 135457, 110, 112, 50986, 63927, 238, 60457, 12765, 541, 22879, 618, 87377, 6524, 11727, 37290, 1193, 1723, 127167, 61187, 26655, 2646, 154663, 4552, 3525, 12301, 42840, 759, 56037, 78574, 18, 5351, 1250, 39...
[ 0.25439453125, 0.1707763671875, 0.270751953125, 0.128662109375, 0.06500244140625, 0.08782958984375, 0.1864013671875, 0.1502685546875, 0.075927734375, 0.2010498046875, 0.0618896484375, 0.027313232421875, 0.1978759765625, 0.162841796875, 0.03289794921875, 0.075439453125, 0.032653808593...
embed
62983943_c0
62983943
prolog
0
Title: Optimization for the solution of farmer goat wolf and cabbage problem in Prolog Problem title: Optimization for the solution of farmer goat wolf and cabbage problem in Prolog Tags: river-crossing-puzzle, prolog Problem: Optimization for the solution of farmer goat wolf and cabbage problem in Prolog I am searchin...
Optimization for the solution of farmer goat wolf and cabbage problem in Prolog Optimization for the solution of farmer goat wolf and cabbage problem in Prolog river-crossing-puzzle prolog Optimization Prolog empty_stack Top Stack member_stack Element reverse_print_stack Rest BACKTRACK Goal Been_stack Solution Path Sta...
[ 0.00830078125, 0.01519775390625, -0.00482177734375, 0.00836181640625, -0.0269775390625, -0.0096435546875, -0.03369140625, -0.004638671875, -0.0034332275390625, -0.0223388671875, 0.0191650390625, -0.017578125, 0.00946044921875, 0.000732421875, 0.00157928466796875, 0.006195068359375, -...
[ 43938, 47691, 29806, 171751, 738, 257, 13924, 420, 136, 38980, 402, 429, 2967, 1250, 4867, 96113, 95665, 214, 1766, 13894, 133, 502, 201505, 590, 4792, 6512, 2594, 32786, 48325, 39531, 35662, 49756, 8678, 20572, 37082, 2016, 873, 33, 187895...
[ 0.180419921875, 0.10382080078125, 0.15966796875, 0.21337890625, 0.1552734375, 0.1163330078125, 0.1744384765625, 0.1280517578125, 0.1082763671875, 0.1336669921875, 0.1629638671875, 0.09918212890625, 0.1773681640625, 0.16015625, 0.243896484375, 0.125732421875, 0.12548828125, 0.046691...
embed
2156581_c0
2156581
prolog
0
Title: Extending a Prolog goal through recursion? Problem title: Extending a Prolog goal through recursion? Tags: list, prolog, recursion, scheduling Problem: Extending a Prolog goal through recursion? I've implemented (finally) a few goals that will schedule a series of tasks according to a startBy startAfter and dura...
Extending a Prolog goal through recursion? Extending a Prolog goal through recursion? list prolog recursion scheduling Extending Prolog can_run RTs Rtn SA1 SB1 SB1-SA1 SA2 SB2 SB2-SA2 Rst Extending a Prolog goal through recursion? I've implemented (finally) a few goals that will schedule a series of tasks according to ...
[ -0.01019287109375, 0.027587890625, 0.03076171875, 0.01068115234375, -0.02880859375, -0.0250244140625, -0.02880859375, -0.0015869140625, -0.00396728515625, -0.008056640625, 0.00148773193359375, -0.0025482177734375, -0.0078125, -0.002655029296875, -0.0025634765625, -0.005035400390625, ...
[ 5443, 67, 33770, 1250, 4867, 69236, 8305, 195625, 1830, 5303, 502, 5094, 15246, 831, 16428, 27389, 7, 627, 18, 19, 5377, 418, 90944, 20268, 6703, 304, 18504, 271, 29479, 33870, 109458, 80889, 36549, 66211, 59499, 4034, 75358, 46327, 115, ...
[ 0.1378173828125, 0.2080078125, 0.07147216796875, 0.188232421875, 0.259765625, 0.257568359375, 0.1112060546875, 0.250244140625, 0.15673828125, 0.161865234375, 0.1474609375, 0.09503173828125, 0.138916015625, 0.1524658203125, 0.193115234375, 0.192626953125, 0.044464111328125, 0.015563...
embed
47436983_c0
47436983
prolog
0
Title: How to write a prolog program to control another command line program? Problem title: How to write a prolog program to control another command line program? Tags: swi-prolog, prolog Problem: How to write a prolog program to control another command line program? I would like to learn how to write a prolog program...
How to write a prolog program to control another command line program? How to write a prolog program to control another command line program? swi-prolog prolog TypeError How setup_call_cleanup process_create Out read_lines Lines my_command_loop read_line_to_codes Line1 end_of_file Codes Line atom_codes Line2 Enter Comm...
[ 0.0264892578125, -0.00506591796875, -0.0174560546875, 0.01458740234375, -0.013916015625, 0.01092529296875, 0.01531982421875, -0.0240478515625, -0.006744384765625, -0.03662109375, 0.0194091796875, 0.005767822265625, -0.02490234375, -0.0172119140625, 0.0150146484375, -0.00092697143554687...
[ 11249, 47, 33022, 502, 4867, 1528, 6226, 15700, 75101, 13315, 91, 2452, 3454, 60457, 18468, 169581, 85763, 11030, 66, 2037, 9433, 7612, 13538, 12301, 59801, 16777, 759, 277, 12018, 28354, 2256, 40899, 3564, 29822, 28864, 34627, 60816, 123573,...
[ 0.0718994140625, 0.08355712890625, 0.201416015625, 0.1962890625, 0.2398681640625, 0.2108154296875, 0.2318115234375, 0.150390625, 0.1705322265625, 0.142822265625, 0.019256591796875, 0.165771484375, 0.1673583984375, 0.0928955078125, 0.0882568359375, 0.115966796875, 0.09320068359375, ...
embed
74838023_c0
74838023
prolog
0
Title: negation \+ and vanilla meta-interpreter Problem title: negation \+ and vanilla meta-interpreter Tags: prolog-metainterpreter, prolog, swi-prolog Problem: negation \+ and vanilla meta-interpreter The following is the classic "textbook" vanilla meta-interpreter for prolog. % simplest meta-interpreter solve(true) ...
negation \+ and vanilla meta-interpreter negation \+ and vanilla meta-interpreter prolog-metainterpreter prolog swi-prolog Mary James Sally _5488 Exit:clause Call:solve Call:clause _5508 negation \+ and vanilla meta-interpreter The following is the classic "textbook" vanilla meta-interpreter for prolog. The following i...
[ -0.00183868408203125, 0.0016326904296875, 0.0087890625, 0.023193359375, -0.01300048828125, 0.003082275390625, 0.01104736328125, 0.00885009765625, 0.0098876953125, -0.0238037109375, -0.00360107421875, 0.0198974609375, -0.02490234375, -0.02294921875, 0.03369140625, -0.001983642578125, ...
[ 108, 125682, 41872, 1328, 136, 131, 2298, 23550, 158288, 56, 502, 4867, 35273, 91, 2452, 3454, 23213, 14631, 6565, 538, 758, 161414, 5443, 18347, 26265, 86918, 90393, 1019, 25632, 54704, 22829, 14137, 9, 8781, 1528, 137633, 15824, 6626, 915...
[ 0.201416015625, 0.2020263671875, 0.046844482421875, 0.1683349609375, 0.0531005859375, 0.178955078125, 0.215576171875, 0.2220458984375, 0.227783203125, 0.156982421875, 0.1475830078125, 0.2021484375, 0.1239013671875, 0.04119873046875, 0.19970703125, 0.1669921875, 0.14599609375, 0.171...
embed
75955001_c1
75955001
prolog
1
ness_of_breath). covid_symptom(fatigue). covid_symptom(loss_of_taste_or_smell). % Kraken (XBB.1.5) variant symptoms kraken_symptom(intense_headache). kraken_symptom(chest_pain). kraken_symptom(sudden_loss_of_hearing). % Omicron Variant symptoms omicron_symptom(sore_throat). omicron_symptom(rapid_heartbeat). omicron_sym...
PycharmProjects/ExpertSystem/venv/lib/python3.11/site-packages/pyswip/prolog.py", line 156, in consult next(cls.query(filename.join(["consult('", "')"]), catcherrors=catcherrors)) File "/Users/user/PycharmProjects/ExpertSystem/venv/lib/python3.11/site-packages/pyswip/prolog.py", line 126, in call raise PrologError("".j...
[ 0.0164794921875, -0.0028076171875, 0.0025634765625, 0.0147705078125, -0.004638671875, -0.0152587890625, -0.0074462890625, 0.0191650390625, -0.0084228515625, -0.034423828125, 0.019775390625, -0.0260009765625, -0.018798828125, -0.0146484375, -0.00250244140625, -0.0035552978515625, 0.00...
[ 27512, 9254, 39, 223353, 219413, 84293, 1353, 334, 5612, 6493, 50828, 97109, 11090, 29102, 2452, 254, 3454, 4867, 13315, 73176, 75463, 11737, 34937, 944, 29822, 11627, 513, 147834, 105556, 188800, 4460, 206, 42724, 65918, 4652, 56859, 49988, ...
[ 0.1026611328125, 0.19091796875, 0.127197265625, 0.10394287109375, 0.1063232421875, 0.11376953125, 0.1246337890625, 0.140869140625, 0.0257568359375, 0.1607666015625, 0.1317138671875, 0.0819091796875, 0.0810546875, 0.1219482421875, 0.1993408203125, 0.110107421875, 0.1439208984375, 0....
embed
23839477_c0
23839477
prolog
0
Title: Prolog Smart Graph Algorithm Problem title: Prolog Smart Graph Algorithm Tags: prolog Problem: Prolog Smart Graph Algorithm I am a university student who is being taught Prolog. I am only 3 weeks into the course and this is my first assignment. The goal of the assignment is to create a graph searching algorithm ...
Prolog Smart Graph Algorithm Prolog Smart Graph Algorithm prolog Prolog Smart Graph Algorithm Steps Start End Node Finish Visited Path Prolog Smart Graph Algorithm I am a university student who is being taught Prolog. I am only 3 weeks into the course and this is my first assignment. The goal of the assignment is to cr...
[ 0.003875732421875, 0.026611328125, 0.0302734375, 0.01458740234375, -0.0225830078125, 0.01611328125, -0.0289306640625, -0.007659912109375, 0.01239013671875, -0.05419921875, -0.0003108978271484375, 0.01153564453125, -0.0213623046875, 0.004974365234375, -0.004302978515625, 0.0083618164062...
[ 1250, 4867, 19204, 6524, 11727, 109847, 2783, 18337, 502, 50478, 13794, 18878, 438, 112, 13316, 98684, 108421, 152363, 9836, 189924, 4734, 138, 40859, 15411, 5117, 95486, 69236, 28282, 41382, 157318, 234873, 30646, 60875, 3564, 37629, 24233, 11...
[ 0.1978759765625, 0.260498046875, 0.197265625, 0.190185546875, 0.1114501953125, 0.1279296875, 0.08184814453125, 0.0347900390625, 0.129638671875, 0.0972900390625, 0.09326171875, 0.135009765625, 0.130126953125, 0.085693359375, 0.10986328125, 0.1807861328125, 0.154052734375, 0.04461669...
embed
37481743_c0
37481743
prolog
0
Title: How to generate every combination from a given amount of integers Problem title: How to generate every combination from a given amount of integers Tags: prolog, list Problem: How to generate every combination from a given amount of integers I found this code which does exactly what I want: gets a list of integer...
How to generate every combination from a given amount of integers How to generate every combination from a given amount of integers prolog list a How Perm OutputArcs OutputPermutation TODO EnumNodos EnumArcos How to generate every combination from a given amount of integers I found this code which does exactly what I w...
[ -0.0244140625, 0.0205078125, 0.00185394287109375, 0.015869140625, -0.009033203125, 0.00836181640625, -0.0162353515625, -0.0033416748046875, 0.018310546875, -0.046142578125, 0.007110595703125, 0.007598876953125, 0.025390625, 0.0137939453125, -0.007293701171875, -0.007293701171875, 0.0...
[ 11249, 47, 139392, 11907, 162515, 1295, 34475, 41170, 892, 26255, 502, 4867, 5303, 908, 39, 13538, 7077, 7614, 4439, 15277, 561, 9926, 13223, 357, 316, 5021, 1140, 7840, 14037, 18151, 66161, 3444, 62163, 2174, 1632, 117, 22062, 959, 23356, ...
[ 0.082275390625, 0.011566162109375, 0.2222900390625, 0.214599609375, 0.291748046875, 0.1314697265625, 0.1448974609375, 0.1409912109375, 0.14453125, 0.1204833984375, 0.1304931640625, 0.17529296875, 0.1007080078125, 0.18310546875, 0.1539306640625, 0.113037109375, 0.0225067138671875, 0...
embed
74858083_c0
74858083
prolog
0
Title: Is there a way to tell Prolog that the argument X of a specific predicate f(X) is always true if the predicate is true? Problem title: Is there a way to tell Prolog that the argument X of a specific predicate f(X) is always true if the predicate is true? Tags: prolog Problem: Is there a way to tell Prolog that t...
Is there a way to tell Prolog that the argument X of a specific predicate f(X) is always true if the predicate is true? Is there a way to tell Prolog that the argument X of a specific predicate f(X) is always true if the predicate is true? prolog Prolog proven_true condition_1 condition_2 condition_n Is there a way to ...
[ 0.01336669921875, -0.008056640625, 0.0142822265625, 0.009521484375, -0.01416015625, 0.015869140625, 0.0084228515625, 0.0001544952392578125, 0.0030517578125, -0.03466796875, 0.0169677734375, 0.0272216796875, -0.029052734375, 0.01434326171875, 0.021728515625, 0.0035552978515625, 0.0075...
[ 3917, 14192, 1250, 4867, 450, 10750, 1193, 29458, 1653, 2063, 67, 1238, 1542, 11343, 29568, 2174, 502, 60449, 9774, 35431, 115187, 304, 111, 112302, 63805, 3445, 837, 275, 68034, 2843, 61924, 13, 15824, 27289, 3444, 30816, 54, 2886, 4488, ...
[ 0.0626220703125, 0.1275634765625, 0.17724609375, 0.2431640625, 0.002044677734375, 0.241455078125, 0.170166015625, 0.137451171875, 0.171142578125, 0.1890869140625, 0.04278564453125, 0.1259765625, 0.1591796875, 0.1395263671875, 0.209228515625, 0.06024169921875, 0.142578125, 0.1875, ...
embed
30284762_c0
30284762
prolog
0
Title: Four Professions prolog puzzle Problem title: Four Professions prolog puzzle Tags: zebra-puzzle, prolog Problem: Four Professions prolog puzzle I am trying to solve a puzzle in prolog and i made only a part of it, i can't figure out how to finish it. This is the problem: Consider four men with last names of Bake...
Four Professions prolog puzzle Four Professions prolog puzzle zebra-puzzle prolog Four Professions Baker DOMAINS lastname2 profession2 list2 PREDICATES CLAUSES Item Tail List BakerFatherJob Carpenter CarpenterFatherJob Miller MillerFatherJob Farmer FarmerFatherJob BakerSonJob CarpenterSonJob MillerSonJob FarmerSonJob F...
[ 0.00012302398681640625, 0.000782012939453125, -0.0098876953125, 0.003814697265625, -0.025146484375, 0.004180908203125, -0.0289306640625, 0.008544921875, 0.01611328125, -0.0177001953125, 0.0036468505859375, 0.0184326171875, 0.00347900390625, 0.01129150390625, 0.004791259765625, 0.011291...
[ 65056, 150627, 7, 502, 4867, 104192, 116232, 1766, 13894, 133, 133840, 69285, 48026, 4568, 11627, 304, 40124, 5303, 134366, 30941, 129636, 78441, 78426, 1218, 379, 32036, 17647, 9319, 194802, 131947, 36126, 102617, 51869, 69611, 160960, 4815, 1...
[ 0.253173828125, 0.29443359375, 0.0657958984375, 0.1707763671875, 0.2049560546875, 0.2088623046875, 0.17431640625, 0.0885009765625, 0.1181640625, 0.0260009765625, 0.288330078125, 0.118896484375, 0.047027587890625, 0.14599609375, 0.1318359375, 0.042938232421875, 0.2340087890625, 0.10...
embed
12445305_c0
12445305
prolog
0
Title: Writing recursion in swi-prolog Problem title: Writing recursion in swi-prolog Tags: prolog Problem: Writing recursion in swi-prolog I have successfully connected PHP with Prolog and managed to query the desired knowledge base that resides in knowledge_base.pl file and managed to echo the results via php exec fu...
Writing recursion in swi-prolog Writing recursion in swi-prolog prolog Writing knowledge_base.pl hangs_out_with Someone knowledge_database.pl Writing recursion in swi-prolog I have successfully connected PHP with Prolog and managed to query the desired knowledge base that resides in knowledge_base.pl file and managed t...
[ 0.020751953125, 0.015380859375, 0.01025390625, 0.0020294189453125, 0.005645751953125, 0.016845703125, -0.013671875, -0.00138092041015625, 0.004547119140625, -0.035888671875, 0.0076904296875, -0.005889892578125, -0.0081787109375, 0.00970458984375, 0.04052734375, 0.01214599609375, 0.02...
[ 213185, 195625, 1830, 91, 2452, 3454, 4867, 23, 502, 51359, 37382, 2424, 10756, 6056, 76228, 31384, 3630, 10135, 65771, 162711, 47302, 1250, 41, 104851, 3647, 157176, 11435, 28, 3089, 50339, 3958, 1119, 3240, 32354, 190647, 2967, 29568, 248, ...
[ 0.2274169921875, 0.282470703125, 0.167236328125, 0.03143310546875, 0.2264404296875, 0.1717529296875, 0.259033203125, 0.037445068359375, 0.1588134765625, 0.1597900390625, 0.1986083984375, 0.18115234375, 0.158447265625, 0.199462890625, 0.1776123046875, 0.0217132568359375, 0.11474609375...
embed
29522178_c0
29522178
prolog
0
Title: sicstus prolog move predicate Problem title: sicstus prolog move predicate Tags: prolog, predicate, list Problem: sicstus prolog move predicate I have a list that I want to manipulate in Prolog according to this description: Original list: ABC DEF GHI Moving C , I can have two results (from top-right to top-left...
sicstus prolog move predicate sicstus prolog move predicate prolog predicate list ABC GHI CAB ABF DEI GHC GBC AEF DHI HIG DBC GEF EFD NL1 sicstus prolog move predicate I have a list that I want to manipulate in Prolog according to this description: Original list: Moving C , I can have two results (from top-right to top...
[ -0.00069427490234375, 0.01416015625, 0.01544189453125, -0.000048160552978515625, -0.03466796875, 0.01397705078125, -0.01544189453125, 0.041015625, 0.01708984375, -0.010986328125, -0.00848388671875, 0.0244140625, -0.026123046875, -0.0167236328125, -0.00994873046875, 0.007598876953125, ...
[ 26536, 18253, 502, 4867, 25813, 1653, 2063, 67, 5303, 47457, 21159, 11040, 82350, 157292, 73265, 441, 28482, 572, 31343, 24318, 51779, 397, 39102, 418, 3444, 45258, 1250, 76811, 34525, 2501, 6496, 313, 831, 6626, 50339, 2663, 54969, 103136, ...
[ 0.133056640625, 0.2327880859375, 0.17431640625, 0.259521484375, 0.2142333984375, 0.166748046875, 0.2254638671875, 0.07568359375, 0.1773681640625, 0.1390380859375, 0.07427978515625, 0.080322265625, 0.1070556640625, 0.11376953125, 0.06683349609375, 0.05364990234375, 0.1129150390625, ...
embed
75502875_c0
75502875
prolog
0
Title: What are some best practices for writing Prolog predicates so that it works in different ways the arguments are specified Problem title: What are some best practices for writing Prolog predicates so that it works in different ways the arguments are specified Tags: prolog Problem: What are some best practices for...
What are some best practices for writing Prolog predicates so that it works in different ways the arguments are specified What are some best practices for writing Prolog predicates so that it works in different ways the arguments are specified prolog What Prolog my_length What are some best practices for writing Prolog...
[ -0.01055908203125, 0.02783203125, 0.00714111328125, -0.01031494140625, 0.00408935546875, 0.01007080078125, 0.02783203125, 0.001556396484375, 0.036376953125, -0.044921875, 0.01318359375, -0.01031494140625, -0.005859375, 0.0267333984375, 0.0269775390625, 0.0023956298828125, 0.027099609...
[ 2965, 41361, 32562, 1250, 4867, 1653, 2063, 1636, 43240, 12921, 48322, 10750, 58735, 502, 4865, 759, 454, 23986, 927, 31577, 29479, 8781, 9007, 3611, 90698, 23468, 55950, 36663, 7413, 140909, 5303, 114689, 6626, 3714, 107730, 2367, 83, 140992...
[ 0.136962890625, 0.2152099609375, 0.191650390625, 0.2333984375, 0.291259765625, 0.2210693359375, 0.2393798828125, 0.1243896484375, 0.1083984375, 0.135498046875, 0.1156005859375, 0.215576171875, 0.1868896484375, 0.1795654296875, 0.04815673828125, 0.18310546875, 0.0347900390625, 0.203...
embed
75401727_c0
75401727
prolog
0
Title: Combining constraints with catch/3 Problem title: Combining constraints with catch/3 Tags: sicstus-prolog, prolog, clpz Problem: Combining constraints with catch/3 How do SICStus Prolog style attributed variables and the catch/throw Prolog exception handling mechanism interact? Deep within the source code of lib...
Combining constraints with catch/3 Combining constraints with catch/3 sicstus-prolog prolog clpz Combining with_local_attributes Vars Goal Result del_all_attrs local_attributes put_atts clpz_aux clpz_relation clpz_gcc_vs clpz_gcc_num clpz_gcc_occurred copy_term Combining constraints with catch/3 How do SICStus Prolog s...
[ -0.0031890869140625, 0.02734375, -0.01275634765625, -0.003082275390625, -0.0010223388671875, -0.005340576171875, -0.00970458984375, 0.00189208984375, 0.0050048828125, -0.018798828125, 0.00433349609375, 0.0167236328125, 0.0020904541015625, 0.017822265625, 0.021728515625, 0.00537109375, ...
[ 106935, 158, 2816, 4288, 678, 105556, 18113, 26536, 18253, 3454, 4867, 502, 254, 169, 98908, 257, 191145, 3323, 7, 2016, 289, 126684, 146, 5584, 27639, 4295, 4000, 3884, 33139, 10442, 107, 57860, 10060, 18043, 2606, 64240, 43658, 32166, 159...
[ 0.17529296875, 0.07684326171875, 0.17919921875, 0.1246337890625, 0.1103515625, 0.19970703125, 0.27099609375, 0.048095703125, 0.1812744140625, 0.0865478515625, 0.1826171875, 0.08154296875, 0.040740966796875, 0.1387939453125, 0.1121826171875, 0.029937744140625, 0.1663818359375, 0.179...
embed
12803898_c0
12803898
prolog
0
Title: Unexpected behavior of the JPL library in multithreaded programs (Interfacing Java and Prolog) Problem title: Unexpected behavior of the JPL library in multithreaded programs (Interfacing Java and Prolog) Tags: jpl, prolog, multithreading, java Problem: Unexpected behavior of the JPL library in multithreaded pro...
Unexpected behavior of the JPL library in multithreaded programs (Interfacing Java and Prolog) Unexpected behavior of the JPL library in multithreaded programs (Interfacing Java and Prolog) jpl prolog multithreading java RuntimeException Unexpected JPL Interfacing Java Prolog Query System.out.println query.hasSolution ...
[ 0.0235595703125, 0.0167236328125, -0.00799560546875, 0.01043701171875, -0.0142822265625, -0.009521484375, 0.001708984375, -0.005218505859375, -0.0162353515625, -0.046630859375, 0.0035247802734375, 0.0255126953125, -0.0198974609375, -0.0052490234375, 0.0101318359375, 0.0166015625, 0.0...
[ 83613, 13, 123166, 821, 21130, 35773, 1294, 3869, 65847, 712, 103391, 44851, 91468, 41925, 1250, 4867, 214, 1647, 2424, 502, 11, 6238, 79, 330, 28398, 6032, 63928, 5337, 58836, 53, 12353, 6056, 5, 35662, 141, 19, 41, 10557, 102588, 34, ...
[ 0.08233642578125, 0.0386962890625, 0.111572265625, 0.1422119140625, 0.25244140625, 0.2171630859375, 0.0870361328125, 0.153564453125, 0.1748046875, 0.058319091796875, 0.09039306640625, 0.0253753662109375, 0.1253662109375, 0.165283203125, 0.147705078125, 0.1834716796875, 0.011505126953...
embed
15707815_c0
15707815
prolog
0
Title: write_canonical() and natural language interpretation Problem title: write_canonical() and natural language interpretation Tags: prolog, declarative Problem: write_canonical() and natural language interpretation Implement the following two operators has and of in such a way that with phrases like: peter has car ...
write_canonical() and natural language interpretation write_canonical() and natural language interpretation prolog declarative write_canonical write_canonical() and natural language interpretation I have this simple program that define two operator: has (that specify who have what ) and of (that specifies who owns what...
[ 0.01708984375, 0.00909423828125, 0.009765625, 0.038330078125, 0.0111083984375, 0.0032958984375, -0.0027008056640625, -0.009765625, -0.01275634765625, -0.0390625, 0, 0.00823974609375, 0.0224609375, 0.00013446807861328125, 0.0017547607421875, -0.0025634765625, -0.00164794921875, 0.00...
[ 33022, 38938, 19, 21533, 132, 136, 6083, 46876, 206019, 502, 4867, 21635, 4935, 8781, 1528, 61924, 6626, 39933, 1556, 86673, 40140, 2750, 765, 2367, 111, 58735, 10002, 29806, 1250, 31344, 11435, 159, 38969, 209806, 32354, 2452, 3454, 29713, ...
[ 0.255615234375, 0.127197265625, 0.10791015625, 0.2164306640625, 0.06475830078125, 0.0606689453125, 0.1815185546875, 0.17236328125, 0.2440185546875, 0.156494140625, 0.2236328125, 0.1497802734375, 0.0714111328125, 0.05596923828125, 0.1298828125, 0.149169921875, 0.0880126953125, 0.229...
embed
77047716_c0
77047716
prolog
0
Title: Find Busy Beaver values for Prolog programs Problem title: Find Busy Beaver values for Prolog programs Tags: prolog Problem: Find Busy Beaver values for Prolog programs The famous Busy Beaver function measures the most complex Turing Machine with a size of n states and m symbols, and that halts. In one version t...
Find Busy Beaver values for Prolog programs Find Busy Beaver values for Prolog programs prolog Find Busy Beaver Prolog BB_Prolog Find Busy Beaver values for Prolog programs The famous Busy Beaver function measures the most complex Turing Machine with a size of n states and m symbols, and that halts. In one version the ...
[ 0.0135498046875, 0.009033203125, 0.010498046875, 0.00046539306640625, -0.0084228515625, 0.005615234375, 0.01495361328125, -0.01611328125, 0.01275634765625, -0.0252685546875, -0.00689697265625, 0.017333984375, -0.01470947265625, -0.01043701171875, 0.0400390625, 0.004638671875, 0.00503...
[ 26040, 25852, 53, 873, 11, 814, 142424, 1250, 4867, 103391, 502, 40746, 10752, 170277, 32354, 72350, 2684, 27140, 4252, 214, 68311, 13267, 653, 117249, 347, 26582, 58810, 1632, 11389, 36279, 4034, 44237, 62690, 2704, 14012, 106, 1733, 39958, ...
[ 0.123291015625, 0.219482421875, 0.1861572265625, 0.1343994140625, 0.1624755859375, 0.2264404296875, 0.2117919921875, 0.1717529296875, 0.2415771484375, 0.19580078125, 0.1175537109375, 0.10711669921875, 0.1334228515625, 0.1055908203125, 0.1907958984375, 0.210205078125, 0.1026611328125,...
embed
12253974_c0
12253974
prolog
0
Title: Solving a textual logic puzzle in Prolog - Find birthday and month Problem title: Solving a textual logic puzzle in Prolog - Find birthday and month Tags: prolog-dif, prolog, zebra-puzzle Problem: Solving a textual logic puzzle in Prolog - Find birthday and month I'm reading the "7 Languages in 7 Days"-book, and...
Solving a textual logic puzzle in Prolog - Find birthday and month Solving a textual logic puzzle in Prolog - Find birthday and month prolog-dif prolog zebra-puzzle Solving Prolog Find is_day Day is_month Month Name1 Month1 Day1 Name2 Month2 Day2 Name3 Month3 Day3 Name4 Month4 Day4 Name5 Month5 Day5 Five Abigail Brenda...
[ 0.00811767578125, -0.0257568359375, 0.0341796875, 0.0201416015625, -0.01806640625, 0.00157928466796875, -0.0322265625, 0.0028076171875, 0.0022430419921875, -0.018798828125, 0.00038909912109375, 0.006744384765625, 0.01239013671875, -0.00848388671875, 0.010986328125, 0.0262451171875, -...
[ 6678, 6496, 90426, 289, 62775, 104192, 1250, 4867, 26040, 101207, 136, 31150, 502, 428, 420, 116232, 1766, 13894, 83, 5636, 10013, 15477, 12982, 15757, 418, 363, 617, 758, 156615, 62, 56818, 379, 174762, 23213, 73212, 45501, 11994, 72864, 4...
[ 0.10791015625, 0.013092041015625, 0.1785888671875, 0.07220458984375, 0.1529541015625, 0.1624755859375, 0.164306640625, 0.2464599609375, 0.1556396484375, 0.1956787109375, 0.12646484375, 0.1796875, 0.11181640625, 0.0194244384765625, 0.052337646484375, 0.147705078125, 0.04656982421875, ...
embed
36875221_c0
36875221
prolog
0
Title: Prolog: each player in a game plays a card. With partial knowledge of who played which cards, deduce who played the others Problem title: Prolog: each player in a game plays a card. With partial knowledge of who played which cards, deduce who played the others Tags: logic, clpfd, prolog Problem: Prolog: each pla...
Prolog: each player in a game plays a card. With partial knowledge of who played which cards, deduce who played the others Prolog: each player in a game plays a card. With partial knowledge of who played which cards, deduce who played the others logic clpfd prolog Prolog Order num_cards Prolog: each player in a game pl...
[ -0.00115203857421875, -0.0084228515625, 0.003387451171875, 0.0125732421875, 0.01068115234375, 0.0026397705078125, -0.01171875, 0.0032501220703125, 0.0213623046875, -0.048095703125, -0.0257568359375, 0.0203857421875, -0.004638671875, 0.031982421875, -0.0025787353515625, -0.0058288574218...
[ 1250, 4867, 12638, 58585, 23, 6712, 11301, 20596, 17106, 2878, 51359, 2750, 112730, 3129, 126381, 8, 106357, 70, 27060, 62775, 39557, 71, 502, 81206, 13269, 38931, 31577, 86869, 8781, 138, 92865, 66083, 25027, 136, 71305, 98423, 23410, 55076,...
[ 0.1951904296875, 0.255126953125, 0.137939453125, 0.1878662109375, 0.0237884521484375, 0.1131591796875, 0.156494140625, 0.2327880859375, 0.01507568359375, 0.09375, 0.1297607421875, 0.104248046875, 0.1881103515625, 0.06207275390625, 0.2462158203125, 0.1552734375, 0.197265625, 0.00088...
embed
4475666_c0
4475666
prolog
0
Title: Emulating Prolog backtracking in F# Problem title: Emulating Prolog backtracking in F# Tags: pattern-matching, prolog, parsing, language-design, f%23 Problem: Emulating Prolog backtracking in F# I am currently involved in a project to develop an application able to consider a set of nodes and connections and fin...
Emulating Prolog backtracking in F# Emulating Prolog backtracking in F# pattern-matching prolog parsing language-design f%23 Emulating Prolog myfact1 el1 el2 myfact2 factname1 factname2 factnale2 factname3 Emulating Prolog backtracking in F# I am currently involved in a project to develop an application able to conside...
[ 0.0286865234375, 0.0087890625, 0.007476806640625, 0.0113525390625, -0.01312255859375, -0.0015411376953125, 0.01190185546875, 0.003326416015625, 0.0133056640625, -0.048583984375, 0.008544921875, -0.004058837890625, -0.0267333984375, -0.0028533935546875, 0.01141357421875, 0.0098876953125...
[ 241, 19908, 1916, 1250, 4867, 4420, 125728, 214, 563, 4904, 23, 103510, 98753, 502, 366, 6953, 46876, 34198, 1238, 3742, 759, 114700, 418, 88, 304, 15824, 11627, 31441, 363, 82424, 75412, 10, 13452, 85493, 142, 38415, 47, 16916, 5423, 111...
[ 0.0826416015625, 0.2430419921875, 0.04693603515625, 0.1866455078125, 0.27685546875, 0.1744384765625, 0.26416015625, 0.0229949951171875, 0.1700439453125, 0.25927734375, 0.09149169921875, 0.144287109375, 0.1217041015625, 0.1119384765625, 0.155517578125, 0.033599853515625, 0.10412597656...
embed
58762782_c0
58762782
prolog
0
Title: Tau Prolog behaving differently from sandbox Problem title: Tau Prolog behaving differently from sandbox Tags: tau-prolog, html, javascript, prolog Problem: Tau Prolog behaving differently from sandbox Issue: Program that works perfectly in Tau Prolog online interpretator behaves differently when executed on a l...
Tau Prolog behaving differently from sandbox Tau Prolog behaving differently from sandbox tau-prolog html javascript prolog sandbox Tau Prolog use_module Head Tail Tail1 Tail3 chosen_main chosen_meals ask_meals ask_main pl.create document.getElementById session.consult console.log session.query session.answers Term Arr...
[ 0.005523681640625, 0.004669189453125, 0.00124359130859375, -0.0007171630859375, -0.020263671875, 0.00070953369140625, -0.0037689208984375, 0.0238037109375, 0.0011749267578125, -0.040283203125, 0.017333984375, 0.006927490234375, -0.02392578125, 0.004913330078125, 0.020263671875, -0.0010...
[ 21139, 1250, 4867, 186, 528, 12921, 538, 1295, 19096, 11728, 6496, 5705, 3454, 7693, 136951, 502, 4527, 83279, 44816, 1218, 379, 418, 363, 19667, 24931, 282, 16765, 26458, 6456, 7612, 12937, 19929, 56002, 147834, 130250, 10133, 2994, 69253, ...
[ 0.296875, 0.2109375, 0.275390625, 0.09320068359375, 0.1522216796875, 0.195556640625, 0.051849365234375, 0.1121826171875, 0.1431884765625, 0.2174072265625, 0.010009765625, 0.253662109375, 0.118896484375, 0.1026611328125, 0.182373046875, 0.1336669921875, 0.0848388671875, 0.0838623046...
embed
15926094_c0
15926094
prolog
0
Title: Compare facts and output result Problem title: Compare facts and output result Tags: prolog Problem: Compare facts and output result I am new to Prolog and I am attempting to make a quiz where the user is given 3 questions and 3 options for each question. After each question is asked, the 3 possible choice of an...
Compare facts and output result Compare facts and output result prolog Compare What Solar System George Best Austraila Confused check_answer AnsNo Choice ChoiceNo ChoiceList Choose Illegal get_question PreviousAsked QNum Text start_quiz Updated Right Wrong Compare facts and output result I am new to Prolog and I am att...
[ 0.0146484375, -0.009521484375, 0.01116943359375, 0.0023956298828125, -0.0257568359375, -0.00182342529296875, -0.0038604736328125, 0.0107421875, 0.017578125, 0.000957489013671875, -0.007659912109375, 0.00860595703125, -0.0185546875, 0.004608154296875, 0.008056640625, 0.00982666015625, ...
[ 113307, 13, 15824, 7, 136, 140992, 16750, 502, 4867, 4865, 56944, 12353, 14787, 11345, 5489, 1517, 2439, 106161, 33740, 12765, 10133, 893, 5021, 181948, 154663, 211525, 891, 86966, 2046, 7162, 6422, 19659, 12225, 2396, 316, 24129, 4034, 3181,...
[ 0.2049560546875, 0.0880126953125, 0.212890625, 0.1199951171875, 0.114501953125, 0.283447265625, 0.228271484375, 0.091064453125, 0.2303466796875, 0.0853271484375, 0.1773681640625, 0.185302734375, 0.220947265625, 0.1605224609375, 0.06549072265625, 0.0888671875, 0.1239013671875, 0.086...
embed
16740600_c0
16740600
prolog
0
Title: Problems with TXT file encoding in Prolog program on Linux system Problem title: Problems with TXT file encoding in Prolog program on Linux system Tags: unicode, prolog, character-encoding, swi-prolog, linux Problem: Problems with TXT file encoding in Prolog program on Linux system I am working on an university ...
Problems with TXT file encoding in Prolog program on Linux system Problems with TXT file encoding in Prolog program on Linux system unicode prolog character-encoding swi-prolog linux Problems TXT Prolog Linux dataggare.txt oracolo.txt FMeasure Warning oracolo.txt:1:422 Illegal UTF-8 oracolo.txt:2:77 oracolo.txt:2:129 o...
[ 0.031494140625, -0.0166015625, 0.00897216796875, 0.0037384033203125, -0.020263671875, -0.0262451171875, 0.0029144287109375, 0.0240478515625, -0.00469970703125, -0.000492095947265625, 0.006072998046875, -0.00170135498046875, -0.01123046875, -0.010498046875, -0.000579833984375, 0.0163574...
[ 15649, 678, 384, 70981, 11435, 22, 587, 6238, 1250, 4867, 1528, 29908, 5426, 23, 60347, 502, 62816, 66332, 2452, 3454, 11508, 6077, 2053, 31199, 107, 124326, 3620, 22796, 21855, 13, 11, 56851, 5550, 33529, 891, 86966, 30992, 17376, 14546, ...
[ 0.15087890625, 0.01751708984375, 0.07904052734375, 0.240966796875, 0.16064453125, 0.06695556640625, 0.195068359375, 0.04388427734375, 0.17333984375, 0.22705078125, 0.142822265625, 0.19189453125, 0.0926513671875, 0.0217437744140625, 0.0885009765625, 0.126220703125, 0.1038818359375, ...
embed
53904040_c0
53904040
prolog
0
Title: Prolog labeling gives redundant solutions in prolog Problem title: Prolog labeling gives redundant solutions in prolog Tags: prolog, clpfd Problem: Prolog labeling gives redundant solutions in prolog I have a homework to do for school, which is as follow : Anne and Michel are people who organize a dinner with a ...
Prolog labeling gives redundant solutions in prolog Prolog labeling gives redundant solutions in prolog prolog clpfd Prolog use_module MAIN PREDICATE Guests produce_table produce_assoc_list reduce_domain different_places label_places La_trie print_table ASSOCIATIVE LIST CONSTRAINTS reduce_domain_aux separate_neighbors ...
[ -0.01080322265625, 0.0025787353515625, 0.004058837890625, 0.01153564453125, -0.0179443359375, -0.007354736328125, -0.01519775390625, 0.004302978515625, 0.01507568359375, -0.046630859375, -0.00836181640625, -0.01263427734375, -0.0022735595703125, 0.021484375, 0.0120849609375, 0.00576782...
[ 1250, 4867, 67967, 214, 76199, 4842, 35405, 51347, 502, 18, 23, 39557, 71, 4527, 83279, 48026, 134366, 30941, 83054, 27489, 22819, 73395, 6562, 34390, 56206, 12921, 23935, 239, 97351, 28412, 13055, 40453, 195977, 59020, 84797, 6958, 3422, 152...
[ 0.1851806640625, 0.273193359375, 0.270263671875, 0.07037353515625, 0.0850830078125, 0.13525390625, 0.2408447265625, 0.2479248046875, 0.14208984375, 0.0257720947265625, 0.036376953125, 0.027069091796875, 0.036956787109375, 0.09088134765625, 0.1187744140625, 0.07550048828125, 0.1331787...
embed
29320119_c0
29320119
prolog
0
Title: swi prolog simple robot Problem title: swi prolog simple robot Tags: io, prolog, recursion Problem: swi prolog simple robot I am writing a program in prolog that should interact with the user. I have a database of bands that I like and that I dislike, and I can ask prolog about these bands. First I have to say h...
swi prolog simple robot swi prolog simple robot io prolog recursion Ask Word LikeList Style DisLikeList Wordlist get0 Char End ASCII Skip Letter Letters Nextchar Read Item List swi prolog simple robot I am writing a program in prolog that should interact with the user. I have a database of bands that I like and that I ...
[ -0.003997802734375, -0.0030517578125, 0.000507354736328125, 0.0205078125, -0.00775146484375, 0.0257568359375, 0.01373291015625, 0.00830078125, 0.011962890625, -0.049072265625, 0.0076904296875, 0.006622314453125, -0.0203857421875, -0.01611328125, 0.028564453125, 0.0191650390625, 0.030...
[ 91, 2452, 502, 4867, 8781, 11329, 22995, 195625, 1830, 105219, 22543, 18852, 154663, 57845, 6206, 156607, 6562, 2389, 21656, 18878, 10001, 91958, 105451, 4997, 9254, 4764, 78426, 32036, 32562, 1528, 78974, 38937, 63399, 8753, 1884, 2837, 5062, ...
[ 0.023193359375, 0.1968994140625, 0.17578125, 0.230712890625, 0.18359375, 0.2315673828125, 0.1715087890625, 0.1998291015625, 0.02313232421875, 0.1279296875, 0.12841796875, 0.1513671875, 0.147216796875, 0.145751953125, 0.058349609375, 0.1551513671875, 0.1258544921875, 0.0694580078125...
embed
55635258_c0
55635258
prolog
0
Title: No 'Access-Control- Allow-Origin' header is present on the requested resource. How to properly serve CORS requests in SWI-Prolog / ClioPatria? Problem title: No 'Access-Control- Allow-Origin' header is present on the requested resource. How to properly serve CORS requests in SWI-Prolog / Clio...
No 'Access-Control- Allow-Origin' header is present on the requested resource. How to properly serve CORS requests in SWI-Prolog / ClioPatria? No 'Access-Control- Allow-Origin' header is present on the requested resource. How to properly serve CORS requests in SWI-Prolog / ClioPatria? cliopatria cor...
[ 0.0196533203125, 0.030029296875, 0.01251220703125, -0.015869140625, 0.000518798828125, -0.016845703125, 0.01123046875, 0.0203857421875, 0.0078125, -0.034423828125, 0.02392578125, 0.00628662109375, -0.032958984375, -0.00048828125, 0.01434326171875, 0.01513671875, -0.005523681640625, ...
[ 438, 3768, 39450, 26531, 175904, 41566, 670, 10384, 10336, 56, 13379, 50336, 177953, 11249, 155965, 21265, 70555, 294, 7, 159, 38969, 10752, 4867, 313, 10258, 222071, 11, 9, 95701, 31, 95543, 8231, 1621, 75616, 502, 2452, 3454, 59665, 40266...
[ 0.0919189453125, 0.022247314453125, 0.0269012451171875, 0.1790771484375, 0.2418212890625, 0.166748046875, 0.0863037109375, 0.184814453125, 0.198974609375, 0.1182861328125, 0.10333251953125, 0.1915283203125, 0.1495361328125, 0.023773193359375, 0.1107177734375, 0.184814453125, 0.248291...
embed
59828754_c1
59828754
prolog
1
"beautiful"). Just one beautiful argument true. Same as: ?- format("Just one ~w argument", ["beautiful"]). Just one beautiful argument true I would be more appropriate to issue "warning" at runtime and continue, leaving the developer to fix the program later. In a production system, a problem with format/x arguments m...
, i.e. already behaves leniently in the case of "one argument which is not a list": Same as: I would be more appropriate to issue "warning" at runtime and continue, leaving the developer to fix the program later. In a production system, a problem with format/x arguments might not be hit for some time and making it tear...
[ -0.0118408203125, 0.018310546875, 0.00726318359375, -0.00579833984375, -0.00066375732421875, 0.0057373046875, 0.0230712890625, 0.0166015625, 0.013671875, 0.041259765625, 0.0263671875, -0.03759765625, -0.007171630859375, -0.0126953125, 0.04541015625, -0.01708984375, 0.02392578125, -...
[ 21771, 186, 68991, 7, 3098, 18750, 3630, 10750, 3129, 83, 959, 5303, 1286, 95307, 31089, 4205, 592, 11675, 6032, 21342, 137802, 106001, 30022, 1528, 36049, 5426, 2967, 9384, 64, 425, 13648, 5962, 3060, 1733, 120, 7565, 70, 31895, 36663, 2...
[ 0.1832275390625, 0.0714111328125, 0.1771240234375, 0.054107666015625, 0.1671142578125, 0.20166015625, 0.1231689453125, 0.2415771484375, 0.0030517578125, 0.0703125, 0.10125732421875, 0.140380859375, 0.012542724609375, 0.065185546875, 0.08050537109375, 0.118408203125, 0.1217041015625, ...
embed
68514037_c0
68514037
prolog
0
Title: Using a Bash Script To Automate Testing of A Prolog File Problem title: Using a Bash Script To Automate Testing of A Prolog File Tags: prolog, gnu-prolog Problem: Using a Bash Script To Automate Testing of A Prolog File I am in the process of grading student assignments, and wish to automatically run queries on ...
Using a Bash Script To Automate Testing of A Prolog File Using a Bash Script To Automate Testing of A Prolog File prolog gnu-prolog Using Bash Script Automate Testing Prolog File hw4_autograde.sh testcases.txt logtalk_tester tests.lgt Tests shuff_working shuff_wrong shuff_wrong_2 shuff_wrong_3 shuff_var doub_working do...
[ 0.0157470703125, 0.018798828125, 0.0108642578125, -0.005340576171875, -0.014892578125, -0.0234375, -0.0031585693359375, -0.0023193359375, 0.00335693359375, -0.0047607421875, 0.00787353515625, 0.043701171875, -0.0142822265625, 0.01104736328125, -0.004791259765625, -0.0181884765625, 0....
[ 345, 144334, 84654, 51719, 8647, 214, 1250, 4867, 42724, 717, 13, 502, 104155, 3454, 1096, 434, 617, 8913, 44286, 1495, 3034, 58437, 124326, 12684, 139109, 67, 109921, 14686, 18, 8633, 4902, 174796, 35133, 304, 363, 1961, 5829, 16995, 15334...
[ 0.054962158203125, 0.1895751953125, 0.2340087890625, 0.1934814453125, 0.207763671875, 0.02947998046875, 0.157958984375, 0.2203369140625, 0.1724853515625, 0.0057373046875, 0.020660400390625, 0.126708984375, 0.1514892578125, 0.1240234375, 0.03509521484375, 0.056884765625, 0.13696289062...
embed
54004796_c0
54004796
prolog
0
Title: Representing linear functions in prolog Problem title: Representing linear functions in prolog Tags: prolog Problem: Representing linear functions in prolog I want to write compound terms that represent linear relations between different variables in a population of the form Y = a + b*X (e.g. fuelConsumption = 2...
Representing linear functions in prolog Representing linear functions in prolog prolog Representing Car car1 car2 car3 car4 Representing linear functions in prolog I want to write compound terms that represent linear relations between different variables in a population of the form Y = a + b*X (e.g. fuelConsumption = 2...
[ 0.04248046875, -0.01348876953125, 0.004486083984375, 0.004425048828125, -0.004608154296875, -0.0029754638671875, 0.004638671875, 0.0047607421875, 0.0172119140625, -0.05908203125, -0.027099609375, 0.01904296875, -0.020263671875, -0.0135498046875, 0.01409912109375, -0.00994873046875, 0...
[ 853, 55247, 192617, 32354, 23, 502, 4867, 3980, 2258, 418, 304, 363, 617, 3444, 33022, 217773, 69407, 33636, 91582, 17721, 12921, 77336, 43904, 3173, 990, 997, 1639, 1542, 160692, 71836, 116, 138, 661, 62488, 58055, 44402, 13254, 41911, 167...
[ 0.045440673828125, 0.2269287109375, 0.2490234375, 0.2017822265625, 0.0161590576171875, 0.164306640625, 0.2357177734375, 0.1634521484375, 0.17041015625, 0.021087646484375, 0.058319091796875, 0.07550048828125, 0.117431640625, 0.01617431640625, 0.10357666015625, 0.2296142578125, 0.17639...
embed
46482372_c0
46482372
prolog
0
Title: When searching, Prolog gives correct answers but repeats them N times before searching another Problem title: When searching, Prolog gives correct answers but repeats them N times before searching another Tags: search, prolog, boolean-logic Problem: When searching, Prolog gives correct answers but repeats them N...
When searching, Prolog gives correct answers but repeats them N times before searching another When searching, Prolog gives correct answers but repeats them N times before searching another search prolog boolean-logic When Prolog Object Declaration Initial Situation Blocks World Preconditions move_to_block move_to_tabl...
[ -0.0062255859375, 0.0036468505859375, 0.01611328125, 0.0133056640625, -0.0142822265625, -0.0002613067626953125, 0.0140380859375, -0.01177978515625, 0.024658203125, -0.034423828125, -0.0003452301025390625, 0.02294921875, -0.0157470703125, -0.00885009765625, -0.003997802734375, 0.0111694...
[ 14847, 157318, 1250, 4867, 76199, 26785, 35166, 1284, 119140, 7, 2856, 541, 20028, 8108, 15700, 33938, 502, 31, 34677, 137043, 134549, 98501, 1890, 53577, 80231, 6661, 1914, 126940, 25813, 188, 81409, 22819, 66349, 129297, 83, 3331, 171760, 2...
[ 0.03399658203125, 0.252197265625, 0.2064208984375, 0.30419921875, 0.08233642578125, 0.154052734375, 0.161865234375, 0.0772705078125, 0.2080078125, 0.00860595703125, 0.0147705078125, 0.1380615234375, 0.1751708984375, 0.10186767578125, 0.068115234375, 0.1884765625, 0.115966796875, 0....
embed
24978774_c0
24978774
prolog
0
Title: Prolog : Recursive Function Branching & "Returning" Problem title: Prolog : Recursive Function Branching & "Returning" Tags: list, prolog, recursion Problem: Prolog : Recursive Function Branching & "Returning" I was writing few recursive Prolog predicates and ran into a certain point ...
Prolog : Recursive Function Branching & "Returning" Prolog : Recursive Function Branching & "Returning" list prolog recursion Prolog Recursive Branching Returning ListHead ListTail PList NList Prolog : Recursive Function Branching & "Returning" I was writing few recursive Prolog predicates a...
[ -0.01104736328125, 0.01251220703125, 0.01043701171875, 0.00051116943359375, -0.0245361328125, 0.033203125, 0.016357421875, -0.0020599365234375, 0.01519775390625, 0.011962890625, 0.00823974609375, -0.0086669921875, -0.0203857421875, -0.00002956390380859375, 0.0281982421875, 0.0009155273...
[ 1250, 4867, 853, 48650, 5844, 28670, 21110, 59207, 4332, 987, 592, 5303, 502, 195625, 173340, 32036, 13025, 712, 9874, 379, 33106, 1419, 541, 154663, 32562, 10846, 1653, 2063, 28219, 54397, 67, 65450, 18113, 101637, 892, 3934, 351, 3331, 40...
[ 0.1688232421875, 0.233642578125, 0.04351806640625, 0.17236328125, 0.07354736328125, 0.0994873046875, 0.1651611328125, 0.0885009765625, 0.078857421875, 0.154052734375, 0.06854248046875, 0.09942626953125, 0.1207275390625, 0.1962890625, 0.127197265625, 0.1478271484375, 0.1787109375, 0...
embed
74976472_c0
74976472
prolog
0
Title: committing to choices in the scope of catch/3 Problem title: committing to choices in the scope of catch/3 Tags: prolog-cut, prolog-metainterpreter, prolog Problem: committing to choices in the scope of catch/3 The following is small prolog meta-interpreter that interprets the cut using the catch/throw mechanism...
committing to choices in the scope of catch/3 committing to choices in the scope of catch/3 prolog-cut prolog-metainterpreter prolog Goal ExceptionTag Handler Exception committing to choices in the scope of catch/3 The following is small prolog meta-interpreter that interprets the cut using the catch/throw mechanism[1]...
[ 0.009765625, 0.0174560546875, 0.0284423828125, 0.00135040283203125, -0.0120849609375, -0.00921630859375, -0.000530242919921875, 0.0130615234375, 0.015869140625, 0.0155029296875, -0.01708984375, 0.01397705078125, -0.01519775390625, -0.0260009765625, 0.0308837890625, -0.00004196166992187...
[ 375, 266, 19514, 47, 44126, 7, 70820, 105556, 18113, 502, 4867, 19774, 35273, 158288, 2016, 289, 63928, 66448, 10639, 603, 5443, 23, 25632, 19336, 23550, 56, 29481, 59226, 15555, 191619, 111719, 50339, 84751, 9655, 456, 62500, 7228, 28032, ...
[ 0.0599365234375, 0.1602783203125, 0.010406494140625, 0.094482421875, 0.2095947265625, 0.0792236328125, 0.18017578125, 0.210205078125, 0.241943359375, 0.09716796875, 0.160888671875, 0.1361083984375, 0.095703125, 0.1666259765625, 0.1334228515625, 0.11572265625, 0.1668701171875, 0.142...
embed
17076626_c0
17076626
prolog
0
Title: Out of local stack when applying recursion Problem title: Out of local stack when applying recursion Tags: stack, recursion, prolog, graph-theory Problem: Out of local stack when applying recursion The context, first. What I am trying to modelate with prolog are two separated graphs , both represent a group of f...
Out of local stack when applying recursion Out of local stack when applying recursion stack recursion prolog graph-theory Out foo1 foo2 foo3 foo4 Frienship graph1 graph2 Out of local stack when applying recursion The context, first. What I am trying to modelate with prolog are two separated graphs , both represent a gr...
[ 0.0244140625, 0.0002994537353515625, 0.00081634521484375, 0.044921875, 0.004974365234375, -0.0079345703125, -0.02099609375, 0.0181884765625, 0.0152587890625, -0.030517578125, 0.00360107421875, 0.004913330078125, 0.000762939453125, 0.0189208984375, 0.05126953125, 0.0128173828125, 0.02...
[ 13538, 111, 4000, 177261, 59911, 195625, 1830, 502, 4867, 41382, 2347, 5775, 31, 418, 304, 363, 617, 9173, 33, 16070, 43701, 3299, 6626, 84797, 33636, 21115, 23902, 15044, 41911, 34391, 1542, 1723, 10422, 222002, 199849, 333, 80581, 151618, ...
[ 0.206787109375, 0.216064453125, 0.19482421875, 0.2469482421875, 0.12158203125, 0.2298583984375, 0.0955810546875, 0.1163330078125, 0.2119140625, 0.203125, 0.008880615234375, 0.109375, 0.055572509765625, 0.04974365234375, 0.12646484375, 0.1153564453125, 0.135498046875, 0.081298828125...
embed
34776252_c0
34776252
prolog
0
Title: How to use dynamic lists in a recursive function in Prolog Problem title: How to use dynamic lists in a recursive function in Prolog Tags: recursion, prolog, alpha-beta-pruning Problem: How to use dynamic lists in a recursive function in Prolog I have a dynamic list storing a field coordinate and owner of that f...
How to use dynamic lists in a recursive function in Prolog How to use dynamic lists in a recursive function in Prolog recursion prolog alpha-beta-pruning How Prolog copy_predicate_clauses CurrentBoard Coordinate Head Tail How to use dynamic lists in a recursive function in Prolog I have a dynamic list storing a field c...
[ -0.0021820068359375, 0.01068115234375, 0.0235595703125, 0.00872802734375, 0.0003910064697265625, 0.0166015625, 0.0072021484375, 0.0291748046875, 0.01422119140625, -0.02880859375, -0.00848388671875, 0.007415771484375, 0.01123046875, -0.0272216796875, 0.01708984375, -0.0185546875, 0.00...
[ 11249, 4527, 84079, 5303, 7, 195625, 5844, 32354, 1250, 4867, 1830, 502, 144, 14612, 59865, 26992, 592, 43658, 19714, 2063, 18347, 29001, 114063, 12647, 5861, 43297, 44816, 1218, 23, 3082, 44457, 176866, 101785, 42805, 33342, 1884, 1039, 1286...
[ 0.054931640625, 0.1539306640625, 0.2490234375, 0.267578125, 0.05572509765625, 0.2193603515625, 0.15380859375, 0.1658935546875, 0.169921875, 0.262451171875, 0.00982666015625, 0.132568359375, 0.0584716796875, 0.1317138671875, 0.1485595703125, 0.13916015625, 0.01116943359375, 0.176635...
embed
55017518_c0
55017518
prolog
0
Title: Prolog List Represented Graph Traversal Problem title: Prolog List Represented Graph Traversal Tags: finite-automata, prolog, transitive-closure Problem: Prolog List Represented Graph Traversal I am attempting to traverse a graph I have constructed in prolog. The Graph is represent as a list of transitions of th...
Prolog List Represented Graph Traversal Prolog List Represented Graph Traversal finite-automata prolog transitive-closure Prolog List Represented Graph Traversal epsilon_closure_helper3 Transitions Visited Head Tail epsilon_closure_helper2 ClosureStates1 Tail1 Tail2 Vistited Visited1 State States States1 Symbol test_st...
[ 0.01025390625, 0.01165771484375, 0.01318359375, 0.01446533203125, -0.012939453125, 0.002960205078125, -0.046875, 0.007537841796875, 0.0062255859375, -0.020263671875, 0.0031280517578125, 0.01507568359375, -0.00506591796875, 0.0040283203125, 0.00421142578125, -0.000007241964340209961, ...
[ 1250, 4867, 32036, 55247, 6524, 11727, 4937, 814, 94418, 52344, 11, 502, 62621, 5844, 170224, 28, 15759, 4759, 73866, 56, 363, 162774, 98684, 297, 44816, 1218, 379, 51053, 135206, 582, 22836, 46684, 131899, 3034, 61340, 160017, 2317, 81887, ...
[ 0.15966796875, 0.24462890625, 0.1722412109375, 0.2271728515625, 0.1605224609375, 0.1630859375, 0.09576416015625, 0.1812744140625, 0.132568359375, 0.161865234375, 0.037353515625, 0.1434326171875, 0.1531982421875, 0.086181640625, 0.1968994140625, 0.0270538330078125, 0.201171875, 0.16...
embed
15424698_c0
15424698
prolog
0
Title: Expressing Einstein Puzzle as a Set of Closed Formulas in First Order Logic Problem title: Expressing Einstein Puzzle as a Set of Closed Formulas in First Order Logic Tags: zebra-puzzle, prolog, first-order-logic Problem: Expressing Einstein Puzzle as a Set of Closed Formulas in First Order Logic I am given the ...
Expressing Einstein Puzzle as a Set of Closed Formulas in First Order Logic Expressing Einstein Puzzle as a Set of Closed Formulas in First Order Logic zebra-puzzle prolog first-order-logic Expressing Einstein Puzzle Set Closed Formulas First Order Logic Englishman Swede Dane Pall Mall Dunhills Norwegian Blend Blue Mas...
[ 0.00848388671875, -0.01348876953125, -0.0123291015625, 0.0089111328125, 0.00518798828125, -0.00885009765625, -0.020751953125, 0.0113525390625, 0.008544921875, -0.00933837890625, -0.01531982421875, 0.0033416748046875, -0.007781982421875, -0.000865936279296875, -0.00543212890625, 0.03271...
[ 25129, 214, 119225, 179277, 237, 19943, 153335, 72791, 23972, 81206, 50592, 116232, 1766, 13894, 133, 502, 4867, 5117, 80596, 137043, 71, 14941, 669, 74412, 112, 118668, 1342, 1181, 40550, 27859, 78280, 103993, 193924, 22928, 18897, 30839, 5404...
[ 0.206298828125, 0.042724609375, 0.283935546875, 0.27685546875, 0.044830322265625, 0.1475830078125, 0.1771240234375, 0.254638671875, 0.1378173828125, 0.1881103515625, 0.1710205078125, 0.20849609375, 0.1134033203125, 0.1435546875, 0.0333251953125, 0.16357421875, 0.2335205078125, 0.11...
embed
27202175_c0
27202175
prolog
0
Title: Better termination for s(X)-sum Problem title: Better termination for s(X)-sum Tags: termination, successor-arithmetics, failure-slice, prolog Problem: Better termination for s(X)-sum (Let me sneak that in within the wave of midterm questions.) A common definition for the sum of two natural numbers is nat_nat_su...
Better termination for s(X)-sum Better termination for s(X)-sum termination successor-arithmetics failure-slice prolog Better nat_nat_sum unnatural_number terminates_if nat_nat_sum2 Better termination for s(X)-sum (Let me sneak that in within the wave of midterm questions.) A common definition for the sum of two natura...
[ -0.0031890869140625, 0.03271484375, 0.00921630859375, 0.00188446044921875, -0.00433349609375, -0.004241943359375, -0.00049591064453125, 0.0091552734375, 0.023193359375, -0.007232666015625, 0.01239013671875, 0.01019287109375, -0.0120849609375, 0.006591796875, 0.0311279296875, 0.02893066...
[ 177154, 29527, 1363, 100, 91, 1542, 11832, 39457, 42, 8962, 282, 137578, 13348, 502, 4867, 24, 18, 7695, 51, 84832, 2606, 1297, 121011, 90, 3190, 304, 9, 4122, 32166, 17582, 39210, 80934, 70, 10554, 111, 6626, 6083, 101935, 18113, 5792, ...
[ 0.2205810546875, 0.261474609375, 0.08251953125, 0.045257568359375, 0.148193359375, 0.1455078125, 0.231689453125, 0.180908203125, 0.063232421875, 0.0899658203125, 0.0203399658203125, 0.220947265625, 0.15185546875, 0.066162109375, 0.0638427734375, 0.11279296875, 0.1009521484375, 0.21...
embed
71927612_c0
71927612
prolog
0
Title: Looping until the result is false in Prolog Problem title: Looping until the result is false in Prolog Tags: wordle-game, prolog Problem: Looping until the result is false in Prolog I am trying to execute a loop until the output of the predicate is false using Prolog. I am implementing the "Wordle" game and here...
Looping until the result is false in Prolog Looping until the result is false in Prolog wordle-game prolog predicate the Looping Prolog available_length Passing atom_chars Adding length1 Finding Tail Prev Examples Not Choose Category WordLength Takes check_length Executes Guesses Game You Loops There Otherwise Looping ...
[ -0.0004405975341796875, -0.00799560546875, 0.00555419921875, -0.008544921875, 0.00384521484375, 0.015380859375, -0.005523681640625, 0.0025787353515625, 0.01318359375, -0.0498046875, -0.007354736328125, 0.0169677734375, 0.0123291015625, 0.01123046875, 0.021240234375, -0.0005035400390625...
[ 199694, 214, 24189, 16750, 83, 98320, 23, 1250, 4867, 2565, 133, 35311, 502, 1653, 2063, 19882, 23986, 28872, 34627, 9254, 59725, 140909, 26040, 1218, 74717, 89536, 11205, 211525, 49057, 22543, 5267, 449, 12765, 211603, 96274, 43576, 13547, 7...
[ 0.23974609375, 0.1070556640625, 0.1981201171875, 0.1851806640625, 0.05023193359375, 0.26318359375, 0.036407470703125, 0.1953125, 0.220458984375, 0.147216796875, 0.1964111328125, 0.082275390625, 0.148193359375, 0.1741943359375, 0.193603515625, 0.2265625, 0.1529541015625, 0.052795410...
embed
35194122_c0
35194122
prolog
0
Title: How to make TuProlog recognize invalid facts? Problem title: How to make TuProlog recognize invalid facts? Tags: tuprolog, java, prolog Problem: How to make TuProlog recognize invalid facts? I have following two Prolog files: ontology.pl: isSite(Url) :- string(Url). guestPostPublished(GuestPostId, Date, Site, Ur...
How to make TuProlog recognize invalid facts? How to make TuProlog recognize invalid facts? tuprolog java prolog InvalidObjectIdException IOException MalformedGoalException InvalidTheoryException UnknownVarException NoSolutionException NoMoreSolutionException InvalidLibraryException How TuProlog Url GuestPostId Date Si...
[ 0.0201416015625, 0.004730224609375, 0.005401611328125, 0.0244140625, -0.0128173828125, 0.0130615234375, 0.0089111328125, -0.0185546875, 0.034912109375, -0.029296875, 0.0020599365234375, 0.019287109375, -0.0016326904296875, -0.00070953369140625, 0.00421142578125, -0.006378173828125, 0...
[ 11249, 3249, 1371, 10752, 4867, 125296, 56649, 15824, 7, 47, 370, 3454, 79, 330, 502, 360, 7013, 46471, 75161, 19279, 17780, 63928, 3658, 5037, 17903, 289, 3957, 30675, 69723, 81827, 102588, 122880, 104820, 3701, 4143, 83054, 49411, 568, 71...
[ 0.030364990234375, 0.050018310546875, 0.1658935546875, 0.184814453125, 0.233154296875, 0.1524658203125, 0.27783203125, 0.184326171875, 0.06683349609375, 0.001739501953125, 0.113037109375, 0.1339111328125, 0.08349609375, 0.1358642578125, 0.1070556640625, 0.0191802978515625, 0.21276855...
embed
8458945_c0
8458945
prolog
0
Title: Optimizing pathfinding in Constraint Logic Programming with Prolog Problem title: Optimizing pathfinding in Constraint Logic Programming with Prolog Tags: sicstus-prolog, prolog, path-finding, constraint-programming, clpfd Problem: Optimizing pathfinding in Constraint Logic Programming with Prolog I am working o...
Optimizing pathfinding in Constraint Logic Programming with Prolog Optimizing pathfinding in Constraint Logic Programming with Prolog sicstus-prolog prolog path-finding constraint-programming clpfd Optimizing Constraint Logic Programming Prolog Max BoardWidth NumberOfZeros Vertices use_module ensure_loaded utils.pro s1...
[ 0.0147705078125, -0.006103515625, 0.0120849609375, 0.0198974609375, -0.01611328125, -0.006927490234375, -0.02783203125, -0.0024871826171875, -0.016357421875, -0.05859375, 0.0042724609375, -0.01904296875, -0.003997802734375, -0.00225830078125, 0.0125732421875, -0.000324249267578125, -...
[ 43938, 84382, 60875, 111607, 1657, 2816, 4288, 50592, 27958, 678, 1250, 4867, 26536, 18253, 3454, 502, 158, 28966, 39557, 71, 9920, 62554, 532, 927, 103332, 132887, 1511, 39804, 1446, 24494, 7, 4527, 454, 83279, 13, 63284, 63033, 297, 39137...
[ 0.18896484375, 0.0450439453125, 0.193603515625, 0.186279296875, 0.0787353515625, 0.1888427734375, 0.078857421875, 0.154541015625, 0.1331787109375, 0.0438232421875, 0.1859130859375, 0.255859375, 0.006927490234375, 0.1751708984375, 0.1204833984375, 0.1429443359375, 0.038787841796875, ...
embed
30202543_c0
30202543
prolog
0
Title: How is this context free grammar using difference lists in Prolog functioning? Problem title: How is this context free grammar using difference lists in Prolog functioning? Tags: logic-programming, prolog, parsing, difference-lists, dcg Problem: How is this context free grammar using difference lists in Prolog f...
How is this context free grammar using difference lists in Prolog functioning? How is this context free grammar using difference lists in Prolog functioning? logic-programming prolog parsing difference-lists dcg difference How Prolog How is this context free grammar using difference lists in Prolog functioning? I'm rea...
[ 0.0218505859375, 0.0177001953125, -0.00299072265625, 0.02587890625, -0.00518798828125, 0.018310546875, -0.01287841796875, 0.0135498046875, 0.0062255859375, -0.0164794921875, 0.021240234375, 0.008056640625, -0.01080322265625, -0.00848388671875, 0.0103759765625, 0.01422119140625, 0.000...
[ 11249, 83, 903, 43701, 4092, 122092, 147, 17368, 60212, 5303, 7, 1250, 4867, 32354, 214, 62775, 28966, 502, 366, 6562, 177, 16454, 57143, 21816, 103136, 29479, 18151, 46389, 99201, 187136, 17306, 1286, 93766, 114689, 71, 18113, 110, 18588, ...
[ 0.08831787109375, 0.04168701171875, 0.05462646484375, 0.2227783203125, 0.1644287109375, 0.1927490234375, 0.1260986328125, 0.07080078125, 0.250244140625, 0.217529296875, 0.0208740234375, 0.1610107421875, 0.2332763671875, 0.1510009765625, 0.09375, 0.06787109375, 0.05145263671875, 0.0...
embed
17474400_c0
17474400
prolog
0
Title: gprolog - Simple way to determine whether one list is a permutation of another Problem title: gprolog - Simple way to determine whether one list is a permutation of another Tags: logic, gnu-prolog, prolog Problem: gprolog - Simple way to determine whether one list is a permutation of another I'm trying to write ...
gprolog - Simple way to determine whether one list is a permutation of another gprolog - Simple way to determine whether one list is a permutation of another logic gnu-prolog prolog Simple Call Exit Fail Redo perm_recurse gprolog - Simple way to determine whether one list is a permutation of another I'm trying to write...
[ -0.00096893310546875, 0.01275634765625, 0.0224609375, -0.0126953125, -0.011962890625, 0.0133056640625, -0.010986328125, -0.01458740234375, 0.02734375, -0.0037841796875, 0.02587890625, 0.016357421875, 0.01141357421875, 0.006378173828125, -0.0087890625, 0.0034332275390625, 0.0024108886...
[ 706, 3454, 4867, 60552, 3917, 83324, 36766, 1632, 5303, 83, 10, 117, 561, 22062, 111, 15700, 62775, 104155, 502, 26265, 5443, 190355, 6096, 31, 39, 107, 48650, 33022, 1528, 360, 7077, 3173, 866, 4, 594, 29568, 339, 276, 38730, 18507, 53...
[ 0.06573486328125, 0.2025146484375, 0.2159423828125, 0.1121826171875, 0.0304718017578125, 0.1693115234375, 0.08758544921875, 0.07403564453125, 0.2032470703125, 0.06878662109375, 0.032196044921875, 0.1839599609375, 0.2117919921875, 0.1234130859375, 0.06915283203125, 0.12548828125, 0.15...
embed
26707776_c0
26707776
prolog
0
Title: Prolog: recursively build a list - infinite solutions Problem title: Prolog: recursively build a list - infinite solutions Tags: recursion, unification, prolog Problem: Prolog: recursively build a list - infinite solutions I'm completely new to Prolog and have a hard time understanding its unification system. My...
Prolog: recursively build a list - infinite solutions Prolog: recursively build a list - infinite solutions recursion unification prolog Prolog _Constraint _Target Constraint SourceHead SourceTail Target FilteredSource NewFilteredSource _SourceHead TargetHead TargetTail Distance Prolog: recursively build a list - infin...
[ 0.0216064453125, 0.01300048828125, 0.00191497802734375, -0.00244140625, 0.0164794921875, -0.01043701171875, -0.0194091796875, 0.0081787109375, 0.0179443359375, -0.0166015625, 0.006439208984375, -0.0203857421875, -0.00156402587890625, 0.0024871826171875, 0.0021820068359375, 0.0203857421...
[ 1250, 4867, 195625, 5844, 45367, 5303, 54241, 51347, 51, 41274, 502, 11935, 2816, 4288, 63031, 3794, 1657, 77641, 13025, 712, 9874, 379, 160017, 128896, 297, 211235, 919, 53325, 2822, 154349, 13, 3525, 7941, 1733, 100094, 5426, 2967, 28960, ...
[ 0.1939697265625, 0.266357421875, 0.1851806640625, 0.121826171875, 0.09136962890625, 0.1595458984375, 0.145751953125, 0.1475830078125, 0.1636962890625, 0.16015625, 0.12939453125, 0.0789794921875, 0.2479248046875, 0.190673828125, 0.1058349609375, 0.1273193359375, 0.133544921875, 0.22...
embed
35445609_c0
35445609
prolog
0
Title: Have Prolog return a rule that applies Problem title: Have Prolog return a rule that applies Tags: dcg, prolog, context-free-grammar Problem: Have Prolog return a rule that applies I'm interested in incrementally parsing the sequence as the terms come in one at a time. This requires that I'm able to determine wh...
Have Prolog return a rule that applies Have Prolog return a rule that applies dcg prolog context-free-grammar Have Prolog abc1 abc2 current_functor Have Prolog return a rule that applies I'm interested in incrementally parsing the sequence as the terms come in one at a time. This requires that I'm able to determine whi...
[ 0.01177978515625, 0.012451171875, -0.0052490234375, 0.030029296875, -0.00872802734375, 0.00086212158203125, -0.00494384765625, 0.0052490234375, 0.005035400390625, -0.0654296875, 0.005584716796875, -0.0067138671875, -0.0172119140625, 0.003509521484375, 0.0167236328125, -0.00133514404296...
[ 31901, 1250, 4867, 30646, 10, 79986, 450, 4027, 25720, 104, 238, 177, 502, 43701, 32087, 107415, 147, 1563, 418, 304, 43581, 16498, 18770, 60892, 145322, 366, 6953, 40, 944, 3956, 237, 69407, 1380, 1632, 1733, 83324, 456, 434, 18781, 9173...
[ 0.1185302734375, 0.216796875, 0.281494140625, 0.2469482421875, 0.057891845703125, 0.2327880859375, 0.0548095703125, 0.17919921875, 0.19287109375, 0.028533935546875, 0.043365478515625, 0.10888671875, 0.1749267578125, 0.1566162109375, 0.1185302734375, 0.1298828125, 0.079345703125, 0....
embed
21823397_c0
21823397
prolog
0
Title: How to connect a prolog based Expert System to Java Problem title: How to connect a prolog based Expert System to Java Tags: expert-system, java, prolog, swi-prolog, netbeans Problem: How to connect a prolog based Expert System to Java I'm building an Expert System of Major Decision, it is similar to animal dete...
How to connect a prolog based Expert System to Java How to connect a prolog based Expert System to Java expert-system java prolog swi-prolog netbeans java.awt.Container java.awt.FlowLayout java.awt.event.ActionEvent java.awt.event.ActionListener javax.swing.JButton javax.swing.JFrame javax.swing.JTextArea javax.swing.J...
[ 0.034423828125, 0.0157470703125, 0.005462646484375, 0.0208740234375, 0.002044677734375, 0.0147705078125, -0.0123291015625, 0.02978515625, -0.00433349609375, -0.05712890625, 0.02490234375, -0.0118408203125, -0.01007080078125, -0.022705078125, 0.0093994140625, -0.01080322265625, 0.0087...
[ 11249, 37067, 502, 4867, 35509, 70523, 12353, 47, 41925, 26808, 16751, 79, 330, 2452, 3454, 2043, 372, 10133, 15519, 18, 25500, 17336, 53, 90141, 10763, 192134, 154663, 14775, 1375, 82212, 425, 108386, 174379, 1283, 2424, 12078, 21130, 49953,...
[ 0.0794677734375, 0.2056884765625, 0.1771240234375, 0.261474609375, 0.16162109375, 0.2352294921875, 0.2098388671875, 0.15380859375, 0.256103515625, 0.1834716796875, 0.126953125, 0.116943359375, 0.168701171875, 0.146240234375, 0.119384765625, 0.0226593017578125, 0.13671875, 0.0350952...
embed
58744984_c0
58744984
prolog
0
Title: Asserting predicates using Tau Prolog for Javascript Problem title: Asserting predicates using Tau Prolog for Javascript Tags: javascript, html, prolog, tau-prolog Problem: Asserting predicates using Tau Prolog for Javascript There, I've been trying this issue for over 2 days now and have got nothing to show for...
Asserting predicates using Tau Prolog for Javascript Asserting predicates using Tau Prolog for Javascript javascript html prolog tau-prolog Tau Asserting Prolog Javascript HTML pl.create document.getElementById session.consult session.query chosen_meats variable_to_be_asserted session.answers Valid console.log pl.type....
[ 0.00872802734375, 0.0096435546875, -0.0225830078125, 0.005950927734375, -0.0084228515625, 0.00445556640625, 0.0010986328125, 0.022216796875, -0.00005888938903808594, -0.042724609375, 0.0224609375, 0.006683349609375, -0.034423828125, -0.01422119140625, 0.029541015625, 0.0157470703125, ...
[ 62, 16865, 1916, 1653, 2063, 1636, 17368, 21139, 1250, 4867, 74181, 100, 136951, 7693, 502, 5705, 3454, 19097, 6456, 12937, 19929, 75358, 71, 56002, 147834, 944, 19667, 282, 9821, 77336, 10133, 25447, 130250, 50986, 164, 209828, 35166, 64747,...
[ 0.09527587890625, 0.251708984375, 0.03240966796875, 0.21435546875, 0.2493896484375, 0.102294921875, 0.072265625, 0.2783203125, 0.1922607421875, 0.225341796875, 0.25439453125, 0.09259033203125, 0.232177734375, 0.1038818359375, 0.118408203125, 0.234130859375, 0.1192626953125, 0.16162...
embed
16169139_c0
16169139
prolog
0
Title: Some doubts about the reading of a file in Prolog using a Stream Problem title: Some doubts about the reading of a file in Prolog using a Stream Tags: prolog Problem: Some doubts about the reading of a file in Prolog using a Stream I have a doubt about how work this simple Prolog Program that read character from...
Some doubts about the reading of a file in Prolog using a Stream Some doubts about the reading of a file in Prolog using a Stream prolog a Some Prolog Stream FileInput TextList at_end_of_stream Exit Char Tail get0 Some doubts about the reading of a file in Prolog using a Stream I have a doubt about how work this simple...
[ 0.017822265625, -0.00933837890625, 0.01055908203125, 0.006744384765625, -0.0028839111328125, -0.00025177001953125, 0.010009765625, 0.00616455078125, 0.005218505859375, -0.03759765625, 0.03173828125, -0.0108642578125, -0.017333984375, -0.0035400390625, 0.0147705078125, 0.004241943359375...
[ 31384, 92814, 7, 16454, 111, 11435, 1250, 4867, 17368, 10, 115061, 23, 502, 42724, 7077, 24129, 154663, 3611, 4390, 86429, 5443, 217, 21656, 1218, 379, 2046, 2389, 4488, 8781, 7663, 12301, 62816, 1295, 3884, 5303, 18151, 5299, 174350, 12477...
[ 0.029266357421875, 0.1583251953125, 0.02557373046875, 0.2078857421875, 0.0175933837890625, 0.1832275390625, 0.1707763671875, 0.2318115234375, 0.072998046875, 0.00457763671875, 0.2705078125, 0.014801025390625, 0.12158203125, 0.114501953125, 0.00311279296875, 0.1278076171875, 0.1461181...
embed
16410082_c0
16410082
prolog
0
Title: Logically Incorrect answer Problem title: Logically Incorrect answer Tags: prolog Problem: Logically Incorrect answer I tested this code out. I solved it logically without the use of prolog and the answer was different. I cannot understand where the mistake is! These are my clues: Mary Smith put all five wedding...
Logically Incorrect answer Logically Incorrect answer prolog the Logically Incorrect State Gift Husband Husband1 State1 Gift1 Husband2 State2 Gift2 Husband3 State3 Gift3 Husband4 State4 Gift4 Husband5 State5 Gift5 Aunt Maisie Uncle Nick Bill Emily Amber Doug Georgia Patsy Delaware Zack Kansas Janet California Logically...
[ -0.01483154296875, -0.000545501708984375, 0.0223388671875, 0.01123046875, -0.02734375, 0.0113525390625, -0.02734375, 0.01495361328125, 0.005157470703125, -0.0179443359375, 0.011474609375, 0.000598907470703125, 0.016357421875, 0.006683349609375, 0.01104736328125, 0.0115966796875, 0.02...
[ 13146, 71407, 360, 32399, 15390, 35166, 502, 4867, 70, 22836, 104445, 20387, 8262, 418, 304, 363, 617, 758, 62, 9109, 6245, 478, 992, 11030, 47801, 19893, 140457, 10250, 56, 40641, 177, 69919, 9876, 4861, 64997, 15876, 825, 2594, 195459, ...
[ 0.1683349609375, 0.1658935546875, 0.1168212890625, 0.2008056640625, 0.0848388671875, 0.1904296875, 0.1873779296875, 0.2178955078125, 0.0433349609375, 0.1988525390625, 0.26123046875, 0.1341552734375, 0.0938720703125, 0.04583740234375, 0.03369140625, 0.03521728515625, 0.015762329101562...
embed