Skip to content
Permalink
0d82ff1dc4
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
23 lines (17 sloc) 528 Bytes
package kb.howtokb.clustering.basicobj;
import java.util.ArrayList;
import java.util.List;
public class CSKSimpleCluster<T> extends CSKCluster<Integer, Instance<T>>{
public CSKSimpleCluster(Integer clusterKey) {
super(clusterKey);
// TODO Auto-generated constructor stub
}
public CSKSimpleCluster(Integer key, Instance<T> pt){
super(key);
this.clusterMembers = new ArrayList<>();
this.clusterMembers.add(pt);
}
public CSKSimpleCluster(Integer key, List<Instance<T>> members){
super(key, members);
}
}