Implementation of two algorithms solving replicas location strategy problem