package univ.ml.sparse.algorithm;

import univ.ml.sparse.SparseWeightableVector;

import java.util.List;

public interface SparseCoresetAlgorithm {

    List<SparseWeightableVector> takeSample(final List<SparseWeightableVector>  pointset);

}

@@ -75,16 +75,45 @@
 ector;%0A%0A
+import java.io.Serializable;%0A
 import j
@@ -168,16 +168,37 @@
 gorithm 
+extends Serializable 
 %7B%0A%0A    L

make algorithms serializable for spark