예제 #1
0
        private void saveposFeat()
        {
            double[] pData;
            fileWriter f = new fileWriter(null, "newPosfeature.csv");

            do
            {
                pData = posQ.Dequeue();

                if (pData != null)
                {
                    Console.Write(pData + ",");
                    f.WritefeatureSet(pData);
                }
            } while ((pData != null));

            //Console.Write("\n");
            f.closeFile();
        }
예제 #2
0
파일: features.cs 프로젝트: ecntrk/Haixiu
 private void writeFeatures()
 {
     fileWriter f = new fileWriter(null, "feature.csv");
         f.writeFeatures(feature);
         f.closeFile();
         if (globalVars.reducedRecord == true)
         {
             makeFeatureSet();
             fileWriter f1 = new fileWriter(null, "Shortfeature.csv");
             f1.WritefeatureSet(this.featureSet);
             f1.closeFile();
         }
 }