Generalized nets in neurology