I need someone to give me just hint of how to design an algorithm to the following problem:
Suppose you have three types of fax machine:
1. Super fax with the features: colored, high quality and double sided.
2. Colored fax with the features: colored and high quality but not double sided.
3. Old fax with the features: non-colored, low quality and double sided.
Requests come to central server to allocate appropriate fax depend on the type:
if the request have features: colored and high quality but not double sided. This request can be handled by Super fax or Colored fax.
The question here is:
I solve the request properties as Boolean fields. The question is How can I decide which available fax machine can handle my request?
I don't need the code itself, I just need the idea.