Investigate whether Damages
can work with only one type of 'graph'.
#647
Labels
architecture refactoring
Architectural changes to be addressed by the GAP team
enhancement
New feature or request
Milestone
Kind of request
Changing existing functionality
Enhancement Description
Currently we initialized damages with the
AnalysisInputWrapper
as well as theMultiGraph
fromanalysis_config.graph_files.base_graph_hazard.get_graph()
. This implies that within the classDamages
we have at the same time the "complex" and the "simplified" network / graph.We would like
Damages
to only work with either of them (if possible), therefore removing the need of the later introducedDamages.reference_base_graph_hazard: MultiGraph
, otherwise we should modify the (data)classAnalysisInputWrapper
so that it considers both "simplified' and "complex" network(s) (rename the existing ones and add the new ones).Ultimately we want to understand whether both simplified and complex graphs are needed, and if so then explicitly write it.
Use case
Constructors of analysis should only consume the
AnalysisInputWrapper
without needing extra arguments.Additional Context
This is an improvement of the existing code. This kind of issues are helping us understand how to better shape the creation and execution of all the different analyses (
AnalysisProtocol
).This is an investigation issue, in case of inconclusive results, we do not need to merge anything.
The text was updated successfully, but these errors were encountered: