de.fuberlin.wiwiss.semmf.descr
Interface NodeMatchingDescription
- All Known Implementing Classes:
- NodeMatchingDescriptionImpl
public interface NodeMatchingDescription
Each object holding cluster matching information must implement this interface,
in order to be compatible with the MatchingEngine.
- Version:
- 1.0
last modified on 29.11.2006
- Author:
- Radoslaw Oldakowski
getLabel
java.lang.String getLabel()
- Returns:
- label of this node.
getWeight
float getWeight()
- Returns:
- weight which represents the importance of this node among
other nodes in a particular ClusterMatchingDescription
The weight is a float number [0..1]. The sum of all node weights must
equal 1.
getQueryNodePath
java.lang.String getQueryNodePath()
- Returns:
- RDQL path expression which will be evaluated by the matching engine
in order to find the queryNode.
getResourceNodePath
java.lang.String getResourceNodePath()
- Returns:
- RDQL path expression which will be evaluated by the matching engine
in order to find a particualr resourceNode.
getMatcher
Matcher getMatcher()
- Returns:
- Matcher which will calculate the similarity of the query and res nodes
reverseMatching
boolean reverseMatching()
- In most cases the matching engine compares a value from a resource graph with
the semantically corresponding value from a query graph (= the "required" value).
But for some nodes it is reasonable to reverse the matching. A good example is
comparing job requirements with applicant's profile. If a person (query graph)
looks for a job (resource graph) then while comparing his skills with
skills required for a certain position the required skills from a resource graph
(job description) become the "should be" values, thus the matching has to be reversed.
- Returns:
- true if the matching should be reversed
hasProperties
boolean hasProperties()
- Returns:
- true if this node has properties which should be matched
getPropertyMatchingDescriptionList
java.util.List getPropertyMatchingDescriptionList()
- Returns:
- list of objects implementing the PropertyMatchingDescription interface.