Which type of algorithms are applicable to scheduling resources in operating systems?