Index of all Fields and Methods
All Packages  Class Hierarchy

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Index of all Fields and Methods

A

add(Sim_entity). Static method in class eduni.simjava.Sim_system
Add a new entity to the simulation, before it starts.
add(Sim_entity). Static method in class eduni.simjava.Sim_system
Add a new entity to the simulation, before it starts.
add(Sim_event). Method in class eduni.simjava.Evqueue
Add a new event to the queue, preserving the temporal order of the events in the queue.
add(Sim_event). Method in class eduni.simjava.Evqueue
Add a new event to the queue, preserving the temporal order of the events in the queue.
add_entity_dynamically(Sim_entity). Static method in class eduni.simjava.Sim_system
Add a new entity to the simulation, when the simulation is running.
add_entity_dynamically(Sim_entity). Static method in class eduni.simjava.Sim_system
Add a new entity to the simulation, when the simulation is running.
add_param(Anim_param). Method in class eduni.simjava.Sim_entity
Add a parameter to this entity.
add_param(Anim_param). Method in class eduni.simjava.Sim_entity
Add a parameter to this entity.
add_port(Sim_port). Method in class eduni.simjava.Sim_entity
Add a port to this entity.
add_port(Sim_port). Method in class eduni.simjava.Sim_entity
Add a port to this entity.
avg(). Method in class eduni.simjava.Sim_accum
Calculates the average value held over the total interval recorded.
avg(). Method in class eduni.simjava.Sim_accum
Calculates the average value held over the total interval recorded.

B

body(). Method in class eduni.simjava.Sim_entity
The method which defines the behavior of the entity.
body(). Method in class eduni.simjava.Sim_entity
The method which defines the behavior of the entity.

C

clock(). Static method in class eduni.simjava.Sim_system
Get the current simulation time.
clock(). Static method in class eduni.simjava.Sim_system
Get the current simulation time.
clone(). Method in class eduni.simjava.Sim_event
Create an exact copy of this event.
clone(). Method in class eduni.simjava.Sim_event
Create an exact copy of this event.
close(). Method in class eduni.simjava.Sim_outfile
Closes the file
close(). Method in class eduni.simjava.Sim_outfile
Closes the file
close(). Method in interface eduni.simjava.Sim_output
Called by the Sim_system at the end of the simulation.
close(). Method in interface eduni.simjava.Sim_output
Called by the Sim_system at the end of the simulation.
current_ent(). Static method in class eduni.simjava.Sim_system
Find the currently running entity.
current_ent(). Static method in class eduni.simjava.Sim_system
Find the currently running entity.

E

event_time(). Method in class eduni.simjava.Sim_event
Get the simulation time that this event was scheduled.
event_time(). Method in class eduni.simjava.Sim_event
Get the simulation time that this event was scheduled.
Evqueue(). Constructor for class eduni.simjava.Evqueue
Allocates a new Evqueue object.
Evqueue(). Constructor for class eduni.simjava.Evqueue
Allocates a new Evqueue object.
Evqueue(int). Constructor for class eduni.simjava.Evqueue
Allocates a new Evqueue object, with an initial capacity.
Evqueue(int). Constructor for class eduni.simjava.Evqueue
Allocates a new Evqueue object, with an initial capacity.

F

from_port(Sim_port). Method in class eduni.simjava.Sim_event
Determine if the event was sent from a given port.
from_port(Sim_port). Method in class eduni.simjava.Sim_event
Determine if the event was sent from a given port.

G

