static void CompileFcToIp(string sourcePath) { CompileFcToQd(sourcePath); var implementationPlan = new Plan(Opertaions, QDeterminant); if (countNode > 0) { implementationPlan.OptimizeForMaxEffective(countNode); } var IPConverter = Manufactory.CreateImplementationPlanConverter(ConverterTypes.JSON); IPConverter.SetBlocks(implementationPlan.GetVertexGraph()); IPConverter.SetLinks(implementationPlan.GetEdgesGraph()); Console.WriteLine("Save IP"); IPConverter.SaveToFile(Path.GetDirectoryName(sourcePath) + @"\ImplementationPlan.ip"); }