Skip to content

Generate the route operators of a temporal network point - #498

Merged
estebanzimanyi merged 1 commit into
MobilityDB:mainfrom
estebanzimanyi:codegen/npoint-route-operators
Oct 24, 2026
Merged

estebanzimanyi merged 1 commit into
MobilityDB:mainfrom
estebanzimanyi:codegen/npoint-route-operators

Conversation

@estebanzimanyi

Copy link
Copy Markdown
Member

The route operators of a temporal network point are generated from the catalog: the group meos_npoint_route, one public MEOS function per SQL signature and argument order, is retired beside the other network point groups. Each of the twenty signatures MobilityDB declares registers under its own name, argument types and result, with its operator: overlapsRid and @@, containsRid and @?, containedRid and ?@, sameRid and @= over a route, a set of routes, a network point and a temporal network point in the orders MobilityDB declares them.

Measured: over the catalog of MobilityDB ac8feb51dc, the commit this branch's pin records, the generator writes the same registrations as before but four: containedRid(npoint, tnpoint), sameRid(npoint, tnpoint) and their operators ?@ and @=, which register nothing before; no registration is lost and none is registered twice. No hand registration of these names exists to delete. test/sql/tnpoint.test reads containedRid and sameRid with the network point first against their twins with the temporal value first, over a route both values hold and one neither holds.

The route operators of a temporal network point are generated from the catalog: the group meos_npoint_route, one public MEOS function per SQL signature and argument order, is retired beside the other network point groups. Each of the twenty signatures MobilityDB declares registers under its own name, argument types and result, with its operator: overlapsRid and @@, containsRid and @?, containedRid and ?@, sameRid and @= over a route, a set of routes, a network point and a temporal network point in the orders MobilityDB declares them.

Measured: over the catalog of MobilityDB ac8feb51dc, the commit this branch's pin records, the generator writes the same registrations as before but four: containedRid(npoint, tnpoint), sameRid(npoint, tnpoint) and their operators ?@ and @=, which register nothing before; no registration is lost and none is registered twice. No hand registration of these names exists to delete. test/sql/tnpoint.test reads containedRid and sameRid with the network point first against their twins with the temporal value first, over a route both values hold and one neither holds.
@estebanzimanyi
estebanzimanyi merged commit 391edaf into MobilityDB:main Oct 24, 2026
9 checks passed
@estebanzimanyi
estebanzimanyi deleted the codegen/npoint-route-operators branch October 24, 2026 21:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant