class StochasticProcess extends AnyRef
A sequence of operations with a distribution of time between them
- Alphabetic
- By Inheritance
- StochasticProcess
- AnyRef
- Any
- by stochasticProcessToChain
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new StochasticProcess(operations: Seq[OperationGenerator], eventInterarrivalTime: Distribution[Long])
- operations
the operations to perform
- eventInterarrivalTime
the distribution of time between operations
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##(): Int
- Definition Classes
- AnyRef → Any
- def +(other: String): String
- Implicit
- This member is added by an implicit conversion from StochasticProcess toany2stringadd[StochasticProcess] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
- def ->[B](y: B): (StochasticProcess, B)
- Implicit
- This member is added by an implicit conversion from StochasticProcess toArrowAssoc[StochasticProcess] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def andThen(time: Duration): TimeLink
Link the next process by time
Link the next process by time
- time
the time value to use for the link
- returns
a DSL object to indicate how interpret the time
- Implicit
- This member is added by an implicit conversion from StochasticProcess toStochasticProcessChain performed by method stochasticProcessToChain in se.sics.kompics.sl.simulator.
- Definition Classes
- StochasticProcessChain
- def andThenAt(time: Duration): TimeLink2
Link the next process at a time time
Link the next process at a time time
- time
the time value to use for the link
- returns
a DSL object to indicate how interpret the time
- Implicit
- This member is added by an implicit conversion from StochasticProcess toStochasticProcessChain performed by method stochasticProcessToChain in se.sics.kompics.sl.simulator.
- Definition Classes
- StochasticProcessChain
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- def ensuring(cond: (StochasticProcess) => Boolean, msg: => Any): StochasticProcess
- Implicit
- This member is added by an implicit conversion from StochasticProcess toEnsuring[StochasticProcess] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: (StochasticProcess) => Boolean): StochasticProcess
- Implicit
- This member is added by an implicit conversion from StochasticProcess toEnsuring[StochasticProcess] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean, msg: => Any): StochasticProcess
- Implicit
- This member is added by an implicit conversion from StochasticProcess toEnsuring[StochasticProcess] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean): StochasticProcess
- Implicit
- This member is added by an implicit conversion from StochasticProcess toEnsuring[StochasticProcess] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- val eventInterarrivalTime: Distribution[Long]
- def formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from StochasticProcess toStringFormat[StochasticProcess] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @inline()
- def get(): SimulationScenario
Produce an actual SimulationScenario from the process chain
Produce an actual SimulationScenario from the process chain
Converts the Scala DSL process chain into a Kompics Java SimulationScenario for execution.
Scenarios can be executed by calling simulate on them.
- returns
the new scenario
- Implicit
- This member is added by an implicit conversion from StochasticProcess toStochasticProcessChain performed by method stochasticProcessToChain in se.sics.kompics.sl.simulator.
- Definition Classes
- StochasticProcessChain
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def inParallel(parallelProcs: StochasticProcess*): StochasticProcessChain
Execute multiple processes in parallel
Execute multiple processes in parallel
- parallelProcs
the processes to eexecute
- returns
the process chain itself
- Implicit
- This member is added by an implicit conversion from StochasticProcess toStochasticProcessChain performed by method stochasticProcessToChain in se.sics.kompics.sl.simulator.
- Definition Classes
- StochasticProcessChain
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val operations: Seq[OperationGenerator]
- def startWith(sp: StochasticProcess): StochasticProcessChain
The first process in the chain
The first process in the chain
- sp
the process that comes first in the chain
- returns
the process chain itself
- Implicit
- This member is added by an implicit conversion from StochasticProcess toStochasticProcessChain performed by method stochasticProcessToChain in se.sics.kompics.sl.simulator.
- Definition Classes
- StochasticProcessChain
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated @deprecated
- Deprecated
(Since version ) see corresponding Javadoc for more information.
- def →[B](y: B): (StochasticProcess, B)
- Implicit
- This member is added by an implicit conversion from StochasticProcess toArrowAssoc[StochasticProcess] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use
->
instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.