delphyne
|
A behaviour tree for agent-based simulations using Delphyne.
Public Member Functions | |
def | __init__ (self, *root) |
def | setup (self, realtime_rate, start_paused, time_step=0.01, log=False, logfile_name='', **kwargs) |
def | step (self, period) |
def | tick_tock (self, period, number_of_iterations=CONTINUOUS_TICK_TOCK, pre_tick_handler=None, post_tick_handler=None) |
Public Attributes | |
runner | |
interrupt_tick_tocking | |
def __init__ | ( | self, | |
* | root | ||
) |
def setup | ( | self, | |
realtime_rate, | |||
start_paused, | |||
time_step = 0.01 , |
|||
log = False , |
|||
logfile_name = '' , |
|||
** | kwargs | ||
) |
Setup a Delphyne behaviour tree for agent based simulation. :param realtime_rate: :param start_paused: :param time_step: :param log: :param logfile_name:
def step | ( | self, | |
period | |||
) |
Step simulation forward in time. :param period: in seconds.
def tick_tock | ( | self, | |
period, | |||
number_of_iterations = CONTINUOUS_TICK_TOCK , |
|||
pre_tick_handler = None , |
|||
post_tick_handler = None |
|||
) |
interrupt_tick_tocking |
runner |