Package jline.solvers.mam.handlers
Class Solver_mam_traffic_mmap
java.lang.Object
jline.solvers.mam.handlers.Solver_mam_traffic_mmap
FJ-aware traffic solver extending solver_mam_traffic with mmap_max
synchronization at join points.
Port of matlab/src/solvers/MAM/solver_mam_traffic_mmap.m. DEP is indexed by node (ind, r) rather than by station.
-
Method Summary
Modifier and TypeMethodDescriptionstatic Map<Integer, MatrixCell> solver_mam_traffic_mmap(NetworkStruct sn, Map<Integer, Map<Integer, MatrixCell>> DEP, SolverOptions.Config config, SnBuildFjSyncMap.FjSyncMap fjSyncMap)
-
Method Details
-
solver_mam_traffic_mmap
public static Map<Integer,MatrixCell> solver_mam_traffic_mmap(NetworkStruct sn, Map<Integer, Map<Integer, MatrixCell>> DEP, SolverOptions.Config config, SnBuildFjSyncMap.FjSyncMap fjSyncMap) - Parameters:
sn- the network structDEP- departure processes, DEP.get(ind).get(r) in (D0,D1) formatconfig- solver configurationfjSyncMap- fork-join synchronization map- Returns:
- ARV.get(ind), the arrival MMAP at node ind (empty cell when none)
-