Here are the examples of the java api lib.aptacluster.AptaCluster taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
1 Examples
15
Source : CLI.java
with GNU General Public License v3.0
from drivenbyentropy
with GNU General Public License v3.0
from drivenbyentropy
/**
* Implements the logic for calling AptaTrace
*/
private void runAptaCluster(String configFile) {
AptaLogger.log(Level.INFO, this.getClreplaced(), "Starting AptaCluster");
// Make sure we have data prior or load it from disk
if (experiment == null) {
AptaLogger.log(Level.INFO, this.getClreplaced(), "Loading data from disk");
this.experiment = new Experiment(configFile, false);
} else {
AptaLogger.log(Level.INFO, this.getClreplaced(), "Using existing data");
}
// Create a new instance of the ClusterContainer
experiment.instantiateClusterContainer(true, true);
// Create AptaCluster instance
AptaCluster ac = new HashAptaCluster(Configuration.getParameters().getInt("Aptacluster.RandomizedRegionSize"), Configuration.getParameters().getInt("Aptacluster.LSHDimension"), Configuration.getParameters().getInt("Aptacluster.Lreplacederations"), Configuration.getParameters().getInt("Aptacluster.EditDistance"), Configuration.getParameters().getInt("Aptacluster.KmerSize"), Configuration.getParameters().getInt("Aptacluster.KmerCutoffIterations"), experiment);
// Run
ac.performLSH();
AptaLogger.log(Level.INFO, this.getClreplaced(), "AptaCluster Comleted");
}