Skip to main content

Table 2 Member functions of an LP agent base class

From: An agent-based framework for performance modeling of an optimistic parallel discrete event simulator

process_causal_event()

Member function to process causal event

process_noncausal_event()

Member function to process noncausal event

process_rollback_event()

Member function to process rollback event

generate_event(agent-list)

Generate new events for the thread of currently processing event in each of the agents in agent-list

create_neighbor_list ()

Returns a agent-list which is a subset of neighbors

simulate()

Member function called at every tick of wall-clock time

get_busy_time()

Returns the time needed to process the current event. Depends on the type of event, current processor load and processor speed

compute_node_weight()

Computes node weight

compute_edge_weight()

Computes the weight of edges with all its neighbors