MCPcopy Create free account

hub / github.com/danslimmon/qsim / types & classes

Types & classes25 in github.com/danslimmon/qsim

↓ 1 callersTypeAliasByQueueLength
ByQueueLength implements sort.Interface for []*Queue based on Length.
arrbeh.go:284
StructAlwaysQueueArrBeh
AlwaysQueueArrBeh always puts incoming jobs in the given queue. Processors don't even enter into it.
arrbeh.go:181
InterfaceArrBeh
An ArrBeh ("arrival behavior") assigns new jobs to queues or processors.
arrbeh.go:9
InterfaceArrProc
An ArrProc (short for "arrival process") generates new Jobs at some interval.
arrproc.go:8
StructAssignment
An Assignment indicates where a Job has been assigned by an Arrival Behavior. The string Type will be either "Processor" or "Queue", and the correspo
arrbeh.go:277
StructBlogSystem
To run a simulation, you have to implement the System interface: https://godoc.org/github.com/danslimmon/qsim#System
examples/blog/blog.go:19
StructBloodBankArrProc
examples/bloodbank/bloodbank.go:14
StructBloodBankSystem
examples/bloodbank/bloodbank.go:63
StructConstantArrProc
ConstantArrProc generates jobs at a constant interval. It implements the ArrProc interface.
arrproc.go:17
InterfaceDiscipline
discipline.go:3
StructGrocerySystem
To run a simulation, you have to implement the System interface: https://godoc.org/github.com/danslimmon/qsim#System
grocery_test.go:12
StructJob
A Job is the object that passes through a queueing system.
job.go:8
StructOneToOneFIFODiscipline
OneToOneFIFODiscipline moves Jobs from Queues to Processors based on the following algorithm: – There is a one-to-one relationship between Queues and
discipline.go:13
StructPoissonArrProc
PoissonArrProc generates jobs according to a Poisson process. This means that the distribution of intervals between arrivals is an exponential distrib
arrproc.go:85
StructPortaPottySystem
examples/portapotty/portapotty.go:11
StructProcessor
A Processor is the piece of the queueing system that processes jobs.
processor.go:8
StructQueue
A Queue holds Jobs until they're ready for processing.
queue.go:4
StructSchedule
Schedule holds simEvents in the order that they need to be run. Events that have already occurred are removed.
simulation.go:13
StructShortestQueueArrBeh
ShortestQueueArrBeh implements the ArrBeh interface, assigning new Jobs by the following algorithm: – If there is at least one idle Processor, pick a
arrbeh.go:27
InterfaceSystem
A System is the thing you simulate. You implement this interface and pass your implementation to RunSimulation().
simulation.go:78
StructbloodBankResult
examples/bloodbank/bloodbank_test.go:13
StructrecvExpectation
simulation_test.go:14
StructsimEvent
An event scheduled to occur in the simulation We'll run the function F at tick Time. F will be called at time Time with the current clock time as its
simulation.go:6
StructsimResult
examples/bloodbank/bloodbank.go:268
StructsimResult
examples/portapotty/portapotty.go:250