get_data(). Method in class eduni.simjava.Sim_event
Get the data passed in this event.
get_data(). Method in class eduni.simjava.Sim_event
Get the data passed in this event.
get_dest(). Method in class eduni.simjava.Sim_event
Get the unique id number of the entity which recieved this event.
get_dest(). Method in class eduni.simjava.Sim_event
Get the unique id number of the entity which recieved this event.
get_dest(). Method in class eduni.simjava.Sim_port
Get the unique id number of the destination entity of this port.
get_dest(). Method in class eduni.simjava.Sim_port
Get the unique id number of the destination entity of this port.
get_dest_ename(). Method in class eduni.simjava.Sim_port
Get the name of the destination entity of this port.
get_dest_ename(). Method in class eduni.simjava.Sim_port
Get the name of the destination entity of this port.
get_entity(int). Static method in class eduni.simjava.Sim_system
Find an entity by its id number.
get_entity(int). Static method in class eduni.simjava.Sim_system
Find an entity by its id number.
get_entity(String). Static method in class eduni.simjava.Sim_system
Find an entity by its name.
get_entity(String). Static method in class eduni.simjava.Sim_system
Find an entity by its name.
get_entity_id(String). Static method in class eduni.simjava.Sim_system
Find out an entities unique id number from its name.
get_entity_id(String). Static method in class eduni.simjava.Sim_system
Find out an entities unique id number from its name.
get_id(). Method in class eduni.simjava.Sim_entity
Get the unique id number assigned to this entity
get_id(). Method in class eduni.simjava.Sim_entity
Get the unique id number assigned to this entity
get_name(). Method in class eduni.simjava.Sim_entity
Get the name of this entity
get_name(). Method in class eduni.simjava.Sim_entity
Get the name of this entity
get_num_entities(). Static method in class eduni.simjava.Sim_system
Get the current number of entities in the simulation
get_num_entities(). Static method in class eduni.simjava.Sim_system
Get the current number of entities in the simulation
get_pname(). Method in class eduni.simjava.Sim_port
Get the name of this port.
get_pname(). Method in class eduni.simjava.Sim_port
Get the name of this port.
get_port(Sim_event). Method in class eduni.simjava.Sim_entity
Search through this entity's ports, for the one which sent this event.
get_port(Sim_event). Method in class eduni.simjava.Sim_entity
Search through this entity's ports, for the one which sent this event.
get_port(String). Method in class eduni.simjava.Sim_entity
Search through this entity's ports, for one called name.
get_port(String). Method in class eduni.simjava.Sim_entity
Search through this entity's ports, for one called name.
get_src(). Method in class eduni.simjava.Sim_event
Get the unique id number of the entity which scheduled this event.
get_src(). Method in class eduni.simjava.Sim_event
Get the unique id number of the entity which scheduled this event.
get_src(). Method in class eduni.simjava.Sim_port
Get the unique id number of the source entity of this port.
get_src(). Method in class eduni.simjava.Sim_port
Get the unique id number of the source entity of this port.
get_tag(). Method in class eduni.simjava.Sim_event
Get the user-defined tag in this event.
get_tag(). Method in class eduni.simjava.Sim_event
Get the user-defined tag in this event.
get_trc_level(). Static method in class eduni.simjava.Sim_system
Get the current trace level (initially 0xff), which control trace output.
get_trc_level(). Static method in class eduni.simjava.Sim_system
Get the current trace level (initially 0xff), which control trace output.

I

initialise(). Method in class eduni.simjava.Sim_outfile
Attempts to open the file
initialise(). Method in class eduni.simjava.Sim_outfile
Attempts to open the file
initialise(). Method in interface eduni.simjava.Sim_output
Called by the Sim_system before the start of the simulation.
initialise(). Method in interface eduni.simjava.Sim_output
Called by the Sim_system before the start of the simulation.
initialise(). Static method in class eduni.simjava.Sim_system
Initialise the system, this function does the job of a constructor, and should be called at the start of any simulation program.
initialise(). Static method in class eduni.simjava.Sim_system
Initialise the system, this function does the job of a constructor, and should be called at the start of any simulation program.
initialise(Sim_anim, Thread). Static method in class eduni.simjava.Sim_system
This version of intialise() is used by the standard animation package eduni.simanim
initialise(Sim_anim, Thread). Static method in class eduni.simjava.Sim_system
This version of intialise() is used by the standard animation package eduni.simanim
initialise(Sim_output, Thread). Static method in class eduni.simjava.Sim_system
This version of initialise() is for experienced users who want to use the trace output to draw a graph or an animation as part of the application.
initialise(Sim_output, Thread). Static method in class eduni.simjava.Sim_system
This version of initialise() is for experienced users who want to use the trace output to draw a graph or an animation as part of the application.
interval_sum(). Method in class eduni.simjava.Sim_accum
Sums all the intervals recorded so far.
interval_sum(). Method in class eduni.simjava.Sim_accum
Sums all the intervals recorded so far.

