public class DocumentStructureDiff extends AbstractDiff<SDocumentGraph>
differences, diffsRequested, options, otherObject, templateObject| Constructor and Description |
|---|
DocumentStructureDiff(SDocumentGraph template,
SDocumentGraph other)
Initializes Diff object with the two graphs
template and
other. |
DocumentStructureDiff(SDocumentGraph template,
SDocumentGraph other,
DiffOptions optionMap) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
compareLayers(SDocumentGraph template,
SDocumentGraph other,
Boolean diff)
Compares all layers in template graph with all layers in other graph and
searches for isomorphic partners.
|
protected boolean |
compareRelations(SDocumentGraph template,
List<? extends SRelation> templateRels,
SDocumentGraph other,
List<? extends SRelation> otherRels,
Boolean diff)
Compares all
SPointingRelation of other and template graph. |
protected boolean |
findDiffs(boolean diffsRequested)
Compares the set graphs and returns if they are isomorphic or not.
|
addDifference, compareAnnotationContainers, compareIdentifiableElements, findDiffs, getDifferences, getIsoNodes, isIsomorphpublic DocumentStructureDiff(SDocumentGraph template, SDocumentGraph other)
template and
other.template - other - public DocumentStructureDiff(SDocumentGraph template, SDocumentGraph other, DiffOptions optionMap)
protected boolean findDiffs(boolean diffsRequested)
AbstractDiff.isIsomorph().findDiffs in class AbstractDiff<SDocumentGraph>diffsRequested - if false, only isomorphie is computed, which makes the process
faster but does not collect all differencesprotected boolean compareRelations(SDocumentGraph template, List<? extends SRelation> templateRels, SDocumentGraph other, List<? extends SRelation> otherRels, Boolean diff)
SPointingRelation of other and template graph.AbstractDiff.getDifferences() is computed. To
check the isomorphie there must be no differences.template - other - diff - protected boolean compareLayers(SDocumentGraph template, SDocumentGraph other, Boolean diff)
AbstractDiff.getDifferences() is computed. To
check the isomorphie there must be no differences.template - other - diff - Copyright © 2009–2019 Humboldt-Universität zu Berlin, INRIA. All rights reserved.