Package jline.inference.api
Class Sn_set_service_cocKt
-
- All Implemented Interfaces:
public final class Sn_set_service_cocKt
-
-
Method Summary
Modifier and Type Method Description final static Unitsn_set_service_coc(NetworkStruct sn, Integer stationIdx, Integer classIdx, Double rate, Double scv)Update service rate in NetworkStruct preserving Map-based format. -
-
Method Detail
-
sn_set_service_coc
final static Unit sn_set_service_coc(NetworkStruct sn, Integer stationIdx, Integer classIdx, Double rate, Double scv)
Update service rate in NetworkStruct preserving Map-based format.
Works like sn_set_service with autoRefresh=true, but writes mu, phi, proc, pie using Map-based indexing. This avoids breaking solvers that expect the standard NetworkStruct format.
- Parameters:
sn- NetworkStruct to update (modified in-place)stationIdx- station index (0-based)classIdx- class index (0-based)rate- new service rate (positive scalar)scv- squared coefficient of variation (default 1.
-
-
-
-