Algorithm 1 Algorithm for appliance scheduling |
Variables: : collection of requests : request where : theoretical appliance power consumption corresponding to request : total power consumption of accepted requests : maximum power consumption threshold Goal: Initialize the request set in descending order of heuristic value for all do if task is non-preemptive and operational then accept request remove request from end if end for for all do if and request is operational then accept request remove request from end if end for for all do if then accept request remove request from end if end for |