Exemple #1
0
        private static void _RunSumTool(string[] args)
        {
            if (args.Count() < 4)
            {
                Console.WriteLine(">DfsUtils Sum file1.dfsu file2.dfsu outfile.dfsu");
                throw new ArgumentException("Sum needs 3 arguments");
            }
            var file1   = args[1];
            var file2   = args[2];
            var outfile = args[3];

            var adder = new DfsAdd();

            adder.Run(file1, file2, outfile);
        }
Exemple #2
0
        public void Run(string inputfile1, string inputfile2, string outputfile)
        {
            var tool = new DfsAdd();

            tool.Run(inputfile1, inputfile2, 1.0, -1.0, outputfile);
        }