Examples of run()


Examples of org.patika.mada.algorithm.BFS.run()

      }
    }

    BFS bfs = new BFS(selectedNodes, null, false, 1);

    Map<GraphObject, Integer> map = bfs.run();

    for (GraphObject go : map.keySet())
    {
      go.setHighlight(true);
    }
View Full Code Here

Examples of org.patika.mada.algorithm.LocalCommonStreamQuery.run()

        options.isDownstream(),
        options.getLengthLimit());
    }
   
    //Run Common Stream Query and get result
    streamResult = stream.run();
   
    /**
         * To add the missing paths between the source set and the result set
         * to the query result, PoI must be performed.
         */
 
View Full Code Here

Examples of org.patika.mada.algorithm.LocalNeighborhoodQuery.run()

        options.isUpstream(),
        options.isDownstream(),
        options.getLengthLimit());
   
    //run query
    Set<GraphObject> result = neighborhood.run();
   
        //View result of query and Highlight it
        viewAndHighlightResult(result,
          options.isCurrentView(),
          "Neighborhood");
View Full Code Here

Examples of org.patika.mada.algorithm.LocalPathIterationQuery.run()

        }

    LocalPathIterationQuery lpi = new LocalPathIterationQuery(main.getRootGraph());

    // Run BFS from all nodes in the graph and store the result in a set.
    Set<LocalPathIterationQuery.NodePair> result = lpi.run();

    // Convert NodePair set into a sorted array
    LocalPathIterationQuery.NodePair[] resultArray =
      new LocalPathIterationQuery.NodePair[result.size()];
    result.toArray(resultArray);
View Full Code Here

Examples of org.patika.mada.algorithm.LocalPoIQuery.run()

    // PoI will be run from the first node in NodePair to the second one
    // with shortest+0 length limit and not strict type
    LocalPoIQuery poi = new LocalPoIQuery(sourceSet, targetSet, LocalPoIQuery.SHORTEST_PLUS_K,
      0, false);
    Set<GraphObject> resultSet = poi.run();

    if (resultSet.size() == 0)
         {
             MessageDialog.openWarning(main.getShell(),
                 "No result!",
View Full Code Here

Examples of org.patika.mada.gui.ExperimentDataAutomaticConvertionWizard.run()

        ExperimentDataAutomaticConvertionWizard edacw = new ExperimentDataAutomaticConvertionWizard(
            new ArrayList<String>(XRef.getDBSet()),
            dialog.getSeriesMatrixFile(),
            dialog.getPlatformFile(),
            dialog.getSelectedSeries());
        edacw.run();

        filename = edacw.getResultFileName();
        main.unlock();
      }
      // if .ced file is already present, directly load it.
View Full Code Here

Examples of org.pentaho.aggdes.algorithm.Algorithm.run()

        ImmutableMap.<Parameter, Object>of(
            Algorithm.ParameterEnum.timeLimitSeconds, 1,
            Algorithm.ParameterEnum.aggregateLimit, 3,
            Algorithm.ParameterEnum.costLimit, f * 5d);
    final SchemaImpl schema = new SchemaImpl(lattice, statisticsProvider);
    final Result result = algorithm.run(schema, map, progress);
    final ImmutableList.Builder<Lattice.Tile> tiles = ImmutableList.builder();
    for (Aggregate aggregate : result.getAggregates()) {
      System.out.println(aggregate);
      tiles.add(toTile(aggregate));
    }
View Full Code Here

Examples of org.pentaho.aggdes.algorithm.impl.MonteCarloAlgorithm.run()

        ImmutableMap.<Parameter, Object>of(
            Algorithm.ParameterEnum.timeLimitSeconds, 1,
            Algorithm.ParameterEnum.aggregateLimit, 3,
            Algorithm.ParameterEnum.costLimit, f * 5d);
    final SchemaImpl schema = new SchemaImpl(lattice, statisticsProvider);
    final Result result = algorithm.run(schema, map, progress);
    final ImmutableList.Builder<Lattice.Tile> tiles = ImmutableList.builder();
    for (Aggregate aggregate : result.getAggregates()) {
      System.out.println(aggregate);
      tiles.add(toTile(aggregate));
    }
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.core.ReportProcessTask.run()

      final MultiStreamReportProcessTask mtask = (MultiStreamReportProcessTask) processTask;
      mtask.setBulkLocation(mtask.getBodyContentLocation());
      mtask.setBulkNameGenerator(new DefaultNameGenerator(mtask.getBodyContentLocation(), "data"));
      mtask.setUrlRewriter(new MailURLRewriter());
    }
    processTask.run();
    if (processTask.isTaskSuccessful() == false)
    {
      if (processTask.isTaskAborted())
      {
        logger.info("EMail Task received interrupt.");
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.wizard.ui.xul.EmbeddedWizard.run()

    // report.setDataFactory(new CompoundDataFactory());
    // report.setQuery(null);

    try
    {
      final MasterReport def = (MasterReport) dialog.run(null);
      if (def == null)
      {
        return;
      }
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.