Commit 0a2d9516 authored by smorgenthaler's avatar smorgenthaler

jcl fix

parent 5d079fbd
......@@ -426,7 +426,7 @@ public class SimpleData extends Data {
return data;
}
private List<DataObject> getDataObjects(final Mask mask) {
public List<DataObject> getDataObjects(final Mask mask) {
if (mask.getOverallCarinality() < getNbObjects()) {
throw new IndexOutOfBoundsException("The nnumber of unmasked pixels"
+ " is lower than the expeted sample size");
......
......@@ -133,4 +133,18 @@ public class FilterEntropy extends Filter {
return rank;
}
@Override
public void setStatus(String status)
{
// TODO Auto-generated method stub
}
@Override
public String getStatus()
{
// TODO Auto-generated method stub
return null;
}
}
......@@ -75,4 +75,18 @@ public class FilterNormalization extends Filter {
}
return (sumDist / nbDist);
}
@Override
public void setStatus(String status)
{
// TODO Auto-generated method stub
}
@Override
public String getStatus()
{
// TODO Auto-generated method stub
return null;
}
}
This diff is collapsed.
......@@ -7,6 +7,7 @@ import java.util.List;
import jcl.data.DataObject;
import jcl.data.mask.Mask;
import jcl.utils.MemoryFlush;
import jcl.utils.Progressable;
/**
* <p>
......@@ -15,7 +16,7 @@ import jcl.utils.MemoryFlush;
*
* @author Baptiste LAFABREGUE
*/
public abstract class Sampler implements MemoryFlush, Cloneable, Serializable {
public abstract class Sampler implements MemoryFlush, Cloneable, Serializable, Progressable {
/** */
private static final long serialVersionUID = 1L;
......
......@@ -826,4 +826,18 @@ public class ARFFReader extends DataFileReader {
}
return res;
}
@Override
public void setStatus(String status)
{
// TODO Auto-generated method stub
}
@Override
public String getStatus()
{
// TODO Auto-generated method stub
return null;
}
} // fin class :)
......@@ -209,4 +209,18 @@ public class ARFFWriter extends DataFileWriter {
}
}
@Override
public void setStatus(String status)
{
// TODO Auto-generated method stub
}
@Override
public String getStatus()
{
// TODO Auto-generated method stub
return null;
}
}
......@@ -569,4 +569,18 @@ public class XmlResultReader extends DataFileReader {
}
}
@Override
public void setStatus(String status)
{
// TODO Auto-generated method stub
}
@Override
public String getStatus()
{
// TODO Auto-generated method stub
return null;
}
}
......@@ -317,4 +317,18 @@ public class XmlResultWriter extends DataFileWriter {
this.saveFile(this.file.getAbsolutePath());
}
@Override
public void setStatus(String status)
{
// TODO Auto-generated method stub
}
@Override
public String getStatus()
{
// TODO Auto-generated method stub
return null;
}
}
......@@ -308,6 +308,20 @@ public class RoiReader extends DataFileIO {
return empty;
}
@Override
public void setStatus(String status)
{
// TODO Auto-generated method stub
}
@Override
public String getStatus()
{
// TODO Auto-generated method stub
return null;
}
/*
* public static void main (String args []) { if (args.length == 1) try {
* RoiReader roiReader = new RoiReader(args [0]); Data [] roi =
......
......@@ -165,4 +165,18 @@ public class ClassifierUnified extends LearningMethod implements Cloneable {
"Method split() not yet implemented.");
}
@Override
public void setStatus(String status)
{
// TODO Auto-generated method stub
}
@Override
public String getStatus()
{
// TODO Auto-generated method stub
return null;
}
}
......@@ -114,4 +114,18 @@ public class ClassifierAHC extends LearningMethod {
return null;
}
@Override
public void setStatus(String status)
{
// TODO Auto-generated method stub
}
@Override
public String getStatus()
{
// TODO Auto-generated method stub
return null;
}
}
......@@ -707,4 +707,18 @@ public class ClassifierCobweb extends LearningMethod implements Cloneable,
public int getType() {
return ClassifierUtils.COBWEB;
}
@Override
public void setStatus(String status)
{
// TODO Auto-generated method stub
}
@Override
public String getStatus()
{
// TODO Auto-generated method stub
return null;
}
}
......@@ -74,4 +74,18 @@ public class ClassifierCure extends LearningMethod {
final int n) throws MethodNotImplementedException {
throw new MethodNotImplementedException();
}
@Override
public void setStatus(String status)
{
// TODO Auto-generated method stub
}
@Override
public String getStatus()
{
// TODO Auto-generated method stub
return null;
}
}
......@@ -105,4 +105,18 @@ public class ClassifierEM extends LearningMethod implements Serializable {
final int n) throws MethodNotImplementedException {
throw new MethodNotImplementedException();
}
@Override
public void setStatus(String status)
{
// TODO Auto-generated method stub
}
@Override
public String getStatus()
{
// TODO Auto-generated method stub
return null;
}
}
......@@ -145,4 +145,18 @@ public class ClassifierEvidence extends LearningMethod implements Serializable {
return str;
}
@Override
public void setStatus(String status)
{
// TODO Auto-generated method stub
}
@Override
public String getStatus()
{
// TODO Auto-generated method stub
return null;
}
}
......@@ -629,4 +629,18 @@ public class ClassifierGNG extends LearningMethod {
return wn;
}
@Override
public void setStatus(String status)
{
// TODO Auto-generated method stub
}
@Override
public String getStatus()
{
// TODO Auto-generated method stub
return null;
}
}
......@@ -442,4 +442,18 @@ public class ClassifierKmeans extends LearningMethod {
return result;
}
@Override
public void setStatus(String status)
{
// TODO Auto-generated method stub
}
@Override
public String getStatus()
{
// TODO Auto-generated method stub
return null;
}
}
......@@ -102,4 +102,18 @@ public class ConstraintKmeans extends LearningMethod {
return null;
}
@Override
public void setStatus(String status)
{
// TODO Auto-generated method stub
}
@Override
public String getStatus()
{
// TODO Auto-generated method stub
return null;
}
}
......@@ -94,4 +94,18 @@ public class LocalKmeans extends LearningMethod {
return null;
}
@Override
public void setStatus(String status)
{
// TODO Auto-generated method stub
}
@Override
public String getStatus()
{
// TODO Auto-generated method stub
return null;
}
}
......@@ -94,4 +94,18 @@ public class HiddenKmeans extends LearningMethod {
return null;
}
@Override
public void setStatus(String status)
{
// TODO Auto-generated method stub
}
@Override
public String getStatus()
{
// TODO Auto-generated method stub
return null;
}
}
......@@ -233,4 +233,18 @@ public class ClassifierKmeansGenetic extends LearningMethod {
}
return null;
}
@Override
public void setStatus(String status)
{
// TODO Auto-generated method stub
}
@Override
public String getStatus()
{
// TODO Auto-generated method stub
return null;
}
}
......@@ -219,4 +219,18 @@ public class ClassifierOTBKmeans extends LearningMethod{
}
return null;
}
@Override
public void setStatus(String status)
{
// TODO Auto-generated method stub
}
@Override
public String getStatus()
{
// TODO Auto-generated method stub
return null;
}
}
......@@ -95,4 +95,18 @@ public class SeededKmeans extends LearningMethod {
// TODO Auto-generated method stub
return null;
}
@Override
public void setStatus(String status)
{
// TODO Auto-generated method stub
}
@Override
public String getStatus()
{
// TODO Auto-generated method stub
return null;
}
}
......@@ -188,4 +188,18 @@ public class ClassifierKmedoids extends LearningMethod {
}
return null;
}
@Override
public void setStatus(String status)
{
// TODO Auto-generated method stub
}
@Override
public String getStatus()
{
// TODO Auto-generated method stub
return null;
}
}
......@@ -134,4 +134,19 @@ public class ClassifierPerceptron extends LearningMethod {
final int n) throws MethodNotImplementedException {
throw new MethodNotImplementedException();
}
@Override
public void setStatus(String status)
{
// TODO Auto-generated method stub
}
@Override
public String getStatus()
{
return null;
// TODO Auto-generated method stub
}
}
......@@ -140,4 +140,18 @@ public class ClassifierRandom extends LearningMethod implements Serializable {
return str;
}
@Override
public void setStatus(String status)
{
// TODO Auto-generated method stub
}
@Override
public String getStatus()
{
// TODO Auto-generated method stub
return null;
}
}
......@@ -142,4 +142,18 @@ public class ClassifierSOM extends LearningMethod implements Serializable {
final int n) throws MethodNotImplementedException {
throw new MethodNotImplementedException();
}
@Override
public void setStatus(String status)
{
// TODO Auto-generated method stub
}
@Override
public String getStatus()
{
// TODO Auto-generated method stub
return null;
}
}
......@@ -220,4 +220,18 @@ public class WrapperFeatureRanking extends Wrapper {
public String toString() {
return this.parameters.getLearningMethodName();
}
@Override
public void setStatus(String status)
{
// TODO Auto-generated method stub
}
@Override
public String getStatus()
{
// TODO Auto-generated method stub
return null;
}
}
......@@ -222,4 +222,18 @@ public class ClassifierEvoSamarah extends LearningMethod {
// TODO Auto-generated method stub
return null;
}
@Override
public void setStatus(String status)
{
// TODO Auto-generated method stub
}
@Override
public String getStatus()
{
// TODO Auto-generated method stub
return null;
}
}
......@@ -241,4 +241,18 @@ public class ClassifierCoEvoSamarah extends LearningMethod {
// TODO Auto-generated method stub
return null;
}
@Override
public void setStatus(String status)
{
// TODO Auto-generated method stub
}
@Override
public String getStatus()
{
// TODO Auto-generated method stub
return null;
}
}
......@@ -129,4 +129,18 @@ public class ClassifierMaclac extends ClassifierModular {
return ClassifierUtils.MACLAW;
}
@Override
public void setStatus(String status)
{
// TODO Auto-generated method stub
}
@Override
public String getStatus()
{
// TODO Auto-generated method stub
return null;
}
}
......@@ -213,4 +213,18 @@ public class ClassifierMaclae extends ClassifierModular {
return ClassifierUtils.MACLAW;
}
@Override
public void setStatus(String status)
{
// TODO Auto-generated method stub
}
@Override
public String getStatus()
{
// TODO Auto-generated method stub
return null;
}
}
......@@ -209,4 +209,18 @@ public class ClassifierMaclaw extends ClassifierModular {
public int getType() {
return ClassifierUtils.MACLAW;
}
@Override
public void setStatus(String status)
{
// TODO Auto-generated method stub
}
@Override
public String getStatus()
{
// TODO Auto-generated method stub
return null;
}
}
......@@ -50,4 +50,22 @@ public interface Progressable {
* la nouvelle valeur
*/
public void setProgress(int value);
/**
* <p>
* Methode de modification du status.
* </p>
*
* @param status
*/
public void setStatus(String status);
/**
* <p>
* Methode d'acces au status.
* </p>
*
* @param status
*/
public String getStatus();
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment