TY - JOUR
T1 - Traits
T2 - 13th RuleML+RR Doctoral Consortium and Rule Challenge, RuleML+RR DC and Challenge 2019
AU - Sottara, Davide
AU - Proctor, Mark
AU - Bragaglia, Stefano
AU - Hekmatnejad, Mohammad
N1 - Publisher Copyright:
Copyright © 2019 for this paper by its authors. Use permitted under Creative Commons License Attribution 4.0 International (CC BY 4.0).
Copyright:
Copyright 2019 Elsevier B.V., All rights reserved.
PY - 2019
Y1 - 2019
N2 - This paper describes “traits”, an extension to a rule engine that provides a dynamic type system for working with in an object oriented code in a type safe environment. This extension is inspired by frame logic and "duck typing". The implementation is based on the use of dynamic proxies and form of runtime interface injection and requires the partial redefinition of the traditional working memory operations (assert, update, retract), but is otherwise transparently embedded in the engine. We evaluate a reference implementation built on top of the open source rule engine Drools, showing that the approach improves clarity without impacting performance.
AB - This paper describes “traits”, an extension to a rule engine that provides a dynamic type system for working with in an object oriented code in a type safe environment. This extension is inspired by frame logic and "duck typing". The implementation is based on the use of dynamic proxies and form of runtime interface injection and requires the partial redefinition of the traditional working memory operations (assert, update, retract), but is otherwise transparently embedded in the engine. We evaluate a reference implementation built on top of the open source rule engine Drools, showing that the approach improves clarity without impacting performance.
KW - Drools
KW - Frame Logic
KW - Production Rule Systems
KW - Rule Engine
UR - http://www.scopus.com/inward/record.url?scp=85072741166&partnerID=8YFLogxK
UR - http://www.scopus.com/inward/citedby.url?scp=85072741166&partnerID=8YFLogxK
M3 - Conference article
AN - SCOPUS:85072741166
SN - 1613-0073
VL - 2438
JO - CEUR Workshop Proceedings
JF - CEUR Workshop Proceedings
Y2 - 16 September 2019 through 19 September 2019
ER -