class MachineModel extends Model
The MachineModel
class defines a process-interaction model of a simple
two-stage manufacturing process.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- MachineModel
- Model
- Component
- Locatable
- Identifiable
- Modelable
- Coroutine
- Error
- Runnable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
-
new
MachineModel(name: String, nArrivals: Int, iArrivalRV: Variate, nUnits: Int, serviceRV: Variate, moveRV: Variate)
- name
the name of the machine model
- nArrivals
the number of arrivals to generate (stopping condition)
- iArrivalRV
the inter-arrival time distribution
- nUnits
the number of service units
- 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[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
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
-
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
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
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()
-
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
- val machine1: Resource
- val machine1Q: WaitQueue
- val machine2: Resource
- val machine2Q: WaitQueue
-
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()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
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
- val scrap: Sink
- val ship: Sink
-
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
-
def
theActor: SimActor
- Definition Classes
- Model
- val toMachine1Q: Transport
- val toMachine2Q: Transport
- val toScrap1: Transport
- val toScrap2: Transport
- val toShip: Transport
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
yyield(that: Coroutine, quit: Boolean): Unit
- Definition Classes
- Coroutine