Examples of simulate()


Examples of org.apache.maven.shared.release.phase.ReleasePhase.simulate()

            updateListener( branchRequest.getReleaseManagerListener(), name, PHASE_START );

            if ( dryRun )
            {
                phase.simulate( releaseDescriptor,
                                branchRequest.getReleaseEnvironment(),
                                branchRequest.getReactorProjects() );
            }
            else // getDryRun is null or FALSE
            {
View Full Code Here

Examples of org.apache.maven.shared.release.phase.ReleasePhase.simulate()

            ReleaseResult phaseResult = null;
            try
            {
                if ( BooleanUtils.isTrue( prepareRequest.getDryRun() ) )
                {
                    phaseResult = phase.simulate( config,
                                                  prepareRequest.getReleaseEnvironment(),
                                                  prepareRequest.getReactorProjects() );
                }
                else
                {
View Full Code Here

Examples of org.apache.maven.shared.release.phase.ReleasePhase.simulate()

            ReleaseResult phaseResult = null;
            try
            {
                if ( BooleanUtils.isTrue( performRequest.getDryRun() ) )
                {
                    phaseResult = phase.simulate( releaseDescriptor,
                                                 performRequest.getReleaseEnvironment(),
                                                 performRequest.getReactorProjects() );
                }
                else
                {
View Full Code Here

Examples of org.apache.maven.shared.release.phase.ReleasePhase.simulate()

            updateListener( branchRequest.getReleaseManagerListener(), name, PHASE_START );

            if ( dryRun )
            {
                phase.simulate( releaseDescriptor,
                                branchRequest.getReleaseEnvironment(),
                                branchRequest.getReactorProjects() );
            }
            else // getDryRun is null or FALSE
            {
View Full Code Here

Examples of org.cspoker.ai.bots.bot.gametree.mcts.nodes.INode.simulate()

  }

  private void iterate(RootNode root) {
    INode selectedLeaf = root.selectRecursively();
    selectedLeaf.expand();
    double value = selectedLeaf.simulate();
    selectedLeaf.backPropagate(value);
  }

  private MCTSListener[] createListeners(GameState gameState, PlayerId actor) {
    MCTSListener[] listeners = new MCTSListener[MCTSlistenerFactories.length];
View Full Code Here

Examples of org.cspoker.ai.bots.bot.gametree.mcts.nodes.INode.simulate()

  long nbSamples;

  private void iterate(RootNode root) {
    INode selectedLeaf = root.selectRecursively();
    selectedLeaf.expand();
    double value = selectedLeaf.simulate();
    selectedLeaf.backPropagate(value);
  }

  private MCTSListener[] createListeners(GameState gameState, PlayerId actor) {
    MCTSListener[] listeners = new MCTSListener[MCTSlistenerFactories.length];
View Full Code Here

Examples of org.grouplens.lenskit.inject.RecommenderInstantiator.simulate()

    public static void renderGraph(DAGNode<Component,Dependency> graph,
                                   File graphvizFile) throws IOException, RecommenderBuildException {
        logger.debug("graph has {} nodes", graph.getReachableNodes().size());
        logger.debug("simulating instantiation");
        RecommenderInstantiator instantiator = RecommenderInstantiator.create(graph);
        DAGNode<Component, Dependency> unshared = instantiator.simulate();
        logger.debug("unshared graph has {} nodes", unshared.getReachableNodes().size());
        Closer close = Closer.create();
        try {
            Writer writer = close.register(new FileWriter(graphvizFile));
            GraphWriter gw = close.register(new GraphWriter(writer));
View Full Code Here

Examples of org.jbpm.simulation.ActivitySimulator.simulate()

    @Override
    public void internalTrigger(NodeInstance from, String type) {
        SimulationContext context = SimulationContext.getContext();
       
        ActivitySimulator simulator = context.getRegistry().getSimulator(getNode());
        SimulationEvent event = simulator.simulate(this, context);
       
        context.getRepository().storeEvent(event);
        ((NodeInstanceContainer) getNodeInstanceContainer()).nodeInstanceCompleted(this, null);
    }
View Full Code Here

Examples of org.jbpm.simulation.ActivitySimulator.simulate()

    public void internalTrigger(NodeInstance from, String type) {
       
        SimulationContext context = SimulationContext.getContext();
      
        ActivitySimulator simulator = context.getRegistry().getSimulator(getNode());
        SimulationEvent event = simulator.simulate(this, context);
       
        context.getRepository().storeEvent(event);
        long thisNodeCurrentTime = context.getClock().getCurrentTime();
       
        List<Connection> outgoing = getNode().getOutgoingConnections().get(org.jbpm.workflow.core.Node.CONNECTION_DEFAULT_TYPE);
View Full Code Here

Examples of org.jbpm.simulation.ActivitySimulator.simulate()

    public void internalTrigger(NodeInstance from, String type) {
       
        SimulationContext context = SimulationContext.getContext();

        ActivitySimulator simulator = context.getRegistry().getSimulator(getNode());
        SimulationEvent event = simulator.simulate(this, context);
       
        context.getRepository().storeEvent(event);
       
       
        List<Connection> outgoing = getNode().getOutgoingConnections().get(Node.CONNECTION_DEFAULT_TYPE);
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.