diff options
author | Federico Igne <federico.igne@cs.ox.ac.uk> | 2020-11-06 17:18:07 +0000 |
---|---|---|
committer | Federico Igne <federico.igne@cs.ox.ac.uk> | 2020-11-06 17:18:07 +0000 |
commit | b721703c349cebd3ffe888d9644f2b85d5a8eeb7 (patch) | |
tree | a3845fbf44827ff66fc956c90fe20c1d4be73115 /src/test/scala | |
parent | c6babfd508f65e8b7596a96659214cb43881dadd (diff) | |
download | RSAComb-b721703c349cebd3ffe888d9644f2b85d5a8eeb7.tar.gz RSAComb-b721703c349cebd3ffe888d9644f2b85d5a8eeb7.zip |
Rework canonical model computation
This is a first attempt to avoid a bug triggered by the nature of the
class RSAOntology and CanonicalModel.
An OWLOntology is converted implicitly to an RSAOntology object
whenever it is needed. From within the RSAOntology class we used to
create a CanonicalModel object (and pass the underling OWLOntology
object as a parameter). Inside CanonicalModel we require RSAOntology
functionalities from the OWLOntology, triggering a new conversion into
RSAOntology (that would compute a new CanonicalModel and so on in a
loop).
While declaring the CanonicalModel as lazy in RSAOntology could solve
the problem, it does not fix the underlying issue of having a class
strictly related to RSAOntology as a top level class.
As a first attempt we moved CanonicalModel as an object inside
RSAOntology.
Diffstat (limited to 'src/test/scala')
0 files changed, 0 insertions, 0 deletions