de.fuberlin.wiwiss.semmf.descr.impl
Class ClusterMatchingDescriptionImpl

java.lang.Object
  extended by de.fuberlin.wiwiss.semmf.descr.impl.ClusterMatchingDescriptionImpl
All Implemented Interfaces:
ClusterMatchingDescription

public class ClusterMatchingDescriptionImpl
extends java.lang.Object
implements ClusterMatchingDescription

Version:
1.0 last modified 29.11.2006
Author:
Radoslaw Oldakowski

Field Summary
private  java.lang.String label
          Label of a particualar clluster
private  java.util.List nodeMatchingDescriptionList
          List with matching descriptions for all nodes inside this cluster.
private  float weight
          Weight of a particular cluster
 
Constructor Summary
ClusterMatchingDescriptionImpl(java.lang.String label, float weight)
          Constructor.
 
Method Summary
 void addNodeMatchingDescription(NodeMatchingDescription nmd)
          Adds a new NodeMatchingDescription to List of NMD's
 java.lang.String getLabel()
           
 java.util.List getNodeMatchingDescriptionList()
           
 float getWeight()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

label

private java.lang.String label
Label of a particualar clluster


weight

private float weight
Weight of a particular cluster


nodeMatchingDescriptionList

private java.util.List nodeMatchingDescriptionList
List with matching descriptions for all nodes inside this cluster.

Constructor Detail

ClusterMatchingDescriptionImpl

public ClusterMatchingDescriptionImpl(java.lang.String label,
                                      float weight)
Constructor.

Parameters:
label - label of this cluster
weight - weight of this cluster
Method Detail

addNodeMatchingDescription

public void addNodeMatchingDescription(NodeMatchingDescription nmd)
Adds a new NodeMatchingDescription to List of NMD's


getLabel

public java.lang.String getLabel()
Specified by:
getLabel in interface ClusterMatchingDescription
Returns:
label of this cluster.

getWeight

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

getNodeMatchingDescriptionList

public java.util.List getNodeMatchingDescriptionList()
Specified by:
getNodeMatchingDescriptionList in interface ClusterMatchingDescription
Returns:
list of objects implementing the NodeMatchingResult interface. These objects hold information about the matching of RDFnodes