-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathversion_7x.html
1145 lines (1071 loc) · 71.4 KB
/
version_7x.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T"
crossorigin="anonymous">
<title>EmbASP</title>
<!-- highlight.js -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.5/styles/default.min.css">
<!-- <link rel="stylesheet"
href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/styles/default.min.css">
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/highlight.min.js"></script> -->
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.5.0/css/all.css" integrity="sha384-B4dIYHKNBt8Bc12p+WXckhzcICo0wtJAoU8YZTY5qE0Id1GSseTk6S+L3BlXeVIU" crossorigin="anonymous">
<style>
h2 {
padding-top: 55px;
}
.layer {
text-transform: uppercase;
background-color: #ebf5fb !important;
color: #1b4f72 !important;
}
.footer {
padding-top: 40px;
padding-bottom: 40px;
margin-top: 40px;
border-top: 1px solid #eee;
}
code {
background-color: #f4ecf7;
color: #c0392b;
}
a.class {
color: #c0392b;
}
/* #toTop {
position: fixed;
bottom: 10px;
right: 10px;
cursor: pointer;
display: none;
} */
</style>
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<nav class="navbar navbar-expand-lg fixed-top navbar-light bg-light">
<a class="navbar-brand" href="">
<img src="img/EmbASP_Logo.svg" alt="EmbASP logo" height="25" onerror="this.src='img/EmbASP_Logo.png'" />
</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent"
aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav mr-auto">
<li class="nav-item">
<a class="nav-link" href="#Download">Download</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#Documentation">Documentation</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#Team">Team</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#Contacts">Contacts</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#License">License</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#Publications">Publications</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#Applications">Applications</a>
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true"
aria-expanded="false">
Previous versions
</a>
<div class="dropdown-menu" aria-labelledby="navbarDropdown">
<a class="dropdown-item" href="version_1x.html">Version 1x</a>
<a class="dropdown-item" href="version_2x.html">Version 2x</a>
<a class="dropdown-item" href="version_3x.html">Version 3x</a>
<a class="dropdown-item" href="version_4x.html">Version 4x</a>
<a class="dropdown-item" href="version_5x.html">Version 5x</a>
<a class="dropdown-item" href="version_6x.html">Version 6x</a>
</div>
</li>
</ul>
</div>
<!-- /.navbar-collapse -->
<span class="navbar-text">
<strong>
<em>EmbASP</em>
</strong>
</span>
<!-- /.container-fluid -->
</nav>
<div class="container" style="padding-top: 40px">
<div class="page-header">
<!--<h2 style="text-align: center"><img src="img/EmbASP_Logo.png" alt="embASP" height="150" style=" padding-bottom: 0.2cm;" /></h2>-->
<div class="jumbotron jumbotron-fluid">
<div class="container">
<img class="float-right" src="img/EmbASP_Logo.png" alt="EmbASP logo" height="150" onerror="this.src='img/EmbASP_Logo.png'"
/>
<h1 class="display-4">
<em>EmbASP</em>
</h1>
<p class="lead">A framework for the integration of Logic Programming in external systems for generic applications,
conceived in order to help developers at designing and implementing complex reasoning tasks by means of logic-based solvers on different platforms.
</p>
<hr class="my-4">
<p>
<p>We currently provide implementations of EmbASP in three different programming languages: <a href="https://www.java.com">Java</a>, <a href="https://www.python.org">Python</a>, and <a href="https://docs.microsoft.com/en-us/dotnet/csharp/">C#.</a>
EmbASP also contains ready-made libraries for embedding several logic-based solvers: </p>
<ul>
<li>ASP (Answer Set Programming) solvers<ul>
<li><a href="http://www.dlvsystem.com/dlv">DLV</a></li>
<li><a href="https://www.mat.unical.it/DLV2">DLV2</a> </li>
<li><a href="https://potassco.org/clingo">clingo</a> </li>
<li><a href="http://www.kr.tuwien.ac.at/research/systems/dlvhex/">DLVHEX</a></li>
</ul>
</li>
</ul>
<ul>
<li>PDDL (Planning Domain Definition Language) <ul>
<li><a href="http://solver.planning.domains">Solver.Planning.Domains</a></li>
</ul>
</li>
</ul>
<ul>
<li>Datalog<ul>
<li><a href="https://github.com/DeMaCS-UNICAL/I-DLV">I-DLV</a></li>
</ul>
</li>
</ul>
</p>
<p>
Note that DLV, DLV2 and Solver.Planning.Domains can also be used on Android.
</p>
<p>
The framework has been designed to be easily extensible and adaptable to different solvers and platforms.
Solvers can be invoked in different ways: via REST API as for Solver.Planning.Domains,
native binary execution as for most of the "desktop solvers",
library invocation as in the Android solvers, or any other way that can be implemented using the OOP paradigm.
</p>
</div>
</div>
<div class="alert alert-info" role="alert">
NOTE: this is the official site of versions
<strong>7</strong> of the EmbASP Framework. If you are looking for an older version, please check the last item in
the top menu.
</div>
</div>
<div class="row">
<div class="col">
<h2 id="Download">Download
<a href="https://github.com/DeMaCS-UNICAL/EmbASP">
<img src="img/GitHub-Mark-120px-plus.png" alt="GitHub" height="40" />
</a>
</h2>
<div>
<h3 id="release">Latest release version</h3>
<div>To use the specialized library on Desktop, a JAR file, a wheel file and a DLL file have been released.</div>
<div>To use the specialized library on Mobile (Android), an AAR file has been released.</div>
<div>You can download their last stable versions <a href="https://github.com/DeMaCS-UNICAL/EmbASP/releases">here</a>.</div>
</div>
<div>
<h3>Development Version</h3> You can find the current development version
<a href="https://github.com/DeMaCS-UNICAL/EmbASP">on GitHub</a>
</div>
</div>
</div>
<div class="row">
<div class="col">
<h2 id="Documentation">Documentation</h2>
<div class="card card-primary" id="arch-desc">
<div class="card-header">
<h3 class="card-title">Architecture Description</h3>
</div>
<div class="card-body">
<p>
The general architecture of EmbASP is depicted in the following figure: it is intended as an abstract framework to be implemented
in some object-oriented programming language.
</p>
<p>
In addition, this architecture can be specialized for different platforms, logic languages and solvers.
</p>
<p>
The figure also reports general dependencies among the main modules.
</p>
<figure style="padding-bottom: 1em">
<img class="img-fluid mx-auto d-block" src="img/abstract_architecture.svg" alt="Abstract Architecture" onerror="this.src='img/abstract_architecture.png'">
<figcaption class="text-center">
Abstract Architecture of the framework.
<br /> Blocks overshadowed in white depict the abstract components of the framework, while
light-blue blocks represent the modules more closely related to the proposed specialization.
</figcaption>
</figure>
<p>
The framework architecture has been designed by means of four modules:
<code class="layer">Base</code>,
<code class="layer">Platforms</code>,
<code class="layer">Languages</code>, and
<code class="layer">Specialization</code>. In the following, we denote with "solver" a logic-based system that is meant to be
used by external application with the help of EmbASP.
</p>
<h4>Base Module</h4>
<p>The
<code class="layer">Base</code> module defines the basic components of the Framework.
</p>
<p>
The
<code>Handler</code> component mediates the communication between the Framework and the user that can provide
it with the input program(s) via the component
<code>InputProgram</code>, along with any desired solver's option(s) via the component
<code>OptionDescriptor</code>. A
<code>Service</code> component is meant for managing the chosen solver executions.
</p>
<p>
Two different execution modes can be made available: synchronous or asynchronous. While in the synchronous mode any call
to the execution of the solver is
<em>blocking</em> (i.e., the caller waits until the reasoning task is completed), in asynchronous
mode the call is non-blocking: a
<code>Callback</code> component notifies the caller once the reasoning task is completed. The result of the
execution (i.e., the output of the logic system) is handled by the
<code>Output</code> component, in both modes.
</p>
<h4>Platforms Module</h4>
<p>
The
<code class="layer">Platforms</code> module is meant for containing what is platform-dependent; in particular, the
<code>Handler</code> and
<code>Service</code> components from the
<code class="layer">Base</code> module that should be adapted according to the platform at hand, since they take care
of practically launching solvers.
</p>
<p>
The
<code>DesktopHandler</code> manages the
<code>DesktopService</code> for the execution of the solver on a Desktop platform, and, in a similay way, the
<code>AndroidHandler</code> manages the
<code>AndroidService</code> on an Android platform.
</p>
<h4>Languages Module</h4>
<p>
The
<code class="layer">Languages</code> module defines specific facilities for each supported logic language.
</p>
<p>
The generic
<code>Mapper</code> component is conceived as an utility for managing input and output via objects, if the
programming language at hand permits it.
</p>
<p>
The sub-module ASP comprises components such as
<code>ASPInputProgram</code> that adapts
<code>InputProgram</code> to the ASP case, while
<code>AnswerSets</code>, composed of a set of
<code>AnswerSet</code>, represents the
<code>Output</code> for ASP. Moreover the
<code>ASPMapper</code> allow the management of ASP input facts and answer sets via objects.
The Datalog sub-module resembles the ASP sub-module very closely:
<code>DatalogInputProgram</code> is the Datalog equivalent of <code>ASPInputProgram</code>,
<code>MinimalModels</code> is the equivalent of <code>AnswerSets</code>,
<code>MinimalModel</code> is the equivalent of <code>AnswerSet</code>,
and <code>DatalogMapper</code> is the equivalent of <code>ASPMapper</code>.
Similarly, the sub-module PDDL includes
<code>PDDLInputProgram</code>,
<code>Action</code>,
<code>Plan</code> and
<code>PDDLMapper</code>.
</p>
<h4>Specialization Module</h4>
<p>
The
<code class="layer">Specialization</code> module defines what is system-dependent; in particular, the
<code>Service</code>,
<code>Output</code> and
<code>OptionDescriptor</code> components from the
<code class="layer">Base</code> module should be adapted in order to effectively interact with the solver at hand.
</p>
<p>
In particular, this module contains specific extensions for the different solvers of the <code>DesktopService</code> (
<code>DLVDesktopService</code>, <code>DLV2DesktopService</code>, <code>IDLVDesktopService</code>, <code>DLVHEXDesktopService</code>,
<code>ClingoDesktopService</code> and <code>SPDDesktopService</code>) and the <code>AndroidService</code> (
<code>DLVAndroidService</code>, <code>DLV2AndroidService</code> and <code></code>). There are also the extensions of the
<code>AnswerSets</code> for ASP language (<code>DLVAnswerSets</code>, <code>DLV2AnswerSets</code>, <code>DLVHEXAnswerSets</code> and
<code>ClingoAnswerSets</code>) of the <code>Plan</code> for PDDL language (<code>SPDPlan</code>), and of the <code>MinimalModels</code> for the Datalog language (<code>IDLVMinimalModels</code>).
</p>
</div>
</div>
<div class="card card-primary" id="arch-desc">
<div class="card-header">
<h3 class="card-title">Read The Docs</h3>
</div>
<div class="card-body">
<p>
For a complete documentation regarding EmbASP, visit our page on
<a href="https://embasp.readthedocs.io/en/latest/">readthedocs.org</a>.
</p>
<p>
It provides a detailed description about EmbASP implementations and some examples of EmbASP usage.
</p>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col">
<h2 id="Team">Team</h2>
<h3>Core</h3>
<div>
<ul>
<li>
Francesco Calimeri
<a href="https://www.mat.unical.it/calimeri">
<span class="glyphicon glyphicon-globe" aria-hidden="true"></span>
</a>
</li>
<li>
Davide Fuscà
</li>
<li>
Stefano Germano
</li>
<li>
Francesco Pacenza
</li>
<li>
Simona Perri
</li>
<li>
Jessica Zangari
</li>
</ul>
</div>
<h3>Contributors</h3>
<ul>
<li>
Marco Anastasio
</li>
<li>
Marco Bellizzi
</li>
<li>
Michele Bencardino
</li>
<li>
Grazio Buonanno
</li>
<li>
Dario Campisano
</li>
<li>
Simone Lucia
</li>
</ul>
</div>
</div>
<div class="row">
<div class="col">
<h2 id="Contacts">Contacts</h2>
<div>
For further information, contact
<a href="mailto:[email protected]">[email protected]</a>
</div>
</div>
</div>
<div class="row">
<div class="col">
<h2 id="License">License</h2>
<div>
<p>
The framework is released under
<a href="http://opensource.org/licenses/MIT">The MIT License (MIT)</a>
</p>
<p> The framework library for DLV on Android embeds the DLV system itself, which is free for academic and
non-commercial educational use, as well as for use by non-profit organizations. For further information
about DLV, please refer to the
<a href="http://www.dlvsystem.com">DLVSystem Ltd. home page</a>.</p>
</div>
</div>
</div>
<div class="row">
<div class="col">
<h2 id="Publications">Publications</h2>
<div>
<ul>
<li>Francesco Calimeri, Davide Fuscà, Stefano Germano, Simona Perri, and Jessica Zangari.
<br />
<em>Fostering the Use of Declarative Formalisms for Real-World Applications: The EmbASP Framework</em>
<br /> In New Generation Computing (2018).
<p>
<a href="https://link.springer.com/article/10.1007%2Fs00354-018-0046-2"><i class="fas fa-book"></i> paper</a>
</p>
</li>
<li>Davide Fuscà, Stefano Germano, Jessica Zangari, Marco Anastasio, Francesco Calimeri and Simona Perri.
<br />
<em>A Framework for Easing the Development of Applications Embedding Answer Set Programming</em>
<br /> Presented at the 23rd International Workshop on Experimental Evaluation of Algorithms for solving
problems with combinatorial explosion (RCRA 2016).
<p>
<a href="files/RCRA-2016-slides.pdf"><i class="fas fa-chalkboard-teacher"></i> slides</a>
</p>
</li>
<li>Francesco Calimeri, Davide Fuscà, Stefano Germano, Simona Perri and Jessica Zangari.
<br />
<em>Boosting the Development of ASP-based Applications in Mobile and General Scenarios</em>
<br /> In Proceedings of the 15th International Conference of the Italian Association for Artificial
Intelligence (AI*IA 2016).
<p>
<a href="https://link.springer.com/chapter/10.1007/978-3-319-49130-1_17"><i class="fas fa-book"></i> paper</a>
<a href="files/AIxIA-2016-slides.pdf"><i class="fas fa-chalkboard-teacher"></i> slides</a>
</p>
</li>
<li>Davide Fuscà, Stefano Germano, Jessica Zangari, Marco Anastasio, Francesco Calimeri and Simona Perri.
<br />
<em>A Framework for Easing the Development of Applications Embedding Answer Set Programming</em>
<br /> In Proceedings of the 18th International Symposium on Principles and Practice of Declarative
Programming (PPDP 2016).
<p>
<a href="http://dl.acm.org/citation.cfm?id=2968594"><i class="fas fa-book"></i> paper</a>
<a href="files/PPDP-2016-slides.pdf"><i class="fas fa-chalkboard-teacher"></i> slides</a>
</p>
</li>
<li>Francesco Calimeri, Davide Fuscà, Stefano Germano, Simona Perri and Jessica Zangari.
<br />
<em>Embedding ASP in mobile systems: discussion and preliminary implementations</em>
<br /> In (online) Procedings of the 8th Workshop on Answer Set Programming and Other Computing Paradigms
(ASPOCP 2015).
<p>
<a href="https://sites.google.com/site/aspocp2015/ASPOCP2015paper12.pdf"><i class="fas fa-book"></i> paper</a>
<a href="files/ASPOCP-2015-slides.pdf"><i class="fas fa-chalkboard-teacher"></i> slides</a>
</p>
</li>
</ul>
</div>
</div>
</div>
<div class="row">
<div class="col">
<h2 id="Applications">Applications Showcase</h2>
<div class="accordion" id="accordion" role="tablist" aria-multiselectable="true">
<div class="card card-primary">
<a class="collapsed" role="button" data-toggle="collapse" data-parent="#accordion" href="#collapseOne" aria-expanded="false"
aria-controls="collapseOne">
<div class="card-header" role="tab" id="headingOne">
<h4 class="card-title">
<em>DLVfit</em>
</h4>
</div>
</a>
<div id="collapseOne" class="panel-collapse collapse" data-parent="#accordion" role="tabpanel" aria-labelledby="headingOne">
<div class="card-body row">
<div class="col col-sm-7">
<p>
<a href="https://github.com/brainatwork/DLVfit">
<em>DLVfit</em>
</a> is a health and fitness app that monitors the user activity during the day and suggests
some workout plans that depend on her age, weight, gender and goals. The app periodically
stores some information about the user activities (running, walking, etc.) and infers
the current amount of calories burned so far. When the user asks for a workout plan,
<em>DLVfit</em> proposes a set of exercises that would allow the user to reach her daily
goal, taking into account also to her preferences. The suggested workout plans are
computed in the background by DLV via EmbASP.
</p>
<p>The ASP program used within
<em>DLVfit</em> can be found in the repository. Basically, the program guesses for possible
fitness exercises to do in order to burn the remaing calories. Each answer set represent
a possible workout plan, in which is ensured that the user's requirements about the
calories to burn and the time to spend in the workout are respected. Moreover, also
user's preferences are taken into account by means of weak constraints.</p>
<h5>
<b>Release</b>
</h5>
<p>You can download the latest version of
<em>DLVfit</em>
<a href="https://github.com/brainatwork/DLVfit">here</a>.</p>
<p>
<button class="btn btn-primary" type="button" data-toggle="collapse" data-target="#collapseExample" aria-expanded="false"
aria-controls="collapseExample">
Supported versions of Android
</button>
</p>
<div class="collapse" id="collapseExample">
<div class="card card-body">
<p>The app should work on most devices equipped with Android 4.x/5.x.
<br /> The list of compatible devices include (but it is not limited to):
</p>
<ul>
<li>Samsung Galaxy S2 - Android 4.3, API 16</li>
<li>HTC One - Android 4.3, API 18</li>
<li>HTC One XL - Android 4.2.2, API 17</li>
<li>HTC One XL - Android 4.1.1, API 16</li>
<li>Samsung Galaxy Note 2 - Android 4.2.2, API 17</li>
<li>Google Nexus 7 - Android 4.4.4, API 19</li>
<li>Samsung S4 - Android 4.4.4, API 19</li>
<li>Samnsung S3 - Android 4.3, API 18</li>
<li>Sony Xperia S - Android 4.1.1, API 16</li>
<li>Google Nexus 7 - Android 4.3, API 18</li>
<li>Sony Xperia Go - Android 4.0</li>
<li>Sony Xperia Z3 - Android 5.0</li>
<li>Sony Xperia Z3 - Android 5.1</li>
<li>Galaxy S6 - Android 5.0</li>
<li>Nexus 6 - Android 5.0</li>
</ul>
</div>
</div>
<h5>
<b>Developers</b>
</h5>
<ul>
<li>Dario Campisano</li>
<li>The EmbASP Team</li>
</ul>
</div>
<div class="col col-sm-5">
<div id="carousel-DLVfit" class="carousel slide carousel-fade" data-ride="carousel">
<!-- Indicators -->
<ol class="carousel-indicators">
<li data-target="#carousel-DLVfit" data-slide-to="0" class="active"></li>
<li data-target="#carousel-DLVfit" data-slide-to="1"></li>
<li data-target="#carousel-DLVfit" data-slide-to="2"></li>
<li data-target="#carousel-DLVfit" data-slide-to="3"></li>
<li data-target="#carousel-DLVfit" data-slide-to="4"></li>
<li data-target="#carousel-DLVfit" data-slide-to="5"></li>
<li data-target="#carousel-DLVfit" data-slide-to="6"></li>
<li data-target="#carousel-DLVfit" data-slide-to="7"></li>
<li data-target="#carousel-DLVfit" data-slide-to="8"></li>
<li data-target="#carousel-DLVfit" data-slide-to="9"></li>
<li data-target="#carousel-DLVfit" data-slide-to="10"></li>
</ol>
<!-- Wrapper for slides -->
<div class="carousel-inner" role="listbox">
<div class="carousel-item active">
<img class="img-fluid d-block mx-auto" src="img/screenshots/DLVfit/Screenshot(1).png" alt="Screenshot(1)" />
<!--<div class="carousel-caption">
<h3>Welcome</h3>
<p>...</p>
</div>-->
</div>
<div class="carousel-item">
<img class="img-fluid d-block mx-auto" src="img/screenshots/DLVfit/Screenshot(2).png" alt="Screenshot(2)" />
</div>
<div class="carousel-item">
<img class="img-fluid d-block mx-auto" src="img/screenshots/DLVfit/Screenshot(3).png" alt="Screenshot(3)" />
</div>
<div class="carousel-item">
<img class="img-fluid d-block mx-auto" src="img/screenshots/DLVfit/Screenshot(4).png" alt="Screenshot(4)" />
</div>
<div class="carousel-item">
<img class="img-fluid d-block mx-auto" src="img/screenshots/DLVfit/Screenshot(5).png" alt="Screenshot(5)" />
</div>
<div class="carousel-item">
<img class="img-fluid d-block mx-auto" src="img/screenshots/DLVfit/Screenshot(6).png" alt="Screenshot(6)" />
</div>
<div class="carousel-item">
<img class="img-fluid d-block mx-auto" src="img/screenshots/DLVfit/Screenshot(7).png" alt="Screenshot(7)" />
</div>
<div class="carousel-item">
<img class="img-fluid d-block mx-auto" src="img/screenshots/DLVfit/Screenshot(8).png" alt="Screenshot(8)" />
</div>
<div class="carousel-item">
<img class="img-fluid d-block mx-auto" src="img/screenshots/DLVfit/Screenshot(9).png" alt="Screenshot(9)" />
</div>
<div class="carousel-item">
<img class="img-fluid d-block mx-auto" src="img/screenshots/DLVfit/Screenshot(10).png" alt="Screenshot(10)" />
</div>
<div class="carousel-item">
<img class="img-fluid d-block mx-auto" src="img/screenshots/DLVfit/Screenshot(11).png" alt="Screenshot(11)" />
</div>
</div>
<!-- Controls -->
<a class="carousel-control-prev" href="#carousel-DLVfit" role="button" data-slide="prev">
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
<span class="sr-only">Previous</span>
</a>
<a class="carousel-control-next" href="#carousel-DLVfit" role="button" data-slide="next">
<span class="carousel-control-next-icon" aria-hidden="true"></span>
<span class="sr-only">Next</span>
</a>
</div>
</div>
</div>
</div>
</div>
<div class="card card-primary">
<a class="collapsed" role="button" data-toggle="collapse" data-parent="#accordion" href="#collapseTwo" aria-expanded="false"
aria-controls="collapseTwo">
<div class="card-header" role="tab" id="headingTwo">
<h4 class="card-title">
<em>GuessAndCheckers</em>
</h4>
</div>
</a>
<div id="collapseTwo" class="panel-collapse collapse" data-parent="#accordion" role="tabpanel" aria-labelledby="headingTwo">
<div class="card-body">
<p>
<a href="https://github.com/vincenzoarieta93/GuessAndCheckers">
<em>GuessAndCheckers</em>
</a> is a native mobile application that works as an helper for users that play "live" games
of the (Italian) checkers (i.e., by means of physical board and pieces). The app, that
runs on Android, can help a player at any time: by means of the device camera a picture
of the board is taken, and the information about the current status of the game is properly
inferred thanks to
<a href="http://opencv.org">OpenCV</a>, an open source computer vision and machine learning software; an ASP-based
artificial intelligence module then suggests the move.
</p>
<p>Thanks to EmbASP and the use of ASP,
<em>GuessAndCheckers</em> features a fully-declarative approach that made easy to develop
and improve several different strategies, also experimenting with many combinations thereof.
<br /> The source code of this application along with the Android Application Package (APK)
are available online.</p>
<h5>
<b>Release</b>
</h5>
<p>You can download the latest version of
<em>GuessAndCheckers</em>
<a href="https://github.com/vincenzoarieta93/GuessAndCheckers">here</a>.</p>
<h5>
<b>Developers</b>
</h5>
<ul>
<li>Vincenzo Arieta</li>
<li>The EmbASP Team</li>
</ul>
<div id="carousel-GuessAndCheckers" class="carousel slide carousel-fade" data-ride="carousel">
<!-- Indicators -->
<ol class="carousel-indicators">
<li data-target="#carousel-GuessAndCheckers" data-slide-to="0" class="active"></li>
<li data-target="#carousel-GuessAndCheckers" data-slide-to="1"></li>
<li data-target="#carousel-GuessAndCheckers" data-slide-to="2"></li>
<li data-target="#carousel-GuessAndCheckers" data-slide-to="3"></li>
<li data-target="#carousel-GuessAndCheckers" data-slide-to="4"></li>
<li data-target="#carousel-GuessAndCheckers" data-slide-to="5"></li>
<li data-target="#carousel-GuessAndCheckers" data-slide-to="6"></li>
<li data-target="#carousel-GuessAndCheckers" data-slide-to="7"></li>
<li data-target="#carousel-GuessAndCheckers" data-slide-to="8"></li>
<li data-target="#carousel-GuessAndCheckers" data-slide-to="9"></li>
<li data-target="#carousel-GuessAndCheckers" data-slide-to="10"></li>
<li data-target="#carousel-GuessAndCheckers" data-slide-to="11"></li>
<li data-target="#carousel-GuessAndCheckers" data-slide-to="12"></li>
<li data-target="#carousel-GuessAndCheckers" data-slide-to="13"></li>
<li data-target="#carousel-GuessAndCheckers" data-slide-to="14"></li>
<li data-target="#carousel-GuessAndCheckers" data-slide-to="15"></li>
<li data-target="#carousel-GuessAndCheckers" data-slide-to="16"></li>
<li data-target="#carousel-GuessAndCheckers" data-slide-to="17"></li>
<li data-target="#carousel-GuessAndCheckers" data-slide-to="18"></li>
<li data-target="#carousel-GuessAndCheckers" data-slide-to="19"></li>
<li data-target="#carousel-GuessAndCheckers" data-slide-to="20"></li>
<li data-target="#carousel-GuessAndCheckers" data-slide-to="21"></li>
</ol>
<!-- Wrapper for slides -->
<div class="carousel-inner" role="listbox">
<div class="carousel-item active">
<img class="img-fluid d-block mx-auto" src="img/screenshots/GuessAndCheckers/welcome_activity.png" alt="Welcome" />
<!--<div class="carousel-caption">
<h3>Welcome</h3>
<p>...</p>
</div>-->
</div>
<div class="carousel-item">
<img class="img-fluid d-block mx-auto" src="img/screenshots/GuessAndCheckers/tutorial_slide_1.png" alt="Tutorial slide 1"
/>
</div>
<div class="carousel-item">
<img class="img-fluid d-block mx-auto" src="img/screenshots/GuessAndCheckers/tutorial_slide_2.png" alt="Tutorial slide 2"
/>
</div>
<div class="carousel-item">
<img class="img-fluid d-block mx-auto" src="img/screenshots/GuessAndCheckers/tutorial_slide_3.png" alt="Tutorial slide 3"
/>
</div>
<div class="carousel-item">
<img class="img-fluid d-block mx-auto" src="img/screenshots/GuessAndCheckers/tutorial_slide_4.png" alt="Tutorial slide 4"
/>
</div>
<div class="carousel-item">
<img class="img-fluid d-block mx-auto" src="img/screenshots/GuessAndCheckers/tutorial_slide_5.png" alt="Tutorial slide 5"
/>
</div>
<div class="carousel-item">
<img class="img-fluid d-block mx-auto" src="img/screenshots/GuessAndCheckers/scelta_mossa.png" alt="scelta mossa" />
</div>
<div class="carousel-item">
<img class="img-fluid d-block mx-auto" src="img/screenshots/GuessAndCheckers/solving_phase_1.png" alt="solving phase 1" />
</div>
<div class="carousel-item">
<img class="img-fluid d-block mx-auto" src="img/screenshots/GuessAndCheckers/solving_phase_2.png" alt="solving phase 2" />
</div>
<div class="carousel-item">
<img class="img-fluid d-block mx-auto" src="img/screenshots/GuessAndCheckers/solving_phase_3.png" alt="solving phase 3" />
</div>
<div class="carousel-item">
<img class="img-fluid d-block mx-auto" src="img/screenshots/GuessAndCheckers/textual_hint.png" alt="textual hint" />
</div>
<div class="carousel-item">
<img class="img-fluid d-block mx-auto" src="img/screenshots/GuessAndCheckers/scelta_mossa_sol.png" alt="scelta mossa sol"
/>
</div>
<div class="carousel-item">
<img class="img-fluid d-block mx-auto" src="img/screenshots/GuessAndCheckers/obbligo_presa.png" alt="obbligo presa" />
</div>
<div class="carousel-item">
<img class="img-fluid d-block mx-auto" src="img/screenshots/GuessAndCheckers/presa_avente_pezzi_forti.png" alt="presa avente pezzi forti"
/>
</div>
<div class="carousel-item">
<img class="img-fluid d-block mx-auto" src="img/screenshots/GuessAndCheckers/presa_avente_pezzi_forti_sol.png" alt="presa avente pezzi forti sol"
/>
</div>
<div class="carousel-item">
<img class="img-fluid d-block mx-auto" src="img/screenshots/GuessAndCheckers/presa_con_il_piu_forte.png" alt="presa con il piu forte"
/>
</div>
<div class="carousel-item">
<img class="img-fluid d-block mx-auto" src="img/screenshots/GuessAndCheckers/presa_con_piu_forte.png" alt="presa con piu forte"
/>
</div>
<div class="carousel-item">
<img class="img-fluid d-block mx-auto" src="img/screenshots/GuessAndCheckers/presa_con_piu_forte_prima.png" alt="presa_con_piu_forte_prima"
/>
</div>
<div class="carousel-item">
<img class="img-fluid d-block mx-auto" src="img/screenshots/GuessAndCheckers/presa_con_piu_forte_prima_sol.png" alt="presa_con_piu_forte_prima_sol"
/>
</div>
<div class="carousel-item">
<img class="img-fluid d-block mx-auto" src="img/screenshots/GuessAndCheckers/presa_con_piu_pezzi.png" alt="presa con piu pezzi"
/>
</div>
<div class="carousel-item">
<img class="img-fluid d-block mx-auto" src="img/screenshots/GuessAndCheckers/presa_con_piu_pezzi_sol.png" alt="presa con piu pezzi sol"
/>
</div>
<div class="carousel-item">
<img class="img-fluid d-block mx-auto" src="img/screenshots/GuessAndCheckers/embasp_ack.png" alt="embasp ack" />
</div>
</div>
<!-- Controls -->
<a class="carousel-control-prev" href="#carousel-GuessAndCheckers" role="button" data-slide="prev">
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
<span class="sr-only">Previous</span>
</a>
<a class="carousel-control-next" href="#carousel-GuessAndCheckers" role="button" data-slide="next">
<span class="carousel-control-next-icon" aria-hidden="true"></span>
<span class="sr-only">Next</span>
</a>
</div>
</div>
</div>
</div>
<div class="card card-primary">
<a class="collapsed" role="button" data-toggle="collapse" data-parent="#accordion" href="#collapseThree" aria-expanded="false"
aria-controls="collapseThree">
<div class="card-header" role="tab" id="headingThree">
<h4 class="card-title">
<em>DLVEdu</em>
</h4>
</div>
</a>
<div id="collapseThree" class="panel-collapse collapse" data-parent="#accordion" role="tabpanel" aria-labelledby="headingThree">
<div class="card-body row">
<div class="col col-sm-7">
<p>
<em>DLVEdu</em> is an educational Android App for children, that integrates well-established
mobile technologies, such as voice or drawn text recognition, with the modeling capabilities
of ASP. In particular, it is able to guide the child throughout the learning tasks,
by proposing a series of educational games, and developing a personalized educational
path. The games are divided into four macro-areas: Logic, Numeric-Mathematical, Memory,
and Verbal Language. The usage of ASP allows the application to adapt to the game
experiences fulfilled by the user, her formative gap, and the obtained improvements.
</p>
<p>
The application continuously profiles the user by recording mistakes and successes, and dynamically builds and updates a
customized educational path along the different games. The application features a
"Parent Area", that allows parents to monitor child's achievements and to express
some preferences, such as explicit filters of some games or educational areas.
</p>
<h5>
<b>Developers</b>
</h5>
<ul>
<li>Mattia Lanzillotta</li>
<li>Mirko Pontoriero</li>
<li>The EmbASP Team</li>
</ul>
</div>
<div class="col col-sm-5">
<div id="carousel-DLVEdu" class="carousel slide carousel-fade" data-ride="carousel">
<!-- Indicators -->
<ol class="carousel-indicators">
<li data-target="#carousel-DLVEdu" data-slide-to="0" class="active"></li>
<li data-target="#carousel-DLVEdu" data-slide-to="1"></li>
<li data-target="#carousel-DLVEdu" data-slide-to="2"></li>
<li data-target="#carousel-DLVEdu" data-slide-to="3"></li>
</ol>
<!-- Wrapper for slides -->
<div class="carousel-inner" role="listbox">
<div class="carousel-item active">
<img class="img-fluid d-block mx-auto" src="img/screenshots/DLVEdu/home.png" alt="Home" />
<!--<div class="carousel-caption">
<h3>Welcome</h3>
<p>...</p>
</div>-->
</div>
<div class="carousel-item">
<img class="img-fluid d-block mx-auto" src="img/screenshots/DLVEdu/giochi.png" alt="Giochi" />
</div>
<div class="carousel-item">
<img class="img-fluid d-block mx-auto" src="img/screenshots/DLVEdu/sudoku.png" alt="Sudoku" />
</div>
<div class="carousel-item">
<img class="img-fluid d-block mx-auto" src="img/screenshots/DLVEdu/area genitori.png" alt="Area genitori" />
</div>
</div>
<!-- Controls -->
<a class="carousel-control-prev" href="#carousel-DLVEdu" role="button" data-slide="prev">
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
<span class="sr-only">Previous</span>
</a>
<a class="carousel-control-next" href="#carousel-DLVEdu" role="button" data-slide="next">
<span class="carousel-control-next-icon" aria-hidden="true"></span>
<span class="sr-only">Next</span>
</a>
</div>
</div>
</div>
</div>
</div>
<div class="card card-primary">
<a class="collapsed" role="button" data-toggle="collapse" data-parent="#accordion" href="#collapseFour" aria-expanded="false"
aria-controls="collapseFour">
<div class="card-header" role="tab" id="headingFour">
<h4 class="card-title">
<em>Connect4</em>
</h4>
</div>
</a>
<div id="collapseFour" class="panel-collapse collapse" data-parent="#accordion" role="tabpanel" aria-labelledby="headingFour">
<div class="card-body">
<p>Connect4 is an application that allows a user to play the popular Connect Four game (also
known as Four-in-a-Row) against an ASP-based artificial player.
<br /> The Connect Four game is played by two opponents on a vertical 7*6 rectangular board.
At each turn, the players fill the board by dropping 1 disk into one of the column so
that it falls from the top to the lowest unoccupied position in the column. The winner
is the first player who gets four of her disks in a line, connected either horizontally,
vertically, or diagonally.
</p>
<p>
Different AIs have been implemented, ranging from the most powerful one implementing advanced techniques for the perfect
play to the simplest one relying on some classical heuristic strategies. By using EmbASP,
two different versions of the same app have been built: one for Android, making use of
<a href="http://www.dlvsystem.com">DLV</a>, and one for Java-enabled desktop platforms, making use of
<a href="http://potassco.sourceforge.net">clingo</a>.
</p>
<h5>
<b>Developers</b>
</h5>
<ul>
<li>Marco Anastasio</li>
<li>The EmbASP Team</li>
</ul>
</div>
</div>
</div>
<div class="card card-primary">
<a class="collapsed" role="button" data-toggle="collapse" data-parent="#accordion" href="#collapseFive" aria-expanded="false"
aria-controls="collapseFive">
<div class="card-header" role="tab" id="headingFive">
<h4 class="card-title">
<em>LoIDE</em>
</h4>
</div>
</a>
<div id="collapseFive" class="panel-collapse collapse" data-parent="#accordion" role="tabpanel" aria-labelledby="headingFive">
<div class="card-body">
<p>
<a href="https://github.com/DeMaCS-UNICAL/LoIDE">
<em>LoIDE</em>
</a> is a web-based IDE for Logic Programming.
<br /> An extensive documentation can be found
<a href="https://github.com/DeMaCS-UNICAL/LoIDE/wiki">here</a>.
</p>
<p>
A live beta version can be found online at
<a href="https://www.mat.unical.it/calimeri/projects/loide">https://www.mat.unical.it/calimeri/projects/loide</a>
<br /> This online version uses the
<a href="https://github.com/DeMaCS-UNICAL/ASPServerExecutor">ASPServerExecutor</a> to run the ASP solvers (using the EmbASP Framework).
</p>
<h5>
<b>Developers</b>
</h5>
<ul>
<li>Stefano Germano</li>
<li>Eliana Palermiti</li>
<li>Rocco Palermiti</li>
<li>Alexander Karaulshchikov</li>
<li>Francesco Calimeri</li>
</ul>
<div id="carousel-LoIDE" class="carousel slide carousel-fade" data-ride="carousel">
<!-- Indicators -->
<ol class="carousel-indicators">
<li data-target="#carousel-LoIDE" data-slide-to="0" class="active"></li>
<li data-target="#carousel-LoIDE" data-slide-to="1"></li>
<li data-target="#carousel-LoIDE" data-slide-to="2"></li>
<li data-target="#carousel-LoIDE" data-slide-to="3"></li>
</ol>
<!-- Wrapper for slides -->
<div class="carousel-inner" role="listbox">
<div class="carousel-item active">
<img class="img-fluid d-block mx-auto" src="img/screenshots/LoIDE/light_theme.png" alt="Light" />
</div>
<div class="carousel-item">
<img class="img-fluid d-block mx-auto" src="img/screenshots/LoIDE/dark_theme.png" alt="Dark" />
</div>
<div class="carousel-item">
<img class="img-fluid d-block mx-auto" src="img/screenshots/LoIDE/example1.png" alt="Example1" />
</div>
<div class="carousel-item">
<img class="img-fluid d-block mx-auto" src="img/screenshots/LoIDE/example2.png" alt="Example2" />
</div>
</div>
<!-- Controls -->
<a class="carousel-control-prev" href="#carousel-LoIDE" role="button" data-slide="prev">
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
<span class="sr-only">Previous</span>