|
GridSim v3.1beta |
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Sim_predicate | |
eduni.simjava | Classes that form the main simulation structure of SimJava . |
Uses of Sim_predicate in eduni.simjava |
Subclasses of Sim_predicate in eduni.simjava | |
class |
Sim_any_p
A predicate which will match any event on the deferred event queue. |
class |
Sim_from_p
A predicate which selects events from specific entities. |
class |
Sim_none_p
A predicate which will not match any event on the deferred event queue. |
class |
Sim_not_from_p
A predicate which selects events that have not been sent by specific entities. |
class |
Sim_not_type_p
A predicate to select events that don't match specific tags. |
class |
Sim_type_p
A predicate to select events with specific tags. |
Methods in eduni.simjava with parameters of type Sim_predicate | |
int |
Sim_entity.sim_waiting(Sim_predicate p)
Count how many events matching a predicate are waiting in the entity's deferred queue. |
void |
Sim_entity.sim_select(Sim_predicate p,
Sim_event ev)
Extract the first event matching a predicate waiting in the entity's deferred queue. |
int |
Sim_entity.sim_cancel(Sim_predicate p,
Sim_event ev)
Cancel the first event matching a predicate waiting in the entity's future queue. |
void |
Sim_entity.sim_get_next(Sim_predicate p,
Sim_event ev)
Get the first event matching a predicate from the deferred queue, or if none match, wait for a matching event to arrive. |
void |
Sim_entity.sim_process_until(Sim_predicate p,
Sim_event ev)
Set the entity to be active until it receives an event matching a specific predicate. |
double |
Sim_entity.sim_process_for(Sim_predicate p,
double delay,
Sim_event ev)
Set the entity to be active for a time period or until it is interrupted by the arrival of an event matching a predicate. |
void |
Sim_entity.sim_pause_until(Sim_predicate p,
Sim_event ev)
Set the entity to eb inactive until it receives an event matching a specific predicate. |
double |
Sim_entity.sim_pause_for(Sim_predicate p,
double delay,
Sim_event ev)
Set the entity to be inactive for a time period or until it is interrupted by the arrival of an event matching a predicate. |
void |
Sim_entity.sim_wait_for(Sim_predicate p,
Sim_event ev)
Wait for an event matching a specific predicate. |
double |
Sim_entity.sim_wait_for(Sim_predicate p,
double delay,
Sim_event ev)
Wait for an event matching a specific predicate to arrive or until a time period elapses. |
(package private) static void |
Sim_system.wait(int src,
Sim_predicate p)
|
(package private) static int |
Sim_system.waiting(int d,
Sim_predicate p)
|
(package private) static void |
Sim_system.select(int src,
Sim_predicate p)
|
(package private) static void |
Sim_system.cancel(int src,
Sim_predicate p)
|
|
GridSim v3.1beta |
||||||||||
PREV NEXT | FRAMES NO FRAMES |