aboutsummaryrefslogtreecommitdiffstats
path: root/subprojects/store
Commit message (Collapse)AuthorAge
* feat: concrete count in partial modelsLibravatar Kristóf Marussy2023-07-25
|
* feat: multi-object based EQUALS and EXISTSLibravatar Kristóf Marussy2023-07-20
| | | | | | | | | Adds translator for EQUALS and EXISTS symbols based on the multi-object formalism. Only diagonal equality links are supported (e.g., distinct nodes may not be EQUALS with each other). Also introduces initial model seeds to separate partial interpreter construction and graph initialization better.
* feat: basic partial interpretation infrastructureLibravatar Kristóf Marussy2023-07-20
|
* feat: base indexer for storeLibravatar Kristóf Marussy2023-07-15
|
* feat: Dnf liftingLibravatar Kristóf Marussy2023-06-29
| | | | Support for count and aggregation is still missing.
* feat: ordered query ResultSetLibravatar Kristóf Marussy2023-06-29
| | | | | | | | | | | | | | Enable deterministic state-space exploration by ordering activations in lexicographic order. This preliminary implementation adds oredering as a wrapper for ResultSet instances, but more sophisticated support could be built directly into query engine adapters if a query engine supports deterministic output by default. * Implements Comparable for tuples with loops unrolled for small tuples by hand. * Cleans up the contents of the (root of the) tools.refinery.query package. * Adds ResultSetListener to notify clients about ResultSet changes. * Adds OrderStatisticTree data structure for determinisitc ordering of keys.
* refactor: clean up Symbol constructorLibravatar Kristóf Marussy2023-06-18
| | | | Shorthad syntax for the most commonly used symbol types.
* refactor: simplify ModelAdapterLibravatar Kristóf Marussy2023-04-21
| | | | | | | | * Remove the reflection-based machinery around adapter types. * Adapter builders, store adapters, and model adapters are now only associated with each other based on static and runtime types. * Simplifies writing new adapters. * Hierarchical syntax for adding adapter builders to the store builder.
* chore: add copyright headersLibravatar Kristóf Marussy2023-04-15
| | | | | | | | | | | | | | Make sure we obey the REUSE (https://reuse.software) specification and the origin, copyright owner, and license of all files are clearly marked. The whole project is under the EPL-2.0, except for trivial files where copyright is not applicable that are marked with the CC0-1.0 license. Moreover, code included from third parties is also available under the respective license. chore: add CONTRIBUTORS.md List all authors and supporting organizations in accordance with the REUSE specification.
* build: organize build scripts into packagesLibravatar Kristóf Marussy2023-04-09
| | | | | | | Also take advantage of precompiled Kotlin scripts to write build scripts in a more straightforward manner through generated accessors. Might increase memory usage of Gradle.
* build: convert Gradle scripts to KotlinLibravatar Kristóf Marussy2023-04-08
| | | | | | | Improves IDE support build scripts in IntelliJ. There is no Eclipse IDE support, but Eclipse didn't have support for Groovy either, so there is no degradation of functionality.
* refactor: remove TupleLikeLibravatar Kristóf Marussy2023-04-07
| | | | | | | | | | * Directly transform VIATRA tuples into Refinery tuples, since creating the additional wrapper object doesn't save any memory. * Adds static arity Tuple3 and Tuple4 implementations to be more aligned with VIATRA internals and save memory for queries with up to 4 parameters. * Makes sure no new objects are allocated (for varargs handling) when a static arity tuple is hashed.
* feat: terms and improved query evaluationLibravatar Kristóf Marussy2023-03-31
| | | | | | | | | | | | | | | | | * Implement data terms for computations in queries. * Function-like queries with computed results. * Improved query evaluation, including positive and negative diagonal cosntraints. * Preliminary local search support. * Changes to the DNF representation for count and aggregation support. feat: terms wip feat: query terms wip feat: query evaluation, diagonal constraints, local search wip fix reasoning compilation wip
* refactor: use Cursor in query result setsLibravatar Kristóf Marussy2023-03-01
|
* feat: Dnf reduction and structural equalityLibravatar Kristóf Marussy2023-02-24
|
* refactor: split query and partial from storeLibravatar Kristóf Marussy2023-02-20
| | | | | | Allows more complicated dependency hiearchies (e.g., use store-query-viatra for testing store-partial) and better separation of test fixtures.
* feat: type inference for class hierarchiesLibravatar Kristóf Marussy2023-02-20
|
* feat: PartialInterpretation representationsLibravatar Kristóf Marussy2023-02-17
|
* refactor: EDSL for DNF literalsLibravatar Kristóf Marussy2023-02-09
|
* refactor: Atom -> Literal naming conventionLibravatar Kristóf Marussy2023-02-09
|
* refactor: PartialInterpretation adapter namingLibravatar Kristóf Marussy2023-02-03
|
* refactor: Symbol as recordLibravatar Kristóf Marussy2023-02-03
| | | | | Makes the intent of the code clearer by explicitly overriding equals and hashCode for by-reference comparison. Also fixes Sonar warning.
* fix: missing NoSuchElementExceptionLibravatar Kristóf Marussy2023-02-02
| | | | | Bug was pointed out by Sonar: https://sonarcloud.io/project/issues?open=AYYT39yQKbLNgAqL21xC&id=graphs4value_refinery
* refactor: do not allow Symbol in CallAtomLibravatar Kristóf Marussy2023-02-02
|
* feat: track uncommitted Model changesLibravatar Kristóf Marussy2023-02-02
|
* feat: track ModelQuery pending changesLibravatar Kristóf Marussy2023-02-02
|
* feat: model query functional dependenciesLibravatar Kristóf Marussy2023-02-02
|
* refactor: VIATRA adapter fixesLibravatar Kristóf Marussy2023-02-01
|
* feat: negative and transitive RelationViewAtomLibravatar Kristóf Marussy2023-01-29
| | | | | Use PVisibility.EMBEDDED helper patterns to avoid superfluous production nodes in the Rete net.
* refactor: Model store and query APILibravatar Kristóf Marussy2023-01-29
| | | | Use Adapters to simplify API usage.
* refactor(store): compare VersionedMap instancesLibravatar Kristóf Marussy2022-12-21
| | | | | | | The Java hashCode and equals API is inappropriate here, because an AnyVersionedMap is mutable. Added new methods to hash and compare AnyVersionedMap instances by their contents and marked the built-in Java methods as deprecated.
* refactor(store): simplify return typesLibravatar Kristóf Marussy2022-12-13
| | | | | | Prefers sealed non-generic interfaces over wildcard types to avoid confusion about method return types, especially in collections (see SonarQube rule java:S1452).
* chore(deps): upgrade to yarn canaryLibravatar Kristóf Marussy2022-12-13
| | | | | | | Support for typescript@4.9.4 available in yarn 4.0.0-rc.33 according to https://github.com/yarnpkg/berry/pull/5127#issuecomment-1345664949 Also updates other frontend dependencies.
* refactor(store): remove CountPolarityLibravatar Kristóf Marussy2022-12-09
| | | | We will have to implement counting in DNF queries in another way.
* feat: add cardinality interval abstractionLibravatar Kristóf Marussy2022-12-09
|
* feat(language): numeric expressionsLibravatar Kristóf Marussy2022-11-22
|
* feat(store): DataRepresentation reflective typeLibravatar Kristóf Marussy2022-11-10
|
* refactor: rename CallKind to PolarityLibravatar Kristóf Marussy2022-11-05
|
* refactor: DNF atomsLibravatar Kristóf Marussy2022-11-05
| | | | | | Restore count != capability. Still needs semantics and tests for count atoms over partial models.
* refactor: DNF query builderLibravatar Kristóf Marussy2022-11-05
|
* fix: make Tuple1 cache thread safeLibravatar Kristóf Marussy2022-10-03
|
* refactor: tuples in QueryableModelLibravatar Kristóf Marussy2022-10-03
|
* refactor: remove viatra dependency from storeLibravatar Kristóf Marussy2022-10-03
|
* refactor: move viatra into a separate subprojectLibravatar Kristóf Marussy2022-10-03
|
* feat: data structure for assertion mergingLibravatar Kristóf Marussy2022-10-03
|
* build: move modules into subproject directoryLibravatar Kristóf Marussy2021-12-12