de.fuberlin.wiwiss.semmf.result.impl
Class ClusterMatchingResultImpl

java.lang.Object
  extended by de.fuberlin.wiwiss.semmf.result.impl.ClusterMatchingResultImpl
All Implemented Interfaces:
ClusterMatchingResult

public class ClusterMatchingResultImpl
extends java.lang.Object
implements ClusterMatchingResult

Version:
1.0 last modified on 29.11.2006
Author:
Radoslaw Oldakowski

Field Summary
 java.lang.String label
           
 java.util.List nodeMatchingResultList
           
 float sim
           
 float weight
           
 
Constructor Summary
ClusterMatchingResultImpl()
           
 
Method Summary
 java.lang.String getLabel()
           
 java.util.List getNodeMatchingResultList()
           
 float getSimilarity()
           
 float getWeight()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

label

public java.lang.String label

weight

public float weight

sim

public float sim

nodeMatchingResultList

public java.util.List nodeMatchingResultList
Constructor Detail

ClusterMatchingResultImpl

public ClusterMatchingResultImpl()
Method Detail

getLabel

public java.lang.String getLabel()
Specified by:
getLabel in interface ClusterMatchingResult
Returns:
the label of the cluster specified in a matching description.

getSimilarity

public float getSimilarity()
Specified by:
getSimilarity in interface ClusterMatchingResult
Returns:
aggregated similarity of all nodes from a query graph inside this cluster matched against the corresponding cluster from a resource graph.

getWeight

public float getWeight()
Specified by:
getWeight in interface ClusterMatchingResult
Returns:
weight which represents the importance of this cluster among other clusters in a GraphMatchingResult. The weight is a float number [0..1]. The sum of all cluster weights equals 1.

getNodeMatchingResultList

public java.util.List getNodeMatchingResultList()
Specified by:
getNodeMatchingResultList in interface ClusterMatchingResult
Returns:
List of objects implementing the NodeMatchingResult interface. These objects hold information about the matching of RDFnodes from a query graph against RDFNodes from a resource graph