View Javadoc

1   /*
2    * Created on 4-Jun-2005
3    */
4   package ca.spaz.cron.targets;
5   
6   import ca.spaz.cron.database.NutrientInfo;
7   import ca.spaz.cron.user.User;
8   
9   /***
10   * A Target Model can suggest targets for a User
11   * 
12   * This lets us add different expert systems that 
13   * suggest nutrient target values for a user,
14   * based on their parameters (age, weight, sex, etc...)
15   * 
16   * @author Aaron Davidson
17   */
18  public interface TargetModel {
19  
20     public double getTargetMinimum(User user, NutrientInfo ni);
21     public double getTargetMaximum(User user, NutrientInfo ni);   
22     
23  }