samedi 14 novembre 2015

Monitoring values against conditions

I want to monitor constantly changing values against different conditions.

Example case:
Value: Location (changes every 5 seconds)
Condition: If location.near(Boston) do ...

It seems easy to do for one value and condition, but if there are multpile values and conditions I fear it will cripple the hardware because it will run on Android devices.

Is there a design pattern to help me with this?

enter image description here

Aucun commentaire:

Enregistrer un commentaire