Package es.urjc.etsii.grafo.bmssc.model
Class BMSSCInstanceImporter
java.lang.Object
es.urjc.etsii.grafo.io.InstanceImporter<BMSSCInstance>
es.urjc.etsii.grafo.bmssc.model.BMSSCInstanceImporter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionimportInstance(BufferedReader reader, String filename) Create an instance from the format used by the problem.Methods inherited from class es.urjc.etsii.grafo.io.InstanceImporter
importInstance
-
Constructor Details
-
BMSSCInstanceImporter
public BMSSCInstanceImporter()
-
-
Method Details
-
importInstance
Description copied from class:InstanceImporterCreate an instance from the format used by the problem. After this method finishes executing, the Instance object MUST BE IMMUTABLE.- Specified by:
importInstancein classInstanceImporter<BMSSCInstance>- Parameters:
reader- Input buffer, managed by the frameworkfilename- Filename on disk- Returns:
- The instance object that represents this object
- Throws:
IOException- If an error is encountered while the instance is being parsed
-