Generalized nets in artificial intelligence. Volume 1