L

link_ports(String, String, String, String). Static method in class eduni.simjava.Sim_system
Link the ports the ports on two entities, so that events secheduled from one port are sent to the other.
link_ports(String, String, String, String). Static method in class eduni.simjava.Sim_system
Link the ports the ports on two entities, so that events secheduled from one port are sent to the other.

M

match(Sim_event). Method in class eduni.simjava.Sim_any_p
The match function called by Sim_system.sim_select(), not used directly by the user
match(Sim_event). Method in class eduni.simjava.Sim_any_p
The match function called by Sim_system.sim_select(), not used directly by the user
match(Sim_event). Method in class eduni.simjava.Sim_from_p
The match function called by Sim_system.sim_select(), not used directly by the user.
match(Sim_event). Method in class eduni.simjava.Sim_from_p
The match function called by Sim_system.sim_select(), not used directly by the user.
match(Sim_event). Method in class eduni.simjava.Sim_none_p
The match function called by Sim_system.sim_select(), not used directly by the user
match(Sim_event). Method in class eduni.simjava.Sim_none_p
The match function called by Sim_system.sim_select(), not used directly by the user
match(Sim_event). Method in class eduni.simjava.Sim_predicate
The match function which must be overidden when writing a new predicate.
match(Sim_event). Method in class eduni.simjava.Sim_predicate
The match function which must be overidden when writing a new predicate.
match(Sim_event). Method in class eduni.simjava.Sim_type_p
The match function called by Sim_system.sim_select(), not used directly by the user
match(Sim_event). Method in class eduni.simjava.Sim_type_p
The match function called by Sim_system.sim_select(), not used directly by the user
max(). Method in class eduni.simjava.Sim_accum
Find the maximum value recorded so far
max(). Method in class eduni.simjava.Sim_accum
Find the maximum value recorded so far
min(). Method in class eduni.simjava.Sim_accum
Find the minimum value recorded so far
min(). Method in class eduni.simjava.Sim_accum
Find the minimum value recorded so far

P

p(). Method in class eduni.simjava.Semaphore
Try to obtain the Semaphore.
p(). Method in class eduni.simjava.Semaphore
Try to obtain the Semaphore.
pop(). Method in class eduni.simjava.Evqueue
Remove and return the event at the top of the queue.
pop(). Method in class eduni.simjava.Evqueue
Remove and return the event at the top of the queue.
println(String). Method in class eduni.simjava.Sim_outfile
Prints a trace line to the file
println(String). Method in class eduni.simjava.Sim_outfile
Prints a trace line to the file
println(String). Method in interface eduni.simjava.Sim_output
Called by the Sim_system to output a trace line.
println(String). Method in interface eduni.simjava.Sim_output
Called by the Sim_system to output a trace line.

R

run(). Method in class eduni.simjava.Sim_entity
Internal method - don't overide
run(). Method in class eduni.simjava.Sim_entity
Internal method - don't overide
run(). Static method in class eduni.simjava.Sim_system
Start the simulation running.
run(). Static method in class eduni.simjava.Sim_system
Start the simulation running.

S

sample(). Method in class eduni.simjava.Sim_normal_obj
Generate a new random number.
sample(). Method in class eduni.simjava.Sim_normal_obj
Generate a new random number.
sample(). Method in class eduni.simjava.Sim_uniform_obj
Generate a new random number.
sample(). Method in class eduni.simjava.Sim_uniform_obj
Generate a new random number.
scheduled_by(). Method in class eduni.simjava.Sim_event
Get the unique id number of the entity which scheduled this event.
scheduled_by(). Method in class eduni.simjava.Sim_event
Get the unique id number of the entity which scheduled this event.
Semaphore(). Constructor for class eduni.simjava.Semaphore
Allocate a new Semaphore object, with an initial count of zero.
Semaphore(). Constructor for class eduni.simjava.Semaphore
Allocate a new Semaphore object, with an initial count of zero.
Semaphore(int). Constructor for class eduni.simjava.Semaphore
Allocates a new Semaphore object, with a given initial count.
Semaphore(int). Constructor for class eduni.simjava.Semaphore
Allocates a new Semaphore object, with a given initial count.
send_on(Sim_event, Sim_port). Method in class eduni.simjava.Sim_entity
Send on an event to an other entity, through a port.
send_on(Sim_event, Sim_port). Method in class eduni.simjava.Sim_entity
Send on an event to an other entity, through a port.
set_auto_trace(boolean). Static method in class eduni.simjava.Sim_system
Switch the auto trace messages on and off.
set_auto_trace(boolean). Static method in class eduni.simjava.Sim_system
Switch the auto trace messages on and off.
set_dest(int). Method in class eduni.simjava.Sim_event
Set the destination entity of this event.
set_dest(int). Method in class eduni.simjava.Sim_event
Set the destination entity of this event.
set_src(int). Method in class eduni.simjava.Sim_event
Set the source entity of this event.
set_src(int). Method in class eduni.simjava.Sim_event
Set the source entity of this event.
set_trc_level(int). Static method in class eduni.simjava.Sim_system
Set the trace level flags which control trace output.
set_trc_level(int). Static method in class eduni.simjava.Sim_system
Set the trace level flags which control trace output.
Sim_accum(). Constructor for class eduni.simjava.Sim_accum
Constructor.
Sim_accum(). Constructor for class eduni.simjava.Sim_accum
Constructor.
Sim_accum(String). Constructor for class eduni.simjava.Sim_accum
Constructor, with name for SIM++ compatability.
Sim_accum(String). Constructor for class eduni.simjava.Sim_accum
Constructor, with name for SIM++ compatability.
SIM_ANY. Static variable in class eduni.simjava.Sim_system
A standard predicate that matches any event.
SIM_ANY. Static variable in class eduni.simjava.Sim_system
A standard predicate that matches any event.
Sim_any_p(). Constructor for class eduni.simjava.Sim_any_p
Constructor.
Sim_any_p(). Constructor for class eduni.simjava.Sim_any_p
Constructor.
sim_clock(). Static method in class eduni.simjava.Sim_system
A different name for Sim_system.clock().
sim_clock(). Static method in class eduni.simjava.Sim_system
A different name for Sim_system.clock().
sim_current(). Method in class eduni.simjava.Sim_entity
Get the id of the currently running entity
sim_current(). Method in class eduni.simjava.Sim_entity
Get the id of the currently running entity
Sim_entity(String). Constructor for class eduni.simjava.Sim_entity
The standard constructor.
Sim_entity(String). Constructor for class eduni.simjava.Sim_entity
The standard constructor.
Sim_entity(String, String, int, int). Constructor for class eduni.simjava.Sim_entity
The constructor for use with the eduni.simanim animation package.
Sim_entity(String, String, int, int). Constructor for class eduni.simjava.Sim_entity
The constructor for use with the eduni.simanim animation package.
Sim_event(). Constructor for class eduni.simjava.Sim_event
Contructor, create a blank event.
Sim_event(). Constructor for class eduni.simjava.Sim_event
Contructor, create a blank event.
Sim_from_p(int). Constructor for class eduni.simjava.Sim_from_p
Constructor.
Sim_from_p(int). Constructor for class eduni.simjava.Sim_from_p
Constructor.
sim_get_next(Sim_event). Method in class eduni.simjava.Sim_entity
Get the first event from the deferred queue waiting on the entity, or, if there are none, wait for an event to arrive.
sim_get_next(Sim_event). Method in class eduni.simjava.Sim_entity
Get the first event from the deferred queue waiting on the entity, or, if there are none, wait for an event to arrive.
sim_get_next(Sim_predicate, Sim_event). Method in class eduni.simjava.Sim_entity
Get the first event matching a predicate from the deferred queue, or, if none match, wait for a matching event to arrive.
sim_get_next(Sim_predicate, Sim_event). Method in class eduni.simjava.Sim_entity
Get the first event matching a predicate from the deferred queue, or, if none match, wait for a matching event to arrive.
sim_hold(double). Method in class eduni.simjava.Sim_entity
Causes the entity to hold for delay units of simulation time.
sim_hold(double). Method in class eduni.simjava.Sim_entity
Causes the entity to hold for delay units of simulation time.
SIM_NONE. Static variable in class eduni.simjava.Sim_system
A standard predicate that does not match any events.
SIM_NONE. Static variable in class eduni.simjava.Sim_system
A standard predicate that does not match any events.
Sim_none_p(). Constructor for class eduni.simjava.Sim_none_p
Constructor.
Sim_none_p(). Constructor for class eduni.simjava.Sim_none_p
Constructor.
Sim_normal_obj(String, double, double, int). Constructor for class eduni.simjava.Sim_normal_obj
The constructor.
Sim_normal_obj(String, double, double, int). Constructor for class eduni.simjava.Sim_normal_obj
The constructor.
Sim_outfile(). Constructor for class eduni.simjava.Sim_outfile
Constructor
Sim_outfile(). Constructor for class eduni.simjava.Sim_outfile
Constructor
Sim_port(String). Constructor for class eduni.simjava.Sim_port
Constructor, for stand-alone simulations.
Sim_port(String). Constructor for class eduni.simjava.Sim_port
Constructor, for stand-alone simulations.
Sim_port(String, String, int, int). Constructor for class eduni.simjava.Sim_port
Constructor for use with the eduni.simanim package for animations.
Sim_port(String, String, int, int). Constructor for class eduni.simjava.Sim_port
Constructor for use with the eduni.simanim package for animations.
Sim_predicate(). Constructor for class eduni.simjava.Sim_predicate
Sim_predicate(). Constructor for class eduni.simjava.Sim_predicate
sim_putback(Sim_event). Method in class eduni.simjava.Sim_entity
Put an event back on the defered queue.
sim_putback(Sim_event). Method in class eduni.simjava.Sim_entity
Put an event back on the defered queue.
sim_schedule(int, double, int). Method in class eduni.simjava.Sim_entity
Send an event to another entity, by id number and with no data.
sim_schedule(int, double, int). Method in class eduni.simjava.Sim_entity
Send an event to another entity, by id number and with no data.
sim_schedule(int, double, int, Object). Method in class eduni.simjava.Sim_entity
Send an event to another entity, by id number with data.
sim_schedule(int, double, int, Object). Method in class eduni.simjava.Sim_entity
Send an event to another entity, by id number with data.
sim_schedule(Sim_port, double, int). Method in class eduni.simjava.Sim_entity
Send an event to another entity, by a port reference with no data.
sim_schedule(Sim_port, double, int). Method in class eduni.simjava.Sim_entity
Send an event to another entity, by a port reference with no data.
sim_schedule(Sim_port, double, int, Object). Method in class eduni.simjava.Sim_entity
Send an event to another entity, by a port reference with data.
sim_schedule(Sim_port, double, int, Object). Method in class eduni.simjava.Sim_entity
Send an event to another entity, by a port reference with data.
sim_schedule(String, double, int). Method in class eduni.simjava.Sim_entity
Send an event to another entity, by a port name with no data.
sim_schedule(String, double, int). Method in class eduni.simjava.Sim_entity
Send an event to another entity, by a port name with no data.
sim_schedule(String, double, int, Object). Method in class eduni.simjava.Sim_entity
Send an event to another entity, by a port name with data.
sim_schedule(String, double, int, Object). Method in class eduni.simjava.Sim_entity
Send an event to another entity, by a port name with data.
sim_select(Sim_predicate, Sim_event). Method in class eduni.simjava.Sim_entity
Extract the first event waiting for this entity on the deferred queue, matched by the predicate p.
sim_select(Sim_predicate, Sim_event). Method in class eduni.simjava.Sim_entity
Extract the first event waiting for this entity on the deferred queue, matched by the predicate p.
Sim_system(). Constructor for class eduni.simjava.Sim_system
Sim_system(). Constructor for class eduni.simjava.Sim_system
sim_trace(int, String). Method in class eduni.simjava.Sim_entity
Write a trace message.
sim_trace(int, String). Method in class eduni.simjava.Sim_entity
Write a trace message.
Sim_type_p(int). Constructor for class eduni.simjava.Sim_type_p
Constructor.
Sim_type_p(int). Constructor for class eduni.simjava.Sim_type_p
Constructor.
Sim_type_p(int, int). Constructor for class eduni.simjava.Sim_type_p
Constructor.
Sim_type_p(int, int). Constructor for class eduni.simjava.Sim_type_p
Constructor.
Sim_type_p(int, int, int). Constructor for class eduni.simjava.Sim_type_p
Constructor.
Sim_type_p(int, int, int). Constructor for class eduni.simjava.Sim_type_p
Constructor.
Sim_uniform_obj(String, double, double, int). Constructor for class eduni.simjava.Sim_uniform_obj
The constructor.
Sim_uniform_obj(String, double, double, int). Constructor for class eduni.simjava.Sim_uniform_obj
The constructor.
sim_wait(Sim_event). Method in class eduni.simjava.Sim_entity
Hold until the entity recieves an event.
sim_wait(Sim_event). Method in class eduni.simjava.Sim_entity
Hold until the entity recieves an event.
sim_wait_for(Sim_predicate, Sim_event). Method in class eduni.simjava.Sim_entity
Repeatedly sim_wait() until the entity receives an event matched by a predicate, all other received events are discarded.
sim_wait_for(Sim_predicate, Sim_event). Method in class eduni.simjava.Sim_entity
Repeatedly sim_wait() until the entity receives an event matched by a predicate, all other received events are discarded.
sim_waiting(). Method in class eduni.simjava.Sim_entity
Count how many events are waiting of this entity on the deferred queue
sim_waiting(). Method in class eduni.simjava.Sim_entity
Count how many events are waiting of this entity on the deferred queue
sim_waiting(Sim_predicate). Method in class eduni.simjava.Sim_entity
Count how many events matching a predicate are waiting for this entity on the deferred queue.
sim_waiting(Sim_predicate). Method in class eduni.simjava.Sim_entity
Count how many events matching a predicate are waiting for this entity on the deferred queue.

T

top(). Method in class eduni.simjava.Evqueue
Return the event at the top of the queue, without removing it.
top(). Method in class eduni.simjava.Evqueue
Return the event at the top of the queue, without removing it.
type(). Method in class eduni.simjava.Sim_event
Get the user-defined tag in this event
type(). Method in class eduni.simjava.Sim_event
Get the user-defined tag in this event

U

update(double, double). Method in class eduni.simjava.Sim_accum
Add a new record to the statistics collected so far.
update(double, double). Method in class eduni.simjava.Sim_accum
Add a new record to the statistics collected so far.

V

v(). Method in class eduni.simjava.Semaphore
Free the Semaphore, by incrementing the internal count.
v(). Method in class eduni.simjava.Semaphore
Free the Semaphore, by incrementing the internal count.