@article{6d02d24c-4019-4762-9c79-41b6ee7fa612, author = {Tomasz Wójtowicz}, title = {An Optimal Strategy of Resource Sharing in a Case of State-toggling Agents}, journal = {Schedae Informaticae}, volume = {2015}, number = {Volume 24}, year = {2016}, issn = {1732-3916}, pages = {211-220},keywords = {hard real-time systems; scheduling; shared resource; optimization; round-robin}, abstract = {This paper presents an optimal scheduling solution for a case of agents sharing a resource. The amount of resource can not satisfy all agents at once and in case of runout there is a penalty. Each agent randomly toggle its state between requiring and not requiring the resource. Using the knowledge of previous state and probability of change, the scheduling algorithm is able to calculate optimal number of concuring agents for one turn, that minimizes possibility of collision yet provides as much throughput as possible. Several different scheduling strategies are tested. The optimal solution adapts automatically to the value of probability of change. Further experiments show that optimality is retained if only the average probability of a set of agents is known. A case of practical application is provided.}, doi = {10.4467/20838476SI.16.018.4359}, url = {https://ejournals.eu/en/journal/schedae-informaticae/article/an-optimal-strategy-of-resource-sharing-in-a-case-of-state-toggling-agents} }