Extraction of routes between ECUs does not take into account alternatives
Description
The extraction of routes using the method
org.fortiss.af3.exploration.util.RouteUtils.extractRoutes(SuperSetMap)
does not take into account alternatives between two ECUs in case there
are multiple connections with the same length/distance.
Given two ECUs connected by two buses (see attaches file project), all routes pass through one bus, not considering the possible alternative. This behavior interferes e.g. with the optimization of bus bandwidths as in the aforementioned case with two ECUs only one bus can be optimized while the other one is not considered.
Expected Behavior
If there are multiple routes between two ECUs, all of them shall be added to the collection to be returned. E.g. for a platform with two ECUs connected by two buses, the method shall return six routes (1-1, 1-2 (via bus 1), 2-1 (via bus 1), 2-2, (via bus 2), 2-1 (via bus 2)).
(from redmine: issue id 3768, created on 2019-07-05, closed on 2019-08-08)
- Uploads:
- AF3-Project.af3_23 Minimal AF3 project for testing