示例#1
0
 public String get3DBuilderSDFilePath(ThreeDBuilder builder) {
   if (clusteringData != null
       && clusteringData.getThreeDBuilder() != null
       && clusteringData.getThreeDBuilder() != builder)
     throw new IllegalStateException(
         "set appropriate builder, already set "
             + clusteringData.getThreeDBuilder()
             + " != "
             + builder);
   return Settings.destinationFile(dataset, getEncodedSettings(builder) + ".3d.sdf");
 }
示例#2
0
 private String getEncodedSettingsIncludingFeatures(Algorithm... algs) {
   if (algs == null) algs = new Algorithm[0];
   if (ArrayUtil.indexOf(algs, clusteringData.getThreeDBuilder()) == -1)
     for (CompoundProperty p : clusteringData.getFeatures())
       if (p.getCompoundPropertySet().isSensitiveTo3D()) {
         algs =
             ArrayUtil.concat(
                 Algorithm.class, algs, new Algorithm[] {clusteringData.getThreeDBuilder()});
         break;
       }
   String skipped = "";
   if (clusteringData.isSkippingRedundantFeatures()) skipped += "skippedRedundantFeatures";
   return CompoundPropertyUtil.getSetMD5(
       clusteringData.getFeatures(), skipped + getEncodedSettings(algs));
 }
示例#3
0
 public String getFeatureValuesFilePath(CompoundPropertySet cps) {
   String enc =
       (clusteringData != null && cps.isSensitiveTo3D())
           ? (getEncodedSettings(clusteringData.getThreeDBuilder()) + ".")
           : "";
   return Settings.destinationFile(dataset, enc + cps.getNameIncludingParams());
 }