are analysed and algorithms that may be used to solve the problems are presented.