Class

sessl.omnetpp

Experiment

Related Doc: package omnetpp

Permalink

class Experiment extends AbstractExperiment with OMNeTPPResultHandler

Integrates OMNeT++ 4.2 (http://www.omnetpp.org/) by producing omnetpp.ini files.

Linear Supertypes
OMNeTPPResultHandler, ResultHandling, AbstractExperiment, SupportStoppingConditions, SupportReplicationConditions, SupportRNGSetup, SupportSimulatorConfiguration, SupportModelConfiguration, BasicExperimentConfiguration, ExperimentConfiguration, Logging, StrictLogging, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Experiment
  2. OMNeTPPResultHandler
  3. ResultHandling
  4. AbstractExperiment
  5. SupportStoppingConditions
  6. SupportReplicationConditions
  7. SupportRNGSetup
  8. SupportSimulatorConfiguration
  9. SupportModelConfiguration
  10. BasicExperimentConfiguration
  11. ExperimentConfiguration
  12. Logging
  13. StrictLogging
  14. AnyRef
  15. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Experiment()

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def addAssignmentForRun(runId: Int, assignId: Int, assignment: VariableAssignment): Unit

    Permalink
    Definition Classes
    BasicExperimentConfiguration
  5. def addExperimentResultsAspect(a: ExperimentResultsAspect): Unit

    Permalink
    Definition Classes
    BasicExperimentConfiguration
  6. def addReplicationsResultsAspect(assignmentId: Int, a: ReplicationsResultsAspect): Unit

    Permalink
    Definition Classes
    BasicExperimentConfiguration
  7. def addRunResultsAspect(runId: Int, a: RunResultsAspect): Unit

    Permalink
    Definition Classes
    BasicExperimentConfiguration
  8. def afterExperiment(f: (ExperimentResults) ⇒ Unit): ListBuffer[(ExperimentResults) ⇒ Unit]

    Permalink
    Definition Classes
    BasicExperimentConfiguration
  9. def afterReplications(f: (ReplicationsResults) ⇒ Unit): ListBuffer[(ReplicationsResults) ⇒ Unit]

    Permalink
    Definition Classes
    BasicExperimentConfiguration
  10. def afterRun(f: (RunResults) ⇒ Unit): ListBuffer[(RunResults) ⇒ Unit]

    Permalink
    Definition Classes
    BasicExperimentConfiguration
  11. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  12. def basicConfiguration(): Unit

    Permalink

    Generates the corresponding omnetpp.ini file.

    Generates the corresponding omnetpp.ini file.

    Definition Classes
    Experiment → AbstractExperiment
  13. def checkAndGetReplicationCondition(): ReplicationCondition

    Permalink
    Attributes
    protected[sessl]
    Definition Classes
    SupportReplicationConditions
  14. def checkAndGetStoppingCondition(): StoppingCondition

    Permalink
    Attributes
    protected[sessl]
    Definition Classes
    SupportStoppingConditions
  15. def checkResultHandlingCorrectness(methodName: String): Unit

    Permalink
    Definition Classes
    ResultHandling
  16. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  17. def collectExperimentResultsAspects(): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    ExperimentConfiguration
  18. def collectReplicationsResultsAspects(assignId: Int): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    ExperimentConfiguration
  19. def collectRunResultsAspects(runId: Int): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    ExperimentConfiguration
  20. def configure(): Unit

    Permalink
    Definition Classes
    AbstractExperiment → ExperimentConfiguration
  21. def configureFixedVariables(): Unit

    Permalink

    Configures all fixed variables.

  22. def configureModel(): Unit

    Permalink

    Configure the model to be simulated.

  23. def configureReplications(): Unit

    Permalink

    Configures the number of replications.

  24. def configureStopping(): Unit

    Permalink

    Configure stop condition.

  25. def configureVariablesToScan(): Unit

    Permalink

    Configures all variables for which the values shall be scanned.

  26. def considerResults(runId: Int, workingDir: File): Unit

    Permalink

    Consider results.

    Consider results. Override this method to process the results for the given run.

    runId

    the run id

    workingDir

    the working dir

    Attributes
    protected[sessl.omnetpp]
    Definition Classes
    OMNeTPPResultHandler
  27. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  28. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  29. def executeExperiment(): Unit

    Permalink

    Executes OMNeT++ experiment by repeatedly execution the executable file.

    Executes OMNeT++ experiment by repeatedly execution the executable file.

    Definition Classes
    Experiment → AbstractExperiment
  30. var executionMode: SimulatorExecutionOption

    Permalink
    Definition Classes
    SupportSimulatorConfiguration
  31. var expConfFileName: String

    Permalink

    The file to which the experiment configuration is written.

  32. final def experimentDone(): Unit

    Permalink
    Definition Classes
    BasicExperimentConfiguration → ExperimentConfiguration
  33. val fileHeader: String

    Permalink

    The default file header.

  34. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  35. def finishExperiment(): Unit

    Permalink

    Free file handle after the experiment is done.

    Free file handle after the experiment is done.

    Definition Classes
    Experiment → AbstractExperiment
  36. var fixedReplications: Option[Int]

    Permalink
    Attributes
    protected[sessl]
    Definition Classes
    SupportReplicationConditions
  37. var fixedStopTime: Option[Double]

    Permalink
    Attributes
    protected[sessl]
    Definition Classes
    SupportStoppingConditions
  38. lazy val fixedVariables: Map[String, AnyRef]

    Permalink
    Attributes
    protected
    Definition Classes
    SupportModelConfiguration
  39. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  40. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  41. def initializeExperimentConfigFile(): Unit

    Permalink

    Initializes the experiment configuration file.

  42. def isDone: Boolean

    Permalink
    Definition Classes
    BasicExperimentConfiguration
  43. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  44. val logger: Logger

    Permalink
    Attributes
    protected
    Definition Classes
    StrictLogging
  45. def model: String

    Permalink
    Definition Classes
    SupportModelConfiguration
  46. var modelLocation: Option[String]

    Permalink
    Attributes
    protected[this]
    Definition Classes
    SupportModelConfiguration
  47. def model_=(modelLocation: URI): Nothing

    Permalink
    Definition Classes
    Experiment → SupportModelConfiguration
  48. def model_=(modelLocation: String): Nothing

    Permalink
    Definition Classes
    Experiment → SupportModelConfiguration
  49. def model_=(execAndNetwork: (String, String)): Unit

    Permalink

    The only valid way to set a model is by also giving the executable to simulate it.

  50. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  51. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  52. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  53. final def prepare(): Unit

    Permalink
    Attributes
    protected[sessl]
    Definition Classes
    AbstractExperiment
  54. var randomNumberGenerator: Option[RNG]

    Permalink
    Attributes
    protected[sessl]
    Definition Classes
    SupportRNGSetup
  55. var repCondition: Option[ReplicationCondition]

    Permalink
    Attributes
    protected[sessl]
    Definition Classes
    SupportReplicationConditions
  56. def replicationCondition: ReplicationCondition

    Permalink
    Definition Classes
    SupportReplicationConditions
  57. def replicationCondition_=(rc: ReplicationCondition): Unit

    Permalink
    Definition Classes
    SupportReplicationConditions
  58. def replications: Int

    Permalink
    Definition Classes
    SupportReplicationConditions
  59. final def replicationsDone(assignId: Int): Unit

    Permalink
    Definition Classes
    BasicExperimentConfiguration → ExperimentConfiguration
  60. def replications_=(reps: Int): Unit

    Permalink
    Definition Classes
    SupportReplicationConditions
  61. def results: ExperimentResults

    Permalink
    Definition Classes
    BasicExperimentConfiguration
  62. def resultsHandlingIsCalled(): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    ResultHandling
  63. def rng: RNG

    Permalink
    Definition Classes
    SupportRNGSetup
  64. def rng_=(rand: RNG): Unit

    Permalink
    Definition Classes
    SupportRNGSetup
  65. final def runDone(runId: Int): Unit

    Permalink
    Definition Classes
    BasicExperimentConfiguration → ExperimentConfiguration
  66. def scan(variablesToScan: Variable*): ListBuffer[Variable]

    Permalink
    Definition Classes
    SupportModelConfiguration
  67. def set(variablesToSet: Variable*): Unit

    Permalink
    Definition Classes
    SupportModelConfiguration
  68. def simulator: Simulator

    Permalink
    Definition Classes
    SupportSimulatorConfiguration
  69. def simulator_=(s: Simulator): ListBuffer[Simulator]

    Permalink
    Definition Classes
    SupportSimulatorConfiguration
  70. val simulators: AlgorithmSet[Simulator]

    Permalink
    Definition Classes
    SupportSimulatorConfiguration
  71. def stopCondition: StoppingCondition

    Permalink
    Definition Classes
    SupportStoppingConditions
  72. def stopCondition_=(sc: StoppingCondition): Unit

    Permalink
    Definition Classes
    SupportStoppingConditions
  73. def stopTime: Double

    Permalink
    Definition Classes
    SupportStoppingConditions
  74. def stopTime_=(time: Double): Unit

    Permalink
    Definition Classes
    SupportStoppingConditions
  75. var stoppingCondition: Option[StoppingCondition]

    Permalink
    Attributes
    protected[sessl]
    Definition Classes
    SupportStoppingConditions
  76. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  77. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  78. def variableValueAsString(value: AnyRef): String

    Permalink

    Returns string representation of a value.

  79. lazy val variablesToScan: List[Variable]

    Permalink
    Attributes
    protected
    Definition Classes
    SupportModelConfiguration
  80. lazy val variablesToSet: List[VarSingleVal]

    Permalink
    Attributes
    protected
    Definition Classes
    SupportModelConfiguration
  81. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  82. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  83. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  84. def writeStoppingCondition(c: StoppingCondition): Unit

    Permalink

    Writes a stopping condition into the next line.

  85. def writeVariableDefinition(element: (String, AnyRef)): Unit

    Permalink

    Writes a variable definition.

Inherited from OMNeTPPResultHandler

Inherited from ResultHandling

Inherited from AbstractExperiment

Inherited from SupportStoppingConditions

Inherited from SupportReplicationConditions

Inherited from SupportRNGSetup

Inherited from SupportSimulatorConfiguration

Inherited from SupportModelConfiguration

Inherited from BasicExperimentConfiguration

Inherited from ExperimentConfiguration

Inherited from Logging

Inherited from StrictLogging

Inherited from AnyRef

Inherited from Any

Ungrouped