Package org.jamesii.core.processor

Examples of org.jamesii.core.processor.ProcessorInformation


    IProcessor proc;

    proc = processorFactory.create(getModel(), simulation, this, parameter, SimSystem.getRegistry().createContext());
    proc.setComputationTask(simulation);
    simulation.setProcessorInfo(new ProcessorInformation(proc));

    try {
      // System.out.println ("after creating the processor
      // "+this.getRemoteModel().getName());
    } catch (Exception e) {
View Full Code Here


    // IAbstractSequentialProcessor aproc;

    p.init(simulation.getStartTime());

    simulation.setProcessorInfo(new ProcessorInformation(p));

    return p;
  }
View Full Code Here

    }
    aproc.init(simulation.getStartTime());

    p.init(aproc, simulation.getStartTime());

    simulation.setProcessorInfo(new ProcessorInformation(p));

    return p;
  }
View Full Code Here

      Partition partition, ParameterBlock params, Context context) {
    if (model instanceof ICARulesModel) {
      CADiscreteEventSimulator sim =
          new CADiscreteEventSimulator((ICARulesModel) model);
      sim.setComputationTask(simulation);
      ProcessorInformation pi = new ProcessorInformation();
      pi.setLocal(sim);

      simulation.setProcessorInfo(pi);

      return sim;
    }
View Full Code Here

          new CADiscreteEventMultiAdaptSimulator(model, minCellsPerThread,
              threadCountFactor);
    }

    processor.setComputationTask(simulation);
    ProcessorInformation pi = new ProcessorInformation();
    pi.setLocal(processor);

    simulation.setProcessorInfo(pi);

    return processor;
  }
View Full Code Here

  @Override
  public IProcessor create(IModel model, IComputationTask simulation,
      Partition partition, ParameterBlock params, Context context) {
    CASimulator sim = new CASimulator(model);
    sim.setComputationTask(simulation);
    ProcessorInformation pi = new ProcessorInformation();
    pi.setLocal(sim);

    simulation.setProcessorInfo(pi);

    return sim;
  }
View Full Code Here

  @Override
  public IProcessor create(IModel model, IComputationTask simulation,
      Partition partition, ParameterBlock params, Context context) {
    CAMultiSimulator sim = new CAMultiSimulator(model);
    sim.setComputationTask(simulation);
    ProcessorInformation pi = new ProcessorInformation();
    pi.setLocal(sim);

    simulation.setProcessorInfo(pi);

    return sim;
  }
View Full Code Here

  public IProcessor create(IModel model, IComputationTask simulation,
      Partition partition, ParameterBlock params, Context context) {
    CADiscreteEventMultiSimulator sim =
        new CADiscreteEventMultiSimulator(model);
    sim.setComputationTask(simulation);
    ProcessorInformation pi = new ProcessorInformation();
    pi.setLocal(sim);

    simulation.setProcessorInfo(pi);

    return sim;
  }
View Full Code Here

    sim =
        new CAMultiThreadedFullProcessor(model, writeBack, maxThreads,
            indexCache);

    sim.setComputationTask(simulation);
    ProcessorInformation pi = new ProcessorInformation();
    pi.setLocal(sim);

    simulation.setProcessorInfo(pi);

    return sim;
  }
View Full Code Here

      IComputationTask simulation,
      Partition partition, ParameterBlock params, Context context) {
    IBogusSimulatorProperties properties = determineProperties(params);
    FlexibleBogusSimulator sim = new FlexibleBogusSimulator(model, properties);
    sim.setComputationTask(simulation);
    ProcessorInformation pi = new ProcessorInformation();
    pi.setLocal(sim);
    simulation.setProcessorInfo(pi);
    return sim;
  }
View Full Code Here

TOP

Related Classes of org.jamesii.core.processor.ProcessorInformation

Copyright © 2018 www.massapicom. 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.