|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnetwork.Node
network.InfiniteServerNode
network.ResourcePool
network.ProcessorSharingNode
public class ProcessorSharingNode
Implements a processor sharing node with a single server. The processing capacity seen by each customer decreases linearly with the number of customers.
| Field Summary |
|---|
| Fields inherited from class network.ResourcePool |
|---|
losses, lossNode, noOfResources, queue, resources |
| Constructor Summary | |
|---|---|
ProcessorSharingNode(java.lang.String s,
Delay d)
|
|
| Method Summary | |
|---|---|
protected void |
accept(Customer c)
Overrides superclass method. |
void |
releaseResource()
|
| Methods inherited from class network.ResourcePool |
|---|
getLosses, getLossProbability, logResults, meanNoOfQueuedCustomers, meanTimeInQueue, queueLength, resetMeasures, serverUtilisation, setLossNode, toString, varianceOfNoOfQueuedCustomers, varianceOfTimeInQueue |
| Methods inherited from class network.InfiniteServerNode |
|---|
enter, invokeService |
| Methods inherited from class network.Node |
|---|
displayResults, forward, getId, getName, setLink |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ProcessorSharingNode(java.lang.String s,
Delay d)
| Method Detail |
|---|
protected void accept(Customer c)
accept in class ResourcePoolpublic void releaseResource()
releaseResource in class ResourcePool
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||