- Timestamp:
- 08/08/09 11:21:33 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/CedmaImporter/Importer.cs
r2263 r2265 120 120 SymbolicExpressionImporter sexpImporter = new SymbolicExpressionImporter(); 121 121 GeneticProgrammingModel model = new GeneticProgrammingModel(); 122 model.FunctionTree = sexpImporter.Import(File.OpenText(Path.Combine(dirName, modelFileName) + ".gp.txt")); 122 using (StreamReader reader = File.OpenText(Path.Combine(dirName, modelFileName) + ".gp.txt")) { 123 model.FunctionTree = sexpImporter.Import(reader); 124 } 123 125 return model; 124 126 }
Note: See TracChangeset
for help on using the changeset viewer.