Class RelationTypeRefiner
java.lang.Object
de.uni_mannheim.informatik.dws.melt.matching_eval.refinement.RelationTypeRefiner
- All Implemented Interfaces:
Refiner
The relation type refiner refines all execution results in such a way that only the specified reltion type is used.
-
Field Summary
Modifier and TypeFieldDescriptionprotected boolean
If true, the refined results contains only the provided relation.protected CorrespondenceRelation
-
Constructor Summary
ConstructorDescriptionRelationTypeRefiner
(CorrespondenceRelation relation) RelationTypeRefiner
(CorrespondenceRelation relation, boolean includeRelation) Constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
int
hashCode()
boolean
Returns if the relation is included or excluded from the refined result.refine
(ExecutionResult toBeRefined) Create a new refined ExecutionResult from an ExecutionResult.refineMapping
(Alignment originalAlignment) toString()
-
Field Details
-
relation
-
includeRelation
protected boolean includeRelationIf true, the refined results contains only the provided relation. If false the refine result contain all but not the provided relation.
-
-
Constructor Details
-
RelationTypeRefiner
Constructor- Parameters:
relation
- the relation to filter forincludeRelation
- if true, the refined results contains only the provided relation. If false the refine result contain all but not the provided relation.
-
RelationTypeRefiner
-
-
Method Details
-
refine
Description copied from interface:Refiner
Create a new refined ExecutionResult from an ExecutionResult. Examples are: only class matches, only non trivial matches etc. -
refineMapping
-
getRelation
-
isIncludeRelation
public boolean isIncludeRelation()Returns if the relation is included or excluded from the refined result. If true, the refined results contains only the provided relation. If false the refine result contain all but not the provided relation.- Returns:
- if the relation is included or excluded
-
hashCode
public int hashCode() -
equals
-
toString
-