Hello, this is a restructuring of a previous post to make clearer my problem(the following exercise in fact). If you have some idea of how can I resolve this with an efficient way(saving bluetooth addresses as quickly as possible), please tell me,
thanks for all, IRobot.
Let S = {M1, M2, ..., Mn} a set of n mobiles with Bluetooth support, located inside a diameter of 10 meters, Mx, My ε S (x ╪ y). Develop a MIDlet who will run simultaneously on each mobile during 10 seconds, and its goal is to save the bluetooth address of the major part possible of the S complement respect the mobile the current MIDlet is running over, the main condition is that Mx save the bluetooth address of My if and only if My save the bluetooth address of Mx.
---------
[original exercise]
Sea S = {M1, M2, ..., Mn} un conjunto de n móviles con tecnología Bluetooth, ubicados todos en un diámetro menor a 10 metros, Mx, My ε S (x ╪ y). Implementar un MIDlet que se ejecutará simultáneamente en cada uno de los móviles durante un período de 10 segundos, cuyo objetivo final será guardar la dirección bluetooth de la mayor parte posible del complemento de S respecto al móvil donde se ejecuta dicho MIDlet, con la condición de que Mx guarda la dirección de My si y sólo si My guarda la dirección de Mx.

Reply With Quote

