} else if(type.equals("Simhash")) {
if (numOfBits != 64) {
sLogger.info("Simhash signatures need to be 64 bits! Quitting...");
System.exit(0);
}
ComputeSignaturesSimhash computeSignaturesTask = new ComputeSignaturesSimhash(config);
computeSignaturesTask.run();
} else { //minhash
ComputeSignaturesMinhash computeSignaturesTask = new ComputeSignaturesMinhash(config);
computeSignaturesTask.run();
}
return 0;
}