eMoflon / emoflon-neo

A Neo4j-based implementation of eMoflon
Eclipse Public License 2.0
6 stars 2 forks source link

Added interface for reporting inconsistencies #314

Closed dwolters closed 11 months ago

dwolters commented 1 year ago

The ILP solver only reported inconsistencies at certain log level to the console. However, if such inconsistencies shall be reported to end-users, they must be accessible in another form. I've introduced an interface IInconsistencyReporter to which the ids of the inconsistent nodes and relationships are reported. I've added the inconcsistency reporter to the respective constructors and kept version of the constructor without it for backwards compatability.