pt :Patient
t1:TS@Dept
pt :Patient
f2:apptTime
pt :Patient
t2:TS@Lab
f1:apptTime
b:belongsTo
t1:TS@Dept
g1:examTime
d:Doctor
:assigned
Doctor
f1:apptTime
g1:examTime
pt :Patient
t2:TS@Lab
pt :Patient
g2:examTime
NAC
NAC
NAC
r
e:Imaging
Exam
h:hasOrder
Additional Matching Condition, MC =
4
r
4
{ ‘endTime(t2) < endTime(t1)’ }
t2:TS@Lab
b:belongsTo
t1:TS@Dept
d:Doctor
:assigned
Doctor
e:Imaging
Exam
h:hasOrder
b:belongsTo
d:Doctor
:assigned
Doctor
e:Imaging
Exam
h:hasOrder
Typing
Player
Choice
pt
ω
:hasChoice
hasChoice
c
Instance, (I, ι )
I
1
1
1
2
3
1
Figure 13: Transformation rule r
4
for resource allocation and producing epistemic choices.
REFERENCES
Alanen, M. and Porres, I. (2003). Difference and Union
of Models, pages 2–17. Springer Berlin Heidelberg,
Berlin, Heidelberg.
Bak, K., Diskin, Z., Antkiewicz, M., Czarnecki, K., and
Wasowski, A. (2016). Clafer: unifying class and
feature modeling. Software and System Modeling,
15(3):811–845.
Barr, M. and Wells, C., editors (1995). Category Theory
for Computing Science, 2nd Ed. Prentice Hall Inter-
national (UK) Ltd., Hertfordshire, UK.
De Moura, L. and Bjørner, N. (2008). Z3: An efficient smt
solver. In Proceedings of the Theory and Practice of
Software, 14th International Conference on Tools and
Algorithms for the Construction and Analysis of Sys-
tems, TACAS’08/ETAPS’08, pages 337–340, Berlin,
Heidelberg. Springer-Verlag.
Diskin, Z. (2011). Model Synchronization: Mappings, Tiles,
and Categories, pages 92–165. Springer Berlin Hei-
delberg, Berlin, Heidelberg.
Diskin, Z. and Wolter, U. (2008). A diagrammatic logic for
object-oriented visual modeling. Electronic Notes in
Theoretical Computer Science, 203(6):19 – 41. Pro-
ceedings of the Second Workshop on ACCAT, 2007.
Diskin, Z., Xiong, Y., and Czarnecki, K. (2010). Specify-
ing overlaps of heterogeneous models for global con-
sistency checking. In Proceedings of the First Inter-
national Workshop on Model-Driven Interoperability,
MDI ’10, pages 42–51, NY, USA. ACM.
Ehrig, H., Ehrig, K., Prange, U., and Taentzer, G.
(2006). Fundamentals of Algebraic Graph Transfor-
mation. Monographs in Theoretical Computer Sci-
ence. Springer.
Fiadeiro, J. L. and Maibaum, T. (1995). Interconnecting
formalisms: Supporting modularity, reuse and incre-
mentality. SIGSOFT Softw. Eng. Notes, 20(4):72–80.
Han, P. K., Klein, W. M., and Arora, N. K. (2011). Vari-
eties of uncertainty in health care: A conceptual tax-
onomy. Medical decision making: an international
journal of the Society for Medical Decision Making,
31(6):828–838.
Jackson, D. (2002). Alloy: A lightweight object mod-
elling notation. ACM Trans. Softw. Eng. Methodol.,
11(2):256–290.
Jussien, N., Rochart, G., and Lorca, X. (2008). Choco: an
Open Source Java Constraint Programming Library.
In CPAIOR’08 Workshop on Open-Source Software
for Integer and Contraint Programming (OSSICP’08),
pages 1–10, Paris, France, France.
K
¨
onig, H. and Diskin, Z. (2016). Advanced local checking
of global consistency in heterogeneous multimodel-
ing. In Wasowski, A. and L
¨
onn, H., editors, Modelling
Foundations and Applications - 12th European Con-
ference, ECMFA’16/STAF’16, volume 9764 of LNCS,
pages 19–35. Springer.
Lambers, L., Ehrig, H., Prange, U., and Orejas, F. (2008).
Embedding and Confluence of Graph Transformations
with Negative Application Conditions, pages 162–
177. Springer Berlin Heidelberg.
Lamo, Y., Mantz, F., Rutle, A., and de Lara, J. (2013).
A declarative and bidirectional model transformation
approach based on graph co-spans. In Proceedings
of the 15th Symposium on Principles and Practice
of Declarative Programming, PPDP ’13, pages 1–12,
NY, USA. ACM.
Mantz, F. (2014). Coupled Transformations of Graph Struc-
tures applied to Model Migration. PhD thesis, De-
partment of Mathematics and Informatics, Philipps-
Universit
¨
at Marburg, Germany.
Perea, A. (2012). Epistemic Game Theory: Reasoning and
Choice. Cambridge University Press, 1 edition.
Optimizing Distributed Resource Allocation using Epistemic Game Theory: A Model-driven Engineering Approach
51