Codota Logo
Scenario$Builder.<init>
Code IndexAdd Codota to your IDE (free)

How to use
com.github.rinde.rinsim.scenario.Scenario$Builder
constructor

Best Java code snippets using com.github.rinde.rinsim.scenario.Scenario$Builder.<init> (Showing top 4 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
List l =
  • Codota Iconnew LinkedList()
  • Codota IconCollections.emptyList()
  • Codota Iconnew ArrayList()
  • Smart code suggestions by Codota
}
origin: com.github.rinde/rinsim-scenario

/**
 * Creates a new {@link Builder} based on an existing builder. All properties
 * will be copied from the specified builder into the newly created builder.
 * @param base The builder to copy properties from.
 * @param problemClass The {@link ProblemClass} the new builder should have.
 * @return The newly constructed {@link Builder}.
 */
public static Builder builder(AbstractBuilder<?> base,
  ProblemClass problemClass) {
 return new Builder(Optional.<AbstractBuilder<?>>of(base), problemClass);
}
origin: rinde/RinSim

/**
 * Creates a new {@link Builder} based on an existing builder. All properties
 * will be copied from the specified builder into the newly created builder.
 * @param base The builder to copy properties from.
 * @param problemClass The {@link ProblemClass} the new builder should have.
 * @return The newly constructed {@link Builder}.
 */
public static Builder builder(AbstractBuilder<?> base,
  ProblemClass problemClass) {
 return new Builder(Optional.<AbstractBuilder<?>>of(base), problemClass);
}
origin: com.github.rinde/rinsim-scenario

/**
 * Create a {@link Builder} to construct {@link Scenario} instances.
 * @param problemClass The problem class of the instance to construct.
 * @return A new {@link Builder} instance.
 */
public static Builder builder(ProblemClass problemClass) {
 return new Builder(problemClass);
}
origin: rinde/RinSim

/**
 * Create a {@link Builder} to construct {@link Scenario} instances.
 * @param problemClass The problem class of the instance to construct.
 * @return A new {@link Builder} instance.
 */
public static Builder builder(ProblemClass problemClass) {
 return new Builder(problemClass);
}
com.github.rinde.rinsim.scenarioScenario$Builder<init>

Popular methods of Scenario$Builder

  • build
    Build a new Scenario instance.
  • addEvent
    Add the specified TimedEvent to the builder.
  • addEvents
    Add the specified TimedEvents to the builder.
  • addModel
    Adds the model builder. The builders will be used to instantiate Models needed for the scenario.
  • setStopCondition
  • addModels
    Adds the model builders. The builders will be used to instantiate Models needed for the scenario.
  • clearEvents
    Removes all events.
  • instanceId
    The instance id to use for the next scenario that is created.
  • removeModelsOfType
    Removes all previously added model builders that are an instance of the specified type.
  • scenarioLength
  • copyProperties
  • problemClass
    The ProblemClass to use for the next scenario that is created.
  • copyProperties,
  • problemClass,
  • ensureFrequency,
  • filterEvents,
  • getStopCondition,
  • getTimeWindow,
  • self

Popular in Java

  • Running tasks concurrently on multiple threads
  • putExtra (Intent)
  • scheduleAtFixedRate (ScheduledExecutorService)
    Creates and executes a periodic action that becomes enabled first after the given initial delay, and
  • getApplicationContext (Context)
  • FileInputStream (java.io)
    A FileInputStream obtains input bytes from a file in a file system. What files are available depends
  • Proxy (java.net)
    This class represents proxy server settings. A created instance of Proxy stores a type and an addres
  • Socket (java.net)
    Provides a client-side TCP socket.
  • UnknownHostException (java.net)
    Thrown when a hostname can not be resolved.
  • Collection (java.util)
    Collection is the root of the collection hierarchy. It defines operations on data collections and t
  • Scheduler (org.quartz)
    This is the main interface of a Quartz Scheduler. A Scheduler maintains a registery of org.quartz
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now