class BankModel2 extends Model
The BankModel2
class defines a simple process-interaction model of a bank
where service is provided by one or more tellers.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- BankModel2
- Model
- Component
- Locatable
- Identifiable
- Modelable
- Coroutine
- Error
- Runnable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
-
new
BankModel2(name: String, nArrivals: Int, iArrivalRV: Variate, nUnits: Int, serviceRV: Variate, moveRV: Variate)
- name
the name of the bank model
- nArrivals
the number of arrivals to generate (stopping condition)
- iArrivalRV
the inter-arrival time distribution
- nUnits
the number of service units (tellers)
- serviceRV
the service time distribution
- moveRV
the time distribution for motion along transports
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
val
DIAM: Double
- Definition Classes
- Component
-
val
HOUR: Double
- Attributes
- protected
- Definition Classes
- Modelable
-
val
MINUTE: Double
- Attributes
- protected
- Definition Classes
- Modelable
-
val
RAD: Double
- Definition Classes
- Component
-
val
_clock: Double
- Attributes
- protected
- Definition Classes
- Modelable
-
def
accum(value: Double): Unit
- Definition Classes
- Component
-
def
act(): Unit
- Definition Classes
- Model → Coroutine
-
def
addComponent(_parts: Component*): Unit
- Definition Classes
- Model
-
def
addComponents(_parts: List[Component]*): Unit
- Definition Classes
- Model
-
def
aggregate(): Unit
- Definition Classes
- Component
-
def
animate(who: Identifiable, what: scalation.animation.CommandType.Value, color: Color, shape: Shape, from: Component, to: Component, at: Array[Double]): Unit
- Definition Classes
- Model
-
def
animate(who: Identifiable, what: scalation.animation.CommandType.Value, color: Color, shape: Shape, at: Array[Double]): Unit
- Definition Classes
- Model
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
at: Array[Double]
- Definition Classes
- Locatable
-
def
at_=(at: Array[Double]): Unit
- Definition Classes
- Locatable
-
def
cleanup(): Unit
- Definition Classes
- Model
-
def
clock: Double
- Definition Classes
- Modelable
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
def
complete(): Unit
- Definition Classes
- Model
-
def
composite: Boolean
- Definition Classes
- Component
-
def
counts: (Int, Int, Int)
- Definition Classes
- Coroutine
-
def
director: Model
- Definition Classes
- Component
-
def
director_=(director: Model): Unit
- Definition Classes
- Component
-
def
display(): Unit
- Definition Classes
- Model → Component
- val door: Sink
-
def
durationStat: Statistic
- Definition Classes
- Component
- val entry: Source
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(that: Any): Boolean
- Definition Classes
- Identifiable → AnyRef → Any
-
final
def
flaw(method: String, message: String): Unit
- Definition Classes
- Error
-
val
full: Boolean
- Definition Classes
- Model
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
getStatistics: ListBuffer[Statistic]
- Definition Classes
- Model
-
def
hashCode(): Int
- Definition Classes
- Identifiable → AnyRef → Any
-
val
id: Int
- Definition Classes
- Identifiable
-
def
initComponent(label: String, loc: Array[Double]): Unit
- Definition Classes
- Component
-
def
initStats(label: String): Unit
- Definition Classes
- Component
-
def
interrupt(): Unit
- Definition Classes
- Coroutine
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
me: String
- Definition Classes
- Identifiable
-
def
name: String
- Definition Classes
- Identifiable
-
def
name_=(name: String): Unit
- Definition Classes
- Identifiable
-
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()
-
def
persistentStat: TimeStatistic
- Definition Classes
- Component
-
val
reps: Int
- Definition Classes
- Model
-
def
reschedule(actor: SimActor): Unit
- Definition Classes
- Model
-
def
reset(): Unit
- Definition Classes
- Model
-
def
resetStats(rep: Int): Unit
- Definition Classes
- Model
-
def
run(): Unit
- Definition Classes
- Coroutine → Runnable
-
def
simType: String
- Definition Classes
- Identifiable
-
def
simulate(_startTime: Double): Unit
- Definition Classes
- Model → Modelable
-
val
simulating: Boolean
- Attributes
- protected
- Definition Classes
- Modelable
-
def
start(): Future[_]
- Definition Classes
- Coroutine
-
val
statV: HashMap[String, VectorD]
- Definition Classes
- Model
-
var
stopTime: Double
- Definition Classes
- Model
-
def
stopped: Boolean
- Definition Classes
- Model
-
val
subpart: ListBuffer[Component]
- Definition Classes
- Component
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
tally(duration: Double): Unit
- Definition Classes
- Component
- val teller: Resource
- val tellerQ: WaitQueue
-
def
theActor: SimActor
- Definition Classes
- Model
- val toDoor: Transport
-
def
toString(): String
- Definition Classes
- AnyRef → Any
- val toTellerQ: Transport
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
yyield(that: Coroutine, quit: Boolean): Unit
- Definition Classes
- Coroutine
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated