Open galgonek opened 1 week ago
The class list may be empty if this set of query is being run before we have detected which classes are in the other graph. But yes the filter exclusion is not needed if we already know the list of graphs on the other side.
An other option might be to introduce some other set of phasors/locks to make sure we know this before these queries are run.
I also modified the query to do the count at the same time instead of in two steps.
The new version (336baa1e7dbae3e4e8407f7a3c1ff3ad63267675) of the generator employs queries that IDSM may not evaluate in a reasonable time. The example of such a query follows:
These queries are generated by method
makeQuery
of classIsSourceClassLinkedToDistinctClassInOtherGraph
. However, I think that these queries are unnecessarily complicated.If the list of classes (
otherGraph.getClasses()
) is provided, why is the class filter (classExclusion
) used? Does not the list contain only those classes that already match the filter?If the list of classes is empty, is there a reason to run the query? Does not the blank list mean that no class in the graph (
otherGraph
) matches the filter?