Something went wrong on our end
-
Christopher Schankula authoredChristopher Schankula authored
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
TrawlExpert.java 658 B
import org.json.simple.parser.ParseException;
import data.BioTree;
import data.DataStore;
import data.FileProcessor;
import data.Record;
import search.BasicSearch;
import sort.KDT;
public class TrawlExpert {
public TrawlExpert() {
//load data
try {
BioTree.init("data/biotree/");
DataStore.records = new KDT<Record>("data/kdt.ser");
} catch (Exception e0) {
try {
BioTree.init();
FileProcessor.initProcessing();
} catch (NumberFormatException | ParseException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
BioTree.write("data/biotree/");
DataStore.records.writeToFile("data/kdt.ser");
};
}
}