file module¶
Defines the loader’s implementation to load problem instances from files.
-
class
jinete.loaders.file.FileLoader(file_path, *args, **kwargs)[source]¶ Bases:
jinete.loaders.abc.LoaderLoad a problem instance from a file and build the needed class hierarchy to generate solutions.
-
__init__(file_path, *args, **kwargs)[source]¶ Construct a new instance.
- Parameters
file_path (
pathlib.Path) – The path to load the problem instance.args – Additional positional arguments.
kwargs – Additional named arguments.
-
fleet¶ Retrieve the fleet object for the current on load instance.
- Returns
A surface instance from the loaded instance.
-
job¶ Retrieve the job object for the current on load instance.
- Returns
A surface instance from the loaded instance.
-
surface¶ Retrieve the surface object for the current on load instance.
- Returns
A surface instance from the loaded instance.
-