%0 Conference Proceedings %T Constraint-Flow Nets: A Model for Building Constraints from Resource Dependencies %+ Ecole Polytechnique Fédérale de Lausanne (EPFL) %+ University of Applied Sciences of Western Switzerland %A Bliudze, Simon %A Simalatsar, Alena %A Zolotukhina, Alina %Z Part 4: Resource, Components and Information Flow %< avec comité de lecture %( Lecture Notes in Computer Science %B 19th International Conference on Coordination Languages and Models (COORDINATION) %C Neuchâtel, Switzerland %Y Jean-Marie Jacquet %Y Mieke Massink %I Springer International Publishing %3 Coordination Models and Languages %V LNCS-10319 %P 197-216 %8 2017-06-19 %D 2017 %R 10.1007/978-3-319-59746-1_11 %K Resource management %K Resource dependencies %K Constraint-flow nets %K Petri nets %K Marking reachability %K Conflict detection %Z Computer Science [cs] %Z Computer Science [cs]/Networking and Internet Architecture [cs.NI]Conference papers %X The major research in the resource management literature focuses primarily on two complementary sub-problems: (1) specification languages for formulating resource requests and (2) constraint problems modelling allocation and scheduling. Both directions assume the knowledge of the underlying platform architecture and the dependencies it induces on the usage of the various resources. In this paper, we bridge this gap by introducing constraint-flow nets (cfNets). A cfNet is defined by a set of resources and dependencies between them, each dependency having an associated constraint schema. The model is inspired by Petri nets, with resources corresponding to places and dependencies—to transitions. Given an architecture of dependent resources, an initial resource request is propagated through the dependencies. The generated constraints are then conjuncted into the global allocation constraint. We study the notion of conflicts in cfNets and prove that for conflict-free cfNets the global allocation constraint can be constructed unambiguously. Furthermore, we provide an SMT-based algorithm for conflict detection and discuss the use of priorities to dynamically resolve conflicts at run-time. Finally, we illustrate the use of cfNets on a case study inspired by the Kalray MPPA architecture. %G English %Z TC 6 %Z WG 6.1 %2 https://inria.hal.science/hal-01657340/document %2 https://inria.hal.science/hal-01657340/file/450044_1_En_11_Chapter.pdf %L hal-01657340 %U https://inria.hal.science/hal-01657340 %~ IFIP-LNCS %~ IFIP %~ IFIP-TC %~ IFIP-WG %~ IFIP-TC6 %~ IFIP-WG6-1 %~ IFIP-COORDINATION %~ IFIP-LNCS-10319