Package mosp :: Package impl :: Module movement
[hide private]
[frames] | no frames]

Module movement

source code

Movement implementation code snippets


Author: B. Henne, F. Ludwig, P. Tute

Contact: henne@dcsec.uni-hannover.de

Copyright: (c) 2010-2011, DCSec, Leibniz Universitaet Hannover, Germany

License: GPLv3

Functions [hide private]
 
person_next_target_random(self)
Randomly finds a new next_node to move to.
source code
Variables [hide private]
  __package__ = None
hash(x)
Function Details [hide private]

person_next_target_random(self)

source code 

Randomly finds a new next_node to move to.

Ignores the last visited node, if possible without getting stuck. Does not set destination_node. Random movement only uses last_node and next_node of a Person.

Author: P. Tute