A B C D E F G I J L M N O P Q R S T U W

A

acquire(int) - Method in class psimjava.Res
This method allows the requesting process to acquire a number of resource items.
addnode(Bin) - Method in class psimjava.Bin_chain
 
addnode(Res) - Method in class psimjava.Res_chain
 
available() - Method in class psimjava.Bsemaphore
This method checks if the semaphore object is available.

B

back(Object, int, int) - Method in class psimjava.Rsqueue
 
back(Object) - Method in class psimjava.Squeue
Insert the specified object to the head of the queue.
Bin - Class in psimjava
This class controls the declaration, allocation and deallocation resources.
Bin(String, int) - Constructor for class psimjava.Bin
Constructor initializes Bin object with a title and the number of available resource items.
Bin_chain - Class in psimjava
PsimJ, Java package for Obje ct-oriented Simulation Internal class called by the Bin class and the PsimJ simulation executive.
Bin_chain() - Constructor for class psimjava.Bin_chain
 
Bsemaphore - Class in psimjava
PsimJ Java package for OO simulation
Bsemaphore(String, int) - Constructor for class psimjava.Bsemaphore
Constructor for the binary semaphore object
bsignal() - Method in class psimjava.Bsemaphore
This method releases the semaphore object, and makes it available to other processes.
bwait() - Method in class psimjava.Bsemaphore
This method allows the requesting process to acquire the semaphore if it has not been acquired by another process.

C

cardinal() - Method in class psimjava.Rqueue
 
clear_int() - Method in class psimjava.Process
Clears the Psim interrupt levels of the process (to zero).
clear_int_lev(int) - Method in class psimjava.Process
Clears the Psim interrupt level of the process (to zero).
closing() - Static method in class psimjava.StaticSync
 
Comm_timer - Class in psimjava
PsimJ Java package for OO simulation Communication timer.
Comm_timer(Process, double, Waitq, boolean) - Constructor for class psimjava.Comm_timer
Constructor for the communication timer object
Comm_timer() - Constructor for class psimjava.Comm_timer
 
comm_wait() - Method in class psimjava.Process
Gets the value of the communication flag of the calling process.
coopt() - Method in class psimjava.Waitq
This function returns a slave process from the slave queue.
Csemaphore - Class in psimjava
PsimJ Java package for OO simulation
Csemaphore(String, int) - Constructor for class psimjava.Csemaphore
Constructor for the counting semaphore object
csignal() - Method in class psimjava.Csemaphore
This method increments the semaphore object Then the method reactivates and removes from the semaphore queue any waiting processes.
cur_obj - Variable in class psimjava.Qobject
 
current - Variable in class psimjava.Bin_chain
 
current - Variable in class psimjava.Res_chain
 
cwait() - Method in class psimjava.Csemaphore
This method allows the requesting process to decrement the semaphore if possible.

D

deactivate(Process) - Method in class psimjava.Process
Deactivates (i.e.) suspends the called process.
deactivate(Process) - Static method in class psimjava.StaticSync
 
delay(double) - Method in class psimjava.Process
Schedules the calling process at 'd' time units from the current clock time In the mean time, the process remains active in the event list waiting for the time to become the currently running process.
dequeue() - Method in class psimjava.Rqueue
 
draw() - Method in class psimjava.Normalp
This function generates a random number of type 'long' from the Normal distribution set up by the constructor
draw() - Method in class psimjava.Poisson
This function generates a random number using a Poisson distribution.
draw() - Method in class psimjava.Poissonp
This function generates a random number using a Poisson distribution.
draw() - Method in class psimjava.Randint
This method generates an integer random number: positive or negative
draw() - Method in interface psimjava.RandomGenerator
Return next random number
draw() - Method in class psimjava.Urand
This method generates a random number

E

empty() - Method in class psimjava.Pqueue
Returns a true if total queue is empty, otherwise, return false
empty() - Method in class psimjava.Rsqueue
 
empty() - Method in class psimjava.Squeue
Check if queue is empty.
enqueue(Process, int, int) - Method in class psimjava.Rqueue
 
Erand - Class in psimjava
Exponential Randum Number Generator
Erand(double, long) - Constructor for class psimjava.Erand
Constructor for initializing the exponential random number generator.
Erand(double) - Constructor for class psimjava.Erand
Constructor for initializing the exponential random number generator.

F

fdraw() - Method in class psimjava.Erand
This function generates a random number using the exponential distribution with the mean value given in the constructor.
fdraw() - Method in class psimjava.Normal
This function generates a random number from Normal distribution set up by the constructor
fdraw() - Method in class psimjava.Normalp
This function generates a random number from Normal distribution set up by the constructor
fdraw() - Method in class psimjava.Randint
This method generates a random number between 0.0 to 1.0
fdraw() - Method in class psimjava.Urand
This method generates a random number
first_process() - Static method in class psimjava.StaticSync
 
full(int) - Method in class psimjava.Pqueue
Returns true if queue is full of processes with priority prio, returns false otherwise
full() - Method in class psimjava.Rsqueue
 
full() - Method in class psimjava.Squeue
Check if the queue is full.

G

get_clock() - Method in class psimjava.Sched
Get current value of simulation clock
get_clock() - Static method in class psimjava.StaticSync
 
get_created() - Static method in class psimjava.StaticSync
 
get_flag() - Method in class psimjava.Suspend
 
get_name() - Method in class psimjava.Bsemaphore
This method returns the name of the semaphore object
get_name() - Method in class psimjava.Csemaphore
This method returns the name of the semaphore object
get_name() - Method in class psimjava.Process
Gets the name of the calling process (activate object).
get_name() - Method in class psimjava.Squeue
 
get_numSusp() - Static method in class psimjava.StaticSync
 
get_prio() - Method in class psimjava.Pobject
 
get_remain_t() - Method in class psimjava.Process
Get the remaining interval left after the process has been interrupted.
get_res_h(Process) - Method in class psimjava.Rqueue
 
get_res_req(Process) - Method in class psimjava.Rqueue
 
get_schtime() - Static method in class psimjava.StaticSync
 
get_seq() - Method in class psimjava.Bin_chain
 
get_seq() - Method in class psimjava.Res_chain
 
get_started() - Static method in class psimjava.StaticSync
 
get_susp() - Static method in class psimjava.StaticSync
 
give(int) - Method in class psimjava.Bin
Current process deposits a number of resource items in the Bin object

I

idle() - Method in class psimjava.Process
Checks if the process is idle (i.e., has been suspended).
incr_created() - Static method in class psimjava.StaticSync
 
incr_started() - Static method in class psimjava.StaticSync
 
insert(Sched, double) - Static method in class psimjava.StaticSync
 
int_level() - Method in class psimjava.Process
Gets the lowest interrupt level greater than zero of the process.
int_level(int) - Method in class psimjava.Process
Gets the interrupt level specified of the process.
into(Object) - Method in class psimjava.Pqueue
Enqueue the specified object (process) into the priority queue
into(Object, int, int) - Method in class psimjava.Rsqueue
 
into(Object) - Method in class psimjava.Squeue
Insert specified object to the tail of the queue.
is_terminated() - Method in class psimjava.Process
Checks if the calling process has been terminated.

J

jjstart_th() - Static method in class psimjava.StaticSync
 

L

last() - Method in class psimjava.Rsqueue
 
last() - Method in class psimjava.Squeue
Remove the last object enqueued (the one at the tail of queue).
length() - Method in class psimjava.Bin
Returns number of of processes waiting on the Bin object
length() - Method in class psimjava.Bsemaphore
This method gets the number of waiting processes.
length() - Method in class psimjava.Csemaphore
This method gets the number of waiting processes.
length() - Method in class psimjava.Pqueue
Returns the total length of the priority queue
length() - Method in class psimjava.Res
This method gets the number of waiting processes.
length() - Method in class psimjava.Rsqueue
 
length() - Method in class psimjava.Squeue
Get current number of objects in queue (queue size)
length() - Method in class psimjava.Waitq
Returns the length (number of processes) in the slave queue
lengthm() - Method in class psimjava.Waitq
Returns the length (number of processes) in the master queue
llast() - Method in class psimjava.Pqueue
get last object enqueued to lowest priority queue

M

Main_body() - Method in class psimjava.Comm_timer
Main body for a communication timer object does not need to be redefined in user model.
Main_body() - Method in class psimjava.Process
This method represents the main code of every user process.
maxprio() - Method in class psimjava.Pqueue
Return the maximum priority used
maxprio() - Method in class psimjava.Rqueue
 
myobj - Variable in class psimjava.Qobject
 

N

next - Variable in class psimjava.Qobject
 
Normal - Class in psimjava
Normal Distribution random number generator
Normal(double, double, int) - Constructor for class psimjava.Normal
Constructor using values of type double
Normal(double, double) - Constructor for class psimjava.Normal
Constructor using values of type double
Normalp - Class in psimjava
Normal Distribution random number generator
Normalp(long, long, int) - Constructor for class psimjava.Normalp
Constructor for random number generator object - Normal dist
Normalp(long, long) - Constructor for class psimjava.Normalp
Constructor for random number generator object - Normal dist
Normalp(double, double, int) - Constructor for class psimjava.Normalp
Constructor using values of type double
Normalp(double, double) - Constructor for class psimjava.Normalp
Constructor using values of type double
nr_req - Variable in class psimjava.Qobject
 
num_avail() - Method in class psimjava.Bin
Returns number of available resource items in Bin object
num_avail() - Method in class psimjava.Res
This method gets the number of available resource items available in the resource pool.
num_res - Variable in class psimjava.Qobject
 

O

out() - Method in class psimjava.Pqueue
Dequeue object (process) with the highest priority
out() - Method in class psimjava.Rsqueue
 
out() - Method in class psimjava.Squeue
Dequeue an object or process from the head of queue.

P

p_interrupt(int) - Method in class psimjava.Process
Interrupts the calling process using the specified interrupt level.
pback(Object) - Method in class psimjava.Pqueue
Place the specified object (process) at the head of the queue
pcardinal(int) - Method in class psimjava.Rqueue
 
pdequeue(int) - Method in class psimjava.Rqueue
 
pfirst - Static variable in class psimjava.StaticSync
 
place_sus(Process) - Static method in class psimjava.StaticSync
 
place_term(Process) - Static method in class psimjava.StaticSync
 
plast(int) - Method in class psimjava.Pqueue
Get last object enqueued with the specified priority
plast(int) - Method in class psimjava.Rqueue
 
plength(int) - Method in class psimjava.Pqueue
Returns the length of a particular queue with given priority
pllast(int) - Method in class psimjava.Pqueue
Get last object enqueued into lowest priority queue, down to the specified priority
Pobject - Class in psimjava
PsimJ Java package for OO simulation
Pobject(int) - Constructor for class psimjava.Pobject
 
Poisson - Class in psimjava
Poisson Distribution random number generator
Poisson(double, long) - Constructor for class psimjava.Poisson
Constructor to initialize a random number generator using a Poisson distribution.
Poisson(double) - Constructor for class psimjava.Poisson
Constructor to initialize a random number generator using a Poisson distribution.
Poissonp - Class in psimjava
 
Poissonp(double, double, long) - Constructor for class psimjava.Poissonp
Constructor to initialize a random number generator using a Poisson distribution.
Poissonp(double, double) - Constructor for class psimjava.Poissonp
 
pout(int) - Method in class psimjava.Pqueue
Dequeues an object (process) with the specified priority
pputback(Object, int, int) - Method in class psimjava.Rqueue
 
Pqueue - Class in psimjava
PsimJ Java package for OO simulation
Pqueue(String, int) - Constructor for class psimjava.Pqueue
Initializes priority queue object with title and maximum priority to use.
Pqueue(String, int, int) - Constructor for class psimjava.Pqueue
Initializes priority queue object with title, maximum number of priorities to use, and the capacity of the component queues.
premov(Object) - Method in class psimjava.Pqueue
Remove the specified object (process) from the priority queue
premov(Object) - Method in class psimjava.Rqueue
 
prev - Variable in class psimjava.Qobject
 
proceed() - Method in class psimjava.Suspend
 
Process - Class in psimjava
Basic behavior of a process in PsimJ.
Process(String) - Constructor for class psimjava.Process
Constructor for processes.
psimjava - package psimjava
 
pt_bin - Static variable in class psimjava.Simulation
 
pt_res - Static variable in class psimjava.Simulation
 
purge() - Static method in class psimjava.StaticSync
 

Q

Qobject - Class in psimjava
PsimJ Java package for OO simulation
Qobject(Object) - Constructor for class psimjava.Qobject
 
Qobject(Object, int, int) - Constructor for class psimjava.Qobject
 
qwait() - Method in class psimjava.Waitq
Places current process in the slave queue and passivates (suspends) waiting for a process in the master queue.

R

Randint - Class in psimjava
Java random number base generator for integers.
Randint(long) - Constructor for class psimjava.Randint
Constructor for random number generator objet
Randint() - Constructor for class psimjava.Randint
 
RandomGenerator - Interface in psimjava
Interface for Random Number Generators
rdstate() - Method in class psimjava.Sched
Get the state of an object (RUNNING, IDLE, TERMINATED)
rdtime() - Method in class psimjava.Sched
 
reactivate(Process) - Method in class psimjava.Process
Reactivates the called process.
reactivate(Process) - Static method in class psimjava.StaticSync
 
release(int) - Method in class psimjava.Res
This dunction releases resources from the calling process, and makes them available in the resource pool.
rem_cur() - Method in class psimjava.Rsqueue
 
rem_obj(int) - Method in class psimjava.Rqueue
 
remov(Object) - Method in class psimjava.Rsqueue
 
remov(Object) - Method in class psimjava.Squeue
Find and remove specified object or process from queue.
removerc(Process) - Static method in class psimjava.StaticSync
 
report() - Method in class psimjava.Bin
Internal method for the actual reporting of Bin object usage, called by the executive.
Res - Class in psimjava
PsimJ Java package for OO simulation
Res(String, int) - Constructor for class psimjava.Res
Constructor for the resurce pool object
Res_chain - Class in psimjava
Internal class used by class Res and by the PsimJ simulation executive.
Res_chain() - Constructor for class psimjava.Res_chain
 
reset_clock() - Static method in class psimjava.StaticSync
 
reset_first() - Static method in class psimjava.StaticSync
 
Rqueue - Class in psimjava
This is an auxiliary class used by class Res.
Rqueue(int) - Constructor for class psimjava.Rqueue
 
Rsqueue - Class in psimjava
PsimJ Java package for OO simulation
Rsqueue(int) - Constructor for class psimjava.Rsqueue
 
Rsqueue() - Constructor for class psimjava.Rsqueue
 
run() - Method in class psimjava.Process
This method sets up and starts executing the main body of the process.
running(Process) - Static method in class psimjava.StaticSync
 

S

Sched - Class in psimjava
Top level class for scheduling processes (implemented as Java threads).
Sched() - Constructor for class psimjava.Sched
 
schedat(double) - Method in class psimjava.Process
Schedules the called process at time 'timeat'.
schedule() - Static method in class psimjava.StaticSync
 
seed(long) - Method in class psimjava.Randint
This method sets the seed to set the random number stream
set_comm_flag(boolean) - Method in class psimjava.Process
Sets the communication flag to the specified truth value
set_comm_timer(Process, double, Waitq, boolean) - Method in class psimjava.Comm_timer
This function sets the communication timer
set_first() - Static method in class psimjava.StaticSync
 
set_flag(boolean) - Method in class psimjava.Suspend
 
set_prio(int) - Method in class psimjava.Pobject
 
set_state(int) - Method in class psimjava.Sched
 
setclock(double) - Static method in class psimjava.StaticSync
 
show_cur() - Method in class psimjava.Rsqueue
 
show_first() - Method in class psimjava.Rsqueue
 
show_next() - Method in class psimjava.Rsqueue
 
show_rchain() - Static method in class psimjava.StaticSync
 
show_susp() - Static method in class psimjava.StaticSync
 
Simulation - Class in psimjava
Class used by modeler (user) to set up and start a simulation run.
Simulation(String) - Constructor for class psimjava.Simulation
Contructor to initialize simulation.
Squeue - Class in psimjava
PsimJ Java package for Object Oriented simulation
Squeue(String, int) - Constructor for class psimjava.Squeue
Constructor for initialicing objects of simple queues with a specified name and capacity (number of objects).
Squeue(String) - Constructor for class psimjava.Squeue
Constructor for simple queue for initialicing queues with specified name.
start() - Method in class psimjava.Process
This method overides the start method in the Java Thread class It inserts the Process into the out queue and then starts the thread running It must be called to have the Process actually start running
start_sim(double) - Method in class psimjava.Simulation
Start a simulation run with the specified simulation period.
start_th(Process) - Method in class psimjava.Startlock
 
Startlock - Class in psimjava
PsimJ Java package for OO simulation Internal class used by the simulation executive.
Startlock() - Constructor for class psimjava.Startlock
 
StaticSync - Class in psimjava
PsimJ Java package for Object Oriented Simulation This class is part of the PsimJ simulation engine.
StaticSync() - Constructor for class psimjava.StaticSync
 
Suspend - Class in psimjava
Internal class in PsimJ.
Suspend() - Constructor for class psimjava.Suspend
 
suswait() - Method in class psimjava.Suspend
 

T

take(int) - Method in class psimjava.Bin
This method removes 'num' resource items from the Bin object pool, if there are sufficient items in the pool it returns normally.
terminate() - Method in class psimjava.Process
Terminates the called process (object).
this_process() - Static method in class psimjava.StaticSync
 

U

up_res_acq(Process, int) - Method in class psimjava.Rqueue
 
up_res_rel(Process, int) - Method in class psimjava.Rqueue
 
up_res_req(Process, int) - Method in class psimjava.Rqueue
 
Urand - Class in psimjava
Random number generator, Uniform distribution
Urand(long, long, long) - Constructor for class psimjava.Urand
Constructor for the random number generator with Uniform dist.
Urand(double, double, long) - Constructor for class psimjava.Urand
Constructor for random number generator with uniform dist using values of type double.
Urand(long, long) - Constructor for class psimjava.Urand
Constructor for random number generator with uniform dist using values of type long.
Urand(double, double) - Constructor for class psimjava.Urand
Constructor for random number generator with uniform dist using values of type double.

W

Waitq - Class in psimjava
PsimJ Java Object-oriented simulation package, process interaction approach.
Waitq(String, int) - Constructor for class psimjava.Waitq
Initializes a Waitq object with its mane and the maximum priority to use

A B C D E F G I J L M N O P Q R S T U W