Algorithm1Cosine RequireFVSEnsureanestimateofViforeachviewanestimateofWfiforeachfactforallVi2VdofInitializationgVi jffjjVifjTgjjffjjVifjFgj jffjjVifj2Sgjendforforallfj2FdoW ID: 331846
Algorithm1Cosine Require:F;V;SEnsure:anestimateof"(Vi)foreachview anestimateofW(fi)foreachfactforallVi2VdofInitializationg("(Vi))