Programs that manipulate physical quantities typically represent these quantities as raw numbers corresponding to the quantities' measurements in particular units (e.g., a length represented as a number of meters)...
详细信息
Programs that manipulate physical quantities typically represent these quantities as raw numbers corresponding to the quantities' measurements in particular units (e.g., a length represented as a number of meters). this approach eliminates the possibility of catching errors resulting from adding or comparing quantities expressed in different units (as in the Mars Climate Orbiter error [11]), and does not support the safe comparison and addition of quantities of the same dimension. We show how to formulate dimensions and units as classes in a nominally typed object-oriented language through the use of statically typed metaclasses. Our formulation allows both parametric and inheritance polymorphism with respect to both dimension and unit types. It also allows for integration of encapsulated measurement systems, dynamic conversion factors, declarations of scales (including nonlinear scales) with defined zeros, and nonconstant exponents on dimension types. We also show how to encapsulate most of the "magic machinery" that handles the algebraic nature of dimensions and units in a single metaclass that allows us to treat select static types as generators of a free abelian group.
Software development remains difficult to plan. object-orientation has not changed the picture thus far. However due to the greater continuity in OO across the lifecycle, there is hope that OO may improve the predicta...
详细信息
ISBN:
(纸本)1581130376
Software development remains difficult to plan. object-orientation has not changed the picture thus far. However due to the greater continuity in OO across the lifecycle, there is hope that OO may improve the predictability of OO projects. this workshop is a continuation of a similar, very successful workshop held at OOPSLA'95.
the OOPSLA '97 Workshop on Experiences Using object Data Management in the Real-World was held at the Cobb Galleria Centre in Atlanta, Georgia on Monday 6 October 1997. this report summarizes some of the commercia...
详细信息
ISBN:
(纸本)1581130376
the OOPSLA '97 Workshop on Experiences Using object Data Management in the Real-World was held at the Cobb Galleria Centre in Atlanta, Georgia on Monday 6 October 1997. this report summarizes some of the commercial case-study presentations made by workshop participants.
We developed an object-oriented model which can be used to simulate the negotiation process between two opposing parties. Two party negotiations involve three basic objects;''Negotiator/Opponent'', ...
详细信息
We developed an object-oriented model which can be used to simulate the negotiation process between two opposing parties. Two party negotiations involve three basic objects;''Negotiator/Opponent'', ''Issues'', and ''Umpire''. the first object represents the parties to a conflict. ''Issues'' are one or more issues in conflict. the ''Umpire'' is a special objectthat may force specific changes on the negotiation process that ''Negotiator'' and ''Opponent'' have little or no control over. the objects exchange structural and communicative moves that alter their properties.
暂无评论