Learn CBR Hansruedi Patzen CBR Check Learn CBR Call Save Code Repair Write-back Summary Hansruedi Patzen 1 References University of Applied Sciences Rapperswil 14th January 2019 1 hansruedi.patzen@hsr.ch
Learn CBR Hansruedi Patzen CBR Check Call Repair CBR Write-back Summary References (Constraint-Based Refactoring / Constraint-Based Repair)
Learn CBR CBR Hansruedi Patzen CBR Check Call Repair Write-back Summary Why Constraint-Based Refactoring? References
Learn CBR Rules Hansruedi Patzen CBR Check Call Repair Write-back Summary We need rules. References
Learn CBR Rules Hansruedi Patzen CBR Check Call Repair Write-back Summary And even more rules. References
Learn CBR Hansruedi Patzen CBR Check Call Repair Check the Program Write-back Summary References (Check the scene and the person)
Learn CBR Check Hansruedi Patzen CBR Check Call Repair Write-back • Generate constraints Summary References • Generate A P • Get user set intent I
Learn CBR Hansruedi Patzen CBR Check Call Repair Call the Solver Write-back Summary ( Call 911 2 for assistance) References 2 CH: 112 general emergency, 117 police, 118 fire department, 144 ambulance
Learn CBR Call Hansruedi Patzen CBR Check Call Repair Write-back Summary solve :- domains(Vars) , constrain(Vars), label(Vars). References
Learn CBR Hansruedi Patzen CBR Check Call Repair Repair Constraint Violations Write-back Summary ( Open the airway. Check for breathing. Do CPR 3 ) References 3 Push hard, push fast. Deliver rescue breaths. Repeat.
Learn CBR Repair Hansruedi Patzen CBR Check Call Repair Write-back Summary solve :- init(Vars), constrain(Vars, ConflctSet), repair(ConflctSet). References
Learn CBR Hansruedi Patzen CBR Check Call Repair Write-Back Refactored Code Write-back Summary References (Finish CPR)
Learn CBR Hansruedi Patzen CBR Check Call Repair Write-back Summary Summary References
Learn CBR Summary Hansruedi Patzen CBR Check Call Repair Write-back Summary • References
Learn CBR References I Hansruedi Patzen CBR F. Steimann, “Constraint-Based Refactoring”, ACM Trans. Program. Lang. Syst. , Check vol. 40, no. 1, 2:1–2:40, Jan. 2018, issn : 0164-0925. doi : 10.1145/3156016 . Call [Online]. Available: http://doi.acm.org/10.1145/3156016 . Repair Write-back ——,“Constraint-based Model Refactoring”, in Proceedings of the 14th Summary International Conference on Model Driven Engineering Languages and Systems , References ser. MODELS’11, Berlin, Heidelberg: Springer-Verlag, 2011, pp. 440–454, isbn : 978-3-642-24484-1. [Online]. Available: http://dl.acm.org/citation.cfm?id=2050655.2050700 . F. Steimann and J. von Pilgrim, “Refactorings Without Names”, in Proceedings of the 27th IEEE/ACM International Conference on Automated Sofware Engineering , ser. ASE 2012, New York, NY, USA: ACM, 2012, pp. 290–293, isbn : 978-1-4503-1204-2. doi : 10.1145/2351676.2351726 . [Online]. Available: http://doi.acm.org/10.1145/2351676.2351726 .
Learn CBR References II Hansruedi Patzen CBR Check ——,“Constraint-Based Refactoring with Foresight”, in Proceedings of the 26th Call European Conference on Object-Oriented Programming , ser. ECOOP’12, Berlin, Repair Heidelberg: Springer-Verlag, 2012, pp. 535–559, isbn : 978-3-642-31056-0. doi : Write-back 10.1007/978-3-642-31057-7_24 . [Online]. Available: Summary http://dx.doi.org/10.1007/978-3-642-31057-7_24 . References M. Fowler, K. Beck, and J. Brant, Refactoring: Improving the Design of Existing Code , 1st ed. Addison-Wesley Professional, 1999, isbn : 978-0-201-48567-7. American National Red Cross, CPR Steps , 2018. [Online]. Available: https://www.redcross.org/take-a-class/cpr/performing-cpr/cpr-steps (visited on 10/18/2018).
Recommend
More recommend