Algorithm Diagram to Find Rules from Sample Rule Database.
Wrong Set t=1 week Set x = first day Database Rules Repeat comparing the data with the rule patterns taken from the database (starting from x ) (t weeks/all weeks taken) Count duplicates with 10%-20% error. Wrong If t> 5 weeks correct Repeat with x< x +numberofdays(t) correct Call the ...

