Examples of Scenario


Examples of aima.core.environment.map.Scenario

      case 4:
        SimplifiedRoadMapOfAustralia.initMap(map);
        agentLoc = map.randomlyGenerateDestination();
        break;
      }
      scenario = new Scenario(env, map, agentLoc);

      destinations = new ArrayList<String>();
      if (scenarioIdx < 3) {
        switch (destIdx) {
        case 0:
View Full Code Here

Examples of bpsim.Scenario

                        @SuppressWarnings("unchecked")
                        List<BPSimDataType> bpsimExtensions = (List<BPSimDataType>) extensionElements.get(BpsimPackage.Literals.DOCUMENT_ROOT__BP_SIM_DATA, true);
                        if(bpsimExtensions != null && bpsimExtensions.size() > 0) {
                            BPSimDataType processAnalysis = bpsimExtensions.get(0);
                            if(processAnalysis.getScenario() != null && processAnalysis.getScenario().size() > 0) {
                                Scenario simulationScenario = processAnalysis.getScenario().get(0);
                                baseTimeUnit = simulationScenario.getScenarioParameters().getBaseTimeUnit().getValue();
                            }
                        }
                    }

                }
View Full Code Here

Examples of ch.qos.logback.classic.control.Scenario

  static ControlLoggerContext controlContext = new ControlLoggerContext();
  static Hierarchy log4jHierarchy = new Hierarchy(new RootLogger(org.apache.log4j.Level.OFF));

  public static void main(String[] args) throws IOException, InterruptedException {

    Scenario s = ScenarioMaker.makeTypeBScenario(3000);
    System.err.print("Press a key to continue: ");
    System.in.read();


    testEmptyLoggers(s);
View Full Code Here

Examples of cn.edu.pku.dr.requirement.elicitation.data.Scenario

    public TestCompositeData() {}

    public static void main(String[] args) {
        try {
            CompositeDataFacade cdf = new CompositeDataFacade();
            Scenario scenario = new Scenario();
            scenario.setScenarioId(new Long(1));
            scenario = (Scenario) cdf.get(scenario);
            int a = 0;
        } catch (Exception e) {
            e.printStackTrace();
        }
View Full Code Here

Examples of com.google.caliper.Scenario

    /**
     * Attach this measure to parent caliper run.
     */
    public void appendTo(final Run run) {

        final Scenario scenario = new Scenario(variables());

        /** display rate as caliper durations */
        final MeasurementSet timeSet = measurementSet(rateMap);
        final String timeLog = null;

View Full Code Here

Examples of com.google.caliper.model.Scenario

          percentile.evaluate(50), descriptiveStatistics.getMean(),
          percentile.evaluate(75), descriptiveStatistics.getMax());
    }

    instrumentSpecs.add(trial.instrumentSpec());
    Scenario scenario = trial.scenario();
    vmSpecs.add(scenario.vmSpec());
    benchmarkSpecs.add(scenario.benchmarkSpec());
    numMeasurements += trial.measurements().size();
  }
View Full Code Here

Examples of com.mockey.model.Scenario

    JSONObject jsonObject = new JSONObject();
    try {
      if ("clear_last_visit".equalsIgnoreCase(action)) {
        if (serviceId != null && scenarioId != null) {
          Service service = store.getServiceById(new Long(serviceId));
          Scenario scenario = service
              .getScenario(new Long(scenarioId));
          scenario.setLastVisit(null);
          service.saveOrUpdateScenario(scenario);
          store.saveOrUpdateService(service);

        } else if (serviceId != null) {
          Service service = store.getServiceById(new Long(serviceId));
View Full Code Here

Examples of com.opengamma.integration.marketdata.manipulator.dsl.Scenario

  protected void doRun() throws Exception {
    String scriptLocation = getCommandLine().getOptionValue('s');
    ConfigSource configSource = getToolContext().getConfigSource();
    ConfigMaster configMaster = getToolContext().getConfigMaster();

    Scenario scenario = SimulationUtils.createScenarioFromDsl(scriptLocation, null);
    ConfigItem<ScenarioDefinition> configItem = ConfigItem.of(scenario.createDefinition(), scenario.getName());
    if (getCommandLine().hasOption('i')) {
      ObjectId scenarioId = ObjectId.parse(getCommandLine().getOptionValue('i'));
      UniqueId latestScenarioId = configSource.get(scenarioId, VersionCorrection.LATEST).getUniqueId();
      configItem.setUniqueId(latestScenarioId);
      configMaster.update(new ConfigDocument(configItem));
View Full Code Here

Examples of com.technophobia.substeps.model.Scenario

                }
            }
        }

        // check that the multiline tagged scenario works ok
        final Scenario scenario = featureFileList.get(0).getScenarios().get(3);

        Assert.assertThat("expecting a tag to be present", scenario.getTags(), hasItem("@all"));
        Assert.assertThat("expecting a tag to be present", scenario.getTags(), hasItem("@searchcontracts"));
        Assert.assertThat("expecting a tag to be present", scenario.getTags(), hasItem("@searchcontracts_30"));
    }
View Full Code Here

Examples of gherkin.formatter.model.Scenario

    }

    @Override
    public void scenario(String keyword, String name, String description, Integer line) {
        replayStepsOrExamples();
        formatter.scenario(new Scenario(stash.comments, stash.tags, keyword, name, description, line, stash.featureElementId(name)));
        stash.reset();
    }
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.