Examples of execute()


Examples of edu.isi.karma.cleaning.InterpreterType.execute()

    Collection<ProgramRule> ps = psProgSynthesis.run_main();
    ProgramRule pr = ps.iterator().next();
    System.out.println("" + pr.toString());
    String val = "J. B. Blunk";
    InterpreterType rule = pr.getRuleForValue(val);
    System.out.println(rule.execute(val));
  }

  public static void main(String[] args) {
    ConfigParameters cfg = new ConfigParameters();
    cfg.initeParameters();
View Full Code Here

Examples of edu.isi.karma.kr2rml.planning.TriplesMapPlanExecutor.execute()

      for (Row row:rows) {
        for(Entry<TriplesMapGraph, List<String>> entry : graphTriplesMapsProcessingOrder.entrySet())
        {
          TriplesMapPlanGenerator g = new TriplesMapPlanGenerator(triplesMapToWorkerPlan, row, outWriters);
          TriplesMapPlan plan = g.generatePlan(entry.getKey(), entry.getValue());
          errorReport.combine(e.execute(plan));
        }
        for(KR2RMLRDFWriter outWriter : outWriters)
        {
          outWriter.finishRow();
        }
View Full Code Here

Examples of edu.stanford.bmir.protege.web.client.rpc.RenderingServiceManager.execute()

    @Override
    final public void setValue(final O object) {
        if (object instanceof HasSignature) {
            RenderingServiceManager renderingServiceManager = RenderingServiceManager.getManager();
            final HasSignature hasSignature = (HasSignature) object;
            renderingServiceManager.execute(new GetRendering(projectId, hasSignature), new AsyncCallback<GetRenderingResponse>() {
                @Override
                public void onFailure(Throwable caught) {
                }

                @Override
View Full Code Here

Examples of edu.ucla.sspace.hadoop.WordCooccurrenceCountingJob.execute()

        LOGGER.info("Beginning Hadoop corpus processing");
        // Construct the counting job that will use Hadoop to count the
        // co-occurrences
        WordCooccurrenceCountingJob job =
            new WordCooccurrenceCountingJob(props);
        Iterator<WordCooccurrence> occurrences = job.execute(inputDirs);
        LOGGER.info("Finished Hadoop corpus processing; calculating sspace");
        int wordCount =  0;
        // Local state variables for updating the current word's vector.
        String curWord = null;
        IntegerVector semantics = null;
View Full Code Here

Examples of edu.ucla.sspace.ri.HadoopRandomIndexing.execute()

            Map<String,TernaryVector> wordToIndexVector =
                IndexVectorUtil.load(new File(fileName));
            hri.setWordToIndexVector(wordToIndexVector);
        }

        hri.execute(inputDirs, writer);       
    }

    /**
     * {@inheritDoc}
     */
 
View Full Code Here

Examples of edu.umd.cs.findbugs.DiscoverSourceDirectories.execute()

                discoverSourceDirectories.setRootSourceDirectory(sourceRootBox.getText());
                discoverSourceDirectories.setErrorLogger(errorLogger);
                discoverSourceDirectories.setProgress(progress);

                try {
                    discoverSourceDirectories.execute();
                } catch (CheckedAnalysisException e1) {
                    // TODO Auto-generated catch block
                    e1.printStackTrace();
                } catch (IOException e1) {
                    // TODO Auto-generated catch block
View Full Code Here

Examples of edu.umd.cs.findbugs.IFindBugsEngine.execute()

        IFindBugsEngine fb = createEngine(p, pcb);
        fb.setUserPreferences(getUserPreferences());
        fb.setProgressCallback(progressCallback);
        fb.setProjectName(p.getProjectName());

        fb.execute();
        String warnings = stringWriter.toString();
        if (warnings.length() > 0) {
            JTextArea tp = new JTextArea(warnings);
            tp.setEditable(false);
            JScrollPane pane = new JScrollPane(tp);
View Full Code Here

Examples of edu.umd.cs.findbugs.SelfCalls.execute()

        Set<Method> lockedMethodSet;
        // Set<Method> publicReachableMethods;
        Set<Method> allMethods = new HashSet<Method>(Arrays.asList(javaClass.getMethods()));

        try {
            selfCalls.execute();
            CallGraph callGraph = selfCalls.getCallGraph();
            if (DEBUG) {
                System.out.println("Call graph (not unlocked methods): " + callGraph.getNumVertices() + " nodes, "
                        + callGraph.getNumEdges() + " edges");
            }
View Full Code Here

Examples of edu.umd.cs.findbugs.ba.BlockTypeDataflow.execute()

    public BlockTypeDataflow analyze(IAnalysisCache analysisCache, MethodDescriptor descriptor) throws CheckedAnalysisException {
        CFG cfg = getCFG(analysisCache, descriptor);
        DepthFirstSearch dfs = getDepthFirstSearch(analysisCache, descriptor);
        BlockTypeAnalysis analysis = new BlockTypeAnalysis(dfs);
        BlockTypeDataflow dataflow = new BlockTypeDataflow(cfg, analysis);
        dataflow.execute();
        return dataflow;
    }
}
View Full Code Here

Examples of edu.umd.cs.findbugs.ba.LiveLocalStoreDataflow.execute()

        LiveLocalStoreAnalysis analysis = new LiveLocalStoreAnalysis(methodGen, rdfs, getDepthFirstSearch(analysisCache,
                descriptor));
        LiveLocalStoreDataflow dataflow = new LiveLocalStoreDataflow(cfg, analysis);

        dataflow.execute();
        if (ClassContext.DUMP_DATAFLOW_ANALYSIS) {
            ClassContext.dumpLiveLocalStoreDataflow(descriptor, cfg, dataflow);

        }
        return dataflow;
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.