gov.llnl.ontology.clustering
Class SoftAssignment

java.lang.Object
  extended by gov.llnl.ontology.clustering.SoftAssignment
All Implemented Interfaces:
edu.ucla.sspace.clustering.Assignment

public class SoftAssignment
extends Object
implements edu.ucla.sspace.clustering.Assignment

A set of soft assignment. Each data point may be assigned to multiple clusters. None of the particular clusters have any relationship with each other.

Author:
Keith Stevens

Constructor Summary
SoftAssignment(int[] assignments)
          Constructs a new SoftAssignment based on the given array of assignments.
 
Method Summary
 int[] assignments()
          
 int length()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SoftAssignment

public SoftAssignment(int[] assignments)
Constructs a new SoftAssignment based on the given array of assignments.

Method Detail

assignments

public int[] assignments()

Specified by:
assignments in interface edu.ucla.sspace.clustering.Assignment

length

public int length()
Specified by:
length in interface edu.ucla.sspace.clustering.Assignment


Copyright © 2010-2011. All Rights Reserved.