View-Based Propagator Derivation - (Extended Abstract)
View-Based Propagator Derivation - (Extended Abstract)
复制标题
基于视图的传播器推导 - (扩展摘要)
DOI:
--
复制
发表时间:
2014
期刊:
影响因子:
--
通讯作者:
Guido Tack
中科院分区:
文献类型:
--
作者:
Christian Schulte;Guido Tack
When implementing a propagator for a constraint, one must decide about variants: When implementing min , should one also implement max ? Should one implement linear equations both with and without coefficients? Constraint variants are ubiquitous: implementing them requires considerable effort, but yields better performance. This abstract shows how to use views to derive propagator variants where derived propagators are perfect in that they inherit essential properties such as correctness and domain and bounds consistency. Techniques for systematically deriving propagators are developed, and the abstract sketches an implementation architecture for views that is independent of the underlying constraint programming system. Evaluation of views implemented in Gecode shows that derived propagators are efficient and that views often incur no overhead. Views have proven essential for implementing Gecode, substantially reducing the amount of code that needs to be written and maintained.