pyrobopath.scheduling.schedule.MultiAgentSchedule#

class pyrobopath.scheduling.schedule.MultiAgentSchedule[source]#

Bases: object

Methods

add_agent

add_agents

add_event

add_events

add_schedule

agents

duration

The duration of the combined schedule

end_time

first_finished

Returns the agent belonging to the schedule that finishes first

first_started

Returns the agent belonging to the schedule that finishes first

last_finished

Returns the agent belonging to the schedule that finishes last

last_started

Returns the agent belonging to the schedule that finishes last

merge

n_agents

The number of agents with schedules

n_events

The number of events from all schedules

offset

slice

Returns a new multi-agent schedule with the schedules for each agent filtered with events that end after t_start and start before t_end

start_time

duration()[source]#

The duration of the combined schedule

first_finished()[source]#

Returns the agent belonging to the schedule that finishes first

first_started()[source]#

Returns the agent belonging to the schedule that finishes first

last_finished()[source]#

Returns the agent belonging to the schedule that finishes last

last_started()[source]#

Returns the agent belonging to the schedule that finishes last

n_agents()[source]#

The number of agents with schedules

n_events()[source]#

The number of events from all schedules

slice(t_start, t_end) MultiAgentSchedule[source]#

Returns a new multi-agent schedule with the schedules for each agent filtered with events that end after t_start and start before t_end