v2.0.0
Version 2.0.0
This version of clinguin adds several new features. Some of them make previous implementations incompatible.
Note: Make sure you clear your browsers cache to ensure it uses the latest version
All new changes are included in the documentation page
❗ Backwards incompatible
_clinguin_assume/1is now_clinguin_assume/2where the second argument is eithertrueorfalse- Operation
add_assumption/1is nowadd_assumption/2where the second argument is eithertrueorfalse - Attribute
visibleis now calledvisibilityand the values are eithershownorhidden - Incompatibilities only relevant for extension:
-ClingoMultishotBackendis removed and all its functionality is now inClingoBackend
- instead of extending__init__now initializations are separated
🌟 List of all changes
Operations
- Operation
add_assumption/1is nowadd_assumption/2where the second argument is eithertrueorfalse. Giving the option to work with false assumptions. - added operation to ground
- type parsing and defaults for user input in
_context_value - operation for model selection now accepts show statements for filtering
- added operation to set a constant
Attributes
- Attribute
visibleis nowvisibilityand the values are eithershownorhidden - Attribute regarding style (such as
filter) for canvas elements with an image path are now applied only to the canvas
Components
- New component
progress_bar - New component
checkbox
UI
- Loader while server responds
Domain constructors
_clinguin_assume/1is now_clinguin_assume/2where the second argument is eithertrueorfalse- added optimization information into domain state
- added information about externals
- added information about the constants
- performance improvement via automatic checks to skip constructors based on
ui files
Command line
- added command line option for optimization timeout
- added argument for clingo general command line arguments
Backend
ClingoMultishotBackendis removed and all its functionality is now inClingoBackend- instead of extending
__init__now initializations are separated - added attribute
self._argsfor command line arguments - ExplanationBackend now using
clingexplaidlibrary
Examples
- New example with incremental solving
- New examples with optimization and false assumptions
General documentation update!
- Help section
- Example section
- Animations of UIs as example
- Several improvements overall