Selected.java [src/java/m/ann/selection] Revision: default Date:
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package m.ann.selection;
import java.util.List;
import org.bson.types.ObjectId;
import org.encog.neural.neat.NEATNetwork;
/**
*
* @author sidereus
*/
public class Selected {
List<ObjectId> selectedANNs;
List<NEATNetwork> selectedNetworks;
double tresholdError;
public Selected(List<ObjectId> selectedANNs, List<NEATNetwork> selectedNetworks, double tresholdError) {
this.selectedANNs = selectedANNs;
this.selectedNetworks = selectedNetworks;
this.tresholdError = tresholdError;
}
public double getTresholdError() {
return tresholdError;
}
public List<NEATNetwork> getANNs() {
return selectedNetworks;
}
public List<ObjectId> getANNids() {
return selectedANNs;
}
public int getANNCount() {
return selectedANNs.size();
}
}