{"title":"并发面向对象环境中的约束","authors":"C. Laffra, J. Bos","doi":"10.1145/127070.127082","DOIUrl":null,"url":null,"abstract":"A constraint is a numeric or geometric relationship between objects. Constraints have a declarative nature. Constraints are a natural way for describing relationships between objects. Combining constraint systems and object-oriented programming (OOP) appears hard. All existing systems implicitly compromise the encapsulation principle of OOP. This paper proposes a mechanism that provides for constraints in an object-oriented environment. Constraints are triggered by messages that are being sent to objects. Constraints are resolved through local propagation of known state. We claim that this is the most practical technique in a concurrent or parallel object environment. No compromise has been made to the OOP paradigm. Therefore a truly object-oriented approach to constraint programming is the result.","PeriodicalId":373776,"journal":{"name":"OOPSLA/ECOOP Workshop on Object-based Concurrent Programming","volume":"12 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"1991-04-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"2","resultStr":"{\"title\":\"Constraints in concurrent object-oriented environment\",\"authors\":\"C. Laffra, J. Bos\",\"doi\":\"10.1145/127070.127082\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"A constraint is a numeric or geometric relationship between objects. Constraints have a declarative nature. Constraints are a natural way for describing relationships between objects. Combining constraint systems and object-oriented programming (OOP) appears hard. All existing systems implicitly compromise the encapsulation principle of OOP. This paper proposes a mechanism that provides for constraints in an object-oriented environment. Constraints are triggered by messages that are being sent to objects. Constraints are resolved through local propagation of known state. We claim that this is the most practical technique in a concurrent or parallel object environment. No compromise has been made to the OOP paradigm. Therefore a truly object-oriented approach to constraint programming is the result.\",\"PeriodicalId\":373776,\"journal\":{\"name\":\"OOPSLA/ECOOP Workshop on Object-based Concurrent Programming\",\"volume\":\"12 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"1991-04-01\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"2\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"OOPSLA/ECOOP Workshop on Object-based Concurrent Programming\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1145/127070.127082\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"OOPSLA/ECOOP Workshop on Object-based Concurrent Programming","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/127070.127082","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
Constraints in concurrent object-oriented environment
A constraint is a numeric or geometric relationship between objects. Constraints have a declarative nature. Constraints are a natural way for describing relationships between objects. Combining constraint systems and object-oriented programming (OOP) appears hard. All existing systems implicitly compromise the encapsulation principle of OOP. This paper proposes a mechanism that provides for constraints in an object-oriented environment. Constraints are triggered by messages that are being sent to objects. Constraints are resolved through local propagation of known state. We claim that this is the most practical technique in a concurrent or parallel object environment. No compromise has been made to the OOP paradigm. Therefore a truly object-oriented approach to constraint programming is the result.