| Package | Description | 
|---|---|
| edu.ucla.sspace.clustering | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
HardAssignment
An implementation of a  
Assignment where a data point may be assigned
 to at most one cluster, i.e. | 
class  | 
SoftAssignment
A set of soft assignment. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Assignment[] | 
Assignments.assignments()
Returns the array of  
Assignment objects. | 
Assignment | 
Assignments.get(int i)
Returns the  
Assignment object at index i. | 
| Modifier and Type | Method and Description | 
|---|---|
Iterator<Assignment> | 
Assignments.iterator()
Returns an iterator over the  
Assignment objects stored. | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
Assignments.set(int i,
   Assignment assignment)
 | 
| Constructor and Description | 
|---|
Assignments(int numClusters,
           Assignment[] initialAssignments)
Creates a new  
Assignments instance that takes ownership of the
 initialAssignments array. | 
Assignments(int numClusters,
           Assignment[] initialAssignments,
           Matrix matrix)
Creates a new  
Assignments instance that takes ownership of the
 initialAssignments array. | 
Copyright © 2012. All Rights Reserved.