Commit a8f5ee8f authored by Svetlana Pavlitskaya's avatar Svetlana Pavlitskaya
Browse files

simplified Generator interface

parent ce5f65e0
Pipeline #71335 passed with stages
in 7 minutes and 35 seconds
......@@ -21,9 +21,7 @@
package de.monticore.lang.monticar.cnntrain;
import de.monticore.lang.monticar.cnntrain._symboltable.ConfigurationSymbol;
import de.monticore.symboltable.Scope;
import java.io.IOException;
import java.nio.file.Path;
import java.util.Map;
......@@ -37,13 +35,10 @@ public interface CNNTrainGenerator {
void setGenerationTargetPath(String generationTargetPath);
void generate(Path modelsDirPath, String rootModelNames);
void generate(Scope scope, String rootModelName);
ConfigurationSymbol getConfigurationSymbol(Path modelsDirPath, String rootModelName);
//check cocos with CNNTrainCocos.checkAll(configuration) before calling this method.
void generateFile(ConfigurationSymbol configuration) throws IOException;
void generate(Path modelsDirPath, String rootModelNames);
//check cocos with CNNTrainCocos.checkAll(configuration) before calling this method.
Map<String, String> generateStrings(ConfigurationSymbol configuration);
}
}
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment