Modelling causal connections between objects

被引:0
|
作者
Lundberg, C [1 ]
Bosch, J
机构
[1] Univ Kalmar, Dept Comp Sci, Dept Technol, ARCS Res Grp, S-39234 Kalmar, Sweden
[2] Univ Karlskrona Ronneby, Dept Comp Sci & Business Adm, ARCS Res Grp, S-37225 Ronneby, Sweden
来源
JOURNAL OF PROGRAMMING LANGUAGES | 1997年 / 5卷 / 01期
关键词
object-oriented programming; client-server interaction; interobject dependencies;
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
The conventional object-oriented paradigm provides client-server message passing as the primary means of interaction between objects. Although this is appropriate in situations where one objects requests a service from another object, there are other situations where one object, the observer, depends on state-changes or actions occurring at another object, the target. In those situations, the object-oriented paradigm requires the target object to notify the observer objects, despite the fact that the target object does not benefit from the interaction. This inverted interaction scheme leads to problems such as increased coupling and decreased understandability, maintainability and reusability of the resulting classes. In the analysis of object interactions one can identify four roles: the benefitor, the establisher, the sender and the receiver. The aforementioned problems result from the fact that in client-server interaction, the benefitor and the sender are not always the same object. To address this, we propose the notion of causal connections, an alternative interaction mechanism complementing the traditional client-server interaction. Two implementations of causal connections are described; one in the context of C++ and another using the layered object model. It is shown that causal connections solve the problems mentioned above.
引用
收藏
页码:233 / 258
页数:26
相关论文
共 50 条
  • [1] Grounding: Interpreter-independent causal connections between symbols and objects, turing-scale
    Harnad, S
    PSYCOLOQUY, 2001, 12 (59): : 1 - 3
  • [2] Dynamic causal modelling of evoked responses: The role of intrinsic connections
    Kiebel, Stefan J.
    Garrido, Marta I.
    Friston, Karl J.
    NEUROIMAGE, 2007, 36 (02) : 332 - 345
  • [3] Some causal connections between stochastic dynamic systems
    Petrovic, Ljiljana
    FILOMAT, 2013, 27 (05) : 865 - 873
  • [4] Causal Connections Between Anorexia Nervosa and Delusional Beliefs
    De Young, Kyle
    Rettler, Lindsay
    REVIEW OF PHILOSOPHY AND PSYCHOLOGY, 2024, 15 (03) : 795 - 816
  • [5] Overdetermination and causal connections
    Rubenstein, Ezra
    PHILOSOPHICAL STUDIES, 2025, 182 (01) : 305 - 329
  • [6] Modelling the interaction between objects: Roles as affordances
    Baldoni, Matteo
    Boella, Guido
    van der Torre, Leendert
    KNOWLEDGE SCIENCE, ENGINEERING AND MANAGEMENT, 2006, 4092 : 42 - 54
  • [7] Causal connections between socioeconomic disparities and COVID-19 in the USA
    Banerjee, Tannista
    Paul, Ayan
    Srikanth, Vishak
    Strumke, Inga
    SCIENTIFIC REPORTS, 2022, 12 (01)
  • [8] Causal connections between socioeconomic disparities and COVID-19 in the USA
    Tannista Banerjee
    Ayan Paul
    Vishak Srikanth
    Inga Strümke
    Scientific Reports, 12
  • [9] Causal and coherent connections between fortune and psychosis in dementia praecox (schizophrenia)
    Jaspers, K
    ZEITSCHRIFT FUR DIE GESAMTE NEUROLOGIE UND PSYCHIATRIE, 1913, 14 : 158 - 263
  • [10] Pathways between education and health: a causal modelling approach
    Chandola, T
    Clarke, P
    Morris, JN
    Blane, D
    JOURNAL OF THE ROYAL STATISTICAL SOCIETY SERIES A-STATISTICS IN SOCIETY, 2006, 169 : 337 - 359