Can UML with OCL be used for formal specifications?
Posted
by Gabriel Šcerbák
on Stack Overflow
See other posts from Stack Overflow
or by Gabriel Šcerbák
Published on 2010-05-11T23:05:27Z
Indexed on
2010/05/11
23:14 UTC
Read the original article
Hit count: 328
I am asking because UML is used for informal specifications and has some ambiguities in its semantics. However OCL can be used to specify pre/post conditions and invariants and other constraints quite efficiently I think.
I encountered the Z notation and algebraic specifications recently. My question, is combination of UML and OCL sufficient for formal specifications?
© Stack Overflow or respective owner