Changes

Jump to navigation Jump to search
609 bytes added ,  16:26, 1 December 2019
Line 247: Line 247:  
== OFF interpretation ==
 
== OFF interpretation ==
 
This section will describe how the Disk Of Five algorithm can be adapted to OFF.
 
This section will describe how the Disk Of Five algorithm can be adapted to OFF.
=== OFF Algorithm ===  
+
=== OFF DOF Algorithm ===  
 
OFF should follow the same algorithm as the Disk Of Five Algorithm:
 
OFF should follow the same algorithm as the Disk Of Five Algorithm:
 
* ''assign OFF product category'' - each product should have a product category assigned, otherwise the DOF can not work;
 
* ''assign OFF product category'' - each product should have a product category assigned, otherwise the DOF can not work;
* ''map product category to DOF categories'' - each OFF category should correspond to a DOF category. As there are only a limited number of DOF categories, this can fail. The product is then unrecognised with respect to DOF.
+
* ''map product category to DOF categories'' - it is attempted to map the OFF category to a DOF category:
 +
** ''success'' - the OFF category correspond to an existing DOF category. We can continue the analysis:
 +
*** ''assign DOF slice'' - determine in which slice the product belongs;
 +
*** ''assign DOF sub-slice'' - determine the subslice of the product;
 +
*** ''determine the level of the product'' - a product is either inside or outside DOF
 +
**** ''inside?'' - continue with the inside analysis
 +
***** limit intake
 +
***** does not match nutritional rquirements
 +
**** ''outside?''
 +
** ''no success'' - each OFF category should correspond to a DOF category. As there are only a limited number of DOF categories, this can fail. The product is then unrecognised with respect to DOF. It should get the label '''unrecognised DOF category'''.
    
== OFF Changes required ==
 
== OFF Changes required ==
3,393

edits

Navigation menu