aboutsummaryrefslogtreecommitdiffstats
path: root/subprojects/store-query-viatra/src
Commit message (Collapse)AuthorAge
* refactor: lambda-based Dnf and Query factoryLibravatar Kristóf Marussy2023-04-21
| | | | | | | * Helps keeping variable scoping clear by limiting variable scopes to the body of the corresponding lambda. * Overloads for convenience where variables are automatically created for lambda parameters.
* refactor: rename RelationView to SymbolViewLibravatar Kristóf Marussy2023-04-15
| | | | | * Add NodeFunctionView for symbols that hold function-like (single associated object for each key) relations as integer values for performance.
* 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.
* 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
|
* refactor: more direct access to VIATRA result setLibravatar Kristóf Marussy2023-03-01
| | | | | | | | | | | | | | | | | | | | | Accessing VIATRA result sets through IQueryResultProvider requires a lot of indirection, allocations, and locking. We use reflection instead to have direct access to the underlying Indexer instead. Unfortunately, projection to arbitrary tuple masks (with wildcard entries in a tuple) is completely broken in VIATRA when RETE update propagation is delayed. While a new, ad-hoc projection indexer gets added to the RETE net immediately, it is not populated with the projection results until updates are flushed in the query engine. Therefore, when encountering an ad-hoc projection for the first time, the projection results will always be empty (thus usually out of date). While declaring the desired projections ahead of time would be a possible solution, for now, we completely remove ad-hoc projection support. If projections are needed on the ModelQuery level, we should create an API for declaring projections for each registered Dnf.
* feat: Dnf reduction and structural equalityLibravatar Kristóf Marussy2023-02-24
|
* 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
|
* 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): 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).
* 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(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
|
* 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