Skip to main content
Jump to: navigation, search

VIATRA/Releases/MigrationTo1.6

< VIATRA‎ | Releases
Revision as of 05:58, 8 June 2017 by Gabor.bergmann.incquerylabs.com (Talk | contribs) (Created page with " === API break in Transitive Closure Library === This API breaking change affects users of the org.eclipse.viatra.query.runtime.base.itc Java library for incremental transitiv...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

API break in Transitive Closure Library

This API breaking change affects users of the org.eclipse.viatra.query.runtime.base.itc Java library for incremental transitive closure computation over custom graph data sources.

Not affected:

  • users of the transitive closure language element in vql.
  • users of TransitiveClosureHelper providing transitive closure of EMF references.
  • users of the graph representation org.eclipse.viatra.query.runtime.base.itc.graphimpl.Graph.

Details: We have changed the way how the multiset of incoming/outgoing graph edges is represented in interfaces org.eclipse.viatra.query.runtime.base.itc.igraph.IGraphDataSource and org.eclipse.viatra.query.runtime.base.itc.igraph.IBiDirectionalGraphDataSource. The old interface used a java.util.List of vertices (parallel edges represented as multiple entries in the list), while the new interface uses java.util.Map with vertices as keys, and positive integers representing the count of parallel edges as values. The graph observer interface is unchanged.

Back to the top