Examples of features()


Examples of com.meapsoft.featextractors.FeatureExtractor.features()

          }
         
          //System.out.println("chunkStartFrame: " + chunkStartFrame + " nframes: " + nframes +
          //    " chunkEndFrame: " + chunkEndFrame + " numFramesToRead: " + numFramesToRead +
          //    " framesRead: " + framesRead + " lastFrame: " + lastFrame);
          double[] feats = fe.features(stft, (int) chunkStartFrame,
              nframes, true);

          ch.addFeature(feats);

          // what features are we adding?
View Full Code Here

Examples of com.meapsoft.featextractors.FeatureExtractor.features()

                        stft.readFrames(chunkStartFrame - lastFrame + nframes + 1);
                    else if(chunkEndFrame > lastFrame)
                        stft.readFrames(chunkEndFrame - lastFrame + 1);

                   
                    double[] feats = fe.features(stft, (int)chunkStartFrame, nframes);

                  ch.addFeature(feats);
 
                    // what features are we adding? 
                  if(!wroteFeatDesc)
View Full Code Here

Examples of com.tinkerpop.gremlin.structure.Graph.features()

        private void ser(final GraphSONGraph graphSONGraph, final JsonGenerator jsonGenerator) throws IOException {
            final Graph g = graphSONGraph.getGraphToSerialize();
            jsonGenerator.writeStartObject();

            if (g.features().graph().variables().supportsVariables())
                jsonGenerator.writeObjectField(GraphSONTokens.VARIABLES, new HashMap<>(g.variables().asMap()));

            jsonGenerator.writeArrayFieldStart(GraphSONTokens.VERTICES);
            if (normalize)
                g.V().order(Comparators.HELD_VERTEX_COMPARATOR).forEachRemaining(FunctionUtils.wrapConsumer(jsonGenerator::writeObject));
View Full Code Here

Examples of com.tinkerpop.gremlin.structure.Graph.features()

     * Rollback transactions across all {@link com.tinkerpop.gremlin.structure.Graph} objects.
     */
    public void rollbackAll() {
        graphs.entrySet().forEach(e -> {
            final Graph g = e.getValue();
            if (g.features().graph().supportsTransactions())
                g.tx().rollback();
        });
    }

    /**
 
View Full Code Here

Examples of com.tinkerpop.gremlin.structure.Graph.features()

     * Commit transactions across all {@link com.tinkerpop.gremlin.structure.Graph} objects.
     */
    public void commitAll() {
        graphs.entrySet().forEach(e -> {
            final Graph g = e.getValue();
            if (g.features().graph().supportsTransactions())
                g.tx().commit();
        });
    }
}
View Full Code Here

Examples of cucumber.api.CucumberOptions.features()

                Collections.addAll(featureUrls, annotation.features());
            }
        }
        { // cucumber-junit API
            final CucumberOptions annotation = javaClass.getAnnotation(CucumberOptions.class);
            if (annotation != null && annotation.features() != null) {
                Collections.addAll(featureUrls, annotation.features());
            }
        }

        return featureUrls;
View Full Code Here

Examples of cucumber.api.CucumberOptions.features()

            }
        }
        { // cucumber-junit API
            final CucumberOptions annotation = javaClass.getAnnotation(CucumberOptions.class);
            if (annotation != null && annotation.features() != null) {
                Collections.addAll(featureUrls, annotation.features());
            }
        }

        return featureUrls;
    }
View Full Code Here

Examples of de.mhus.lib.adb.annotations.DbTable.features()

    log().t("new table",name,tableName);
   
    parseFields();
   
    // features
    if (table != null && !MString.isEmptyTrim(table.features())) {
      for (String featureName : MString.split(table.features(),",")) {
        Feature feature = manager.getSchema().createFeature(manager, this, featureName);
        if (feature != null) features.add(feature);
      }
    }
View Full Code Here

Examples of de.mhus.lib.adb.annotations.DbTable.features()

   
    parseFields();
   
    // features
    if (table != null && !MString.isEmptyTrim(table.features())) {
      for (String featureName : MString.split(table.features(),",")) {
        Feature feature = manager.getSchema().createFeature(manager, this, featureName);
        if (feature != null) features.add(feature);
      }
    }
   
View Full Code Here

Examples of java.util.Collection.features()

                                } else if (obj instanceof Collection) {
                                    Collection collection = (Collection) obj;
                                    iterator = collection.iterator();
                                } else if (obj instanceof FeatureCollection) {
                                    FeatureCollection collection = (FeatureCollection) obj;
                                    iterator = DataUtilities.iterator( collection.features() );
                                } else {
                                    iterator = new SingleIterator(obj);
                                }

                                entry.children.add(new Object[] { child, iterator, obj });
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.