On classes of min-max-plus systems and their applications