Interpretation management
How can interpretations be set, how are multiple references managed. What with the changeInter operations and how does it interact through the external interface (Lua, Haskell, ...)
Comments (12)
-
-
Issue
#584was marked as a duplicate of this issue. -
Change the changeTable-functions to private, everything can be done through changing the interntable -> bug solved by proper access control
-
reporter Refs #245: Fixes universe issue, by internally setting the tables. Probably not a complete solution.
→ <<cset 9592268927c9>>
-
reporter Making the changeTable functions private is not a workable solution. However for sorttables, the swapping of internal tables can be done within the changeInter function.
-
reporter Merged in univ_fix (pull request #174)
Refs #245: Fixes universe issue, by internally setting the tables. Probably not a complete solution.
→ <<cset de9227bebae6>>
-
reporter - changed title to Interpretation management
- marked as enhancement
- marked as major
- edited description
-
Momenteel kan het veranderen van de sortinter ervoor zorgen dat er invarianten worden geschonden (predinter bevat enkel dingen uit zijn universe -> door te tellen kan je weten of iets twovalued is, ...). Misschien willen we dit checken?
-
- attached ctl.idp
File in bijlage toont het voorgaande foutieve gedrag.
Er is niets gekend over 2, toch maakt "clean" P(2) false
-
Bijkomende vraag: Wat betekent het als we elementen toevoegen aan/verwijderen uit een sorttable????
Bijvoorbeeld T= {1;2} P={1;2}
voeg 3 toe aan T
-
is P dan unknown op 3? Want er is niets gezegd over 3
-
Of is P misschien false op 3? Want er is expliciet gezegd dat P enkel waar is voor 1..2
-
Of... is P misschien true op 3? Want P was oorspronkelijk true op alles in T (misschien komt de interpretatie van P van een definitie P(x) <- true)
Alle drie zijn in sommige situaties aannemelijk. Ik denk dat unknown de beste is...
-
-
Issue #590 was marked as a duplicate of this issue.
-
Issue
#704was marked as a duplicate of this issue. - Log in to comment
Possible solution: predtables, functables, sorttables are shared_ptr.
(you cannot do this for internalpredtables, because the nwe would lose the optimization of not having to copy internaltables all the time)