symupy.plugins.reader package¶
Submodules¶
symupy.plugins.reader.loader module¶
- symupy.plugins.reader.loader.add_dir_to_plugin(folder)[source]¶
Add dir folder to READER_PLUGIN_DIRS.
- Parameters
folder (str) – Path to dir to add.
- symupy.plugins.reader.loader.get_all_readers()[source]¶
Parse all python file in READER_PLUGIN_DIRS to get plugin classes.
- Returns
Return dict with input and output reader classes.
- Return type
dict
symupy.plugins.reader.symuflow module¶
- class symupy.plugins.reader.symuflow.SymuFlowNetworkReader(file, remove_comments=True)[source]¶
Bases:
symupy.abstractions.reader.AbstractNetworkReader
Short summary.
- Parameters
file (type) – Description of parameter file.
remove_comments (type) – Description of parameter remove_comments.
- _file¶
Description of attribute _file.
- Type
type
- _parser¶
Description of attribute _parser.
- Type
type
- _prefix¶
Description of attribute _prefix.
- Type
type
- _id¶
Description of attribute _id.
- Type
type
- _ext¶
Description of attribute _ext.
- Type
type
- class symupy.plugins.reader.symuflow.SymuFlowTrafficDataReader(traficdatafile, lru_cache_size=None)[source]¶
Bases:
symupy.abstractions.reader.AbstractTrafficDataReader
Reader for output of SymuFlow simulation.
- Parameters
traficdatafile (str) – Path to the SymuFlow output xml file.
lru_cache_size (int) – Description of parameter lru_cache_size.
- _file¶
Description of attribute _file.
- Type
type
- parser¶
Description of attribute parser.
- Type
type
- _inst¶
Description of attribute _inst.
- Type
type
- _vehs¶
Description of attribute _vehs.
- Type
type
- _ext¶
Description of attribute _ext.
- Type
type