Package jline.api.sn
Class SnScheduleNominal
java.lang.Object
jline.api.sn.SnScheduleNominal
Port of MATLAB sn_schedule_nominal.m: width-weighted time-averaged (D0, D1) of a MAPt or
PHt slot of sn.proc, together with the schedule itself.
The Java slot is flat, [breakpoints, A_1..A_n, B_1..B_n, cyclic] (MATLAB holds {breakpoints, A, B, cyclic, segMark, segBatch}); for a PHt the pairs are (alpha, S) whose equivalent MAP pair is (S, s*alpha). The flat Java layout carries no mark/batch cells, so segMark and segBatch are returned empty.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classThe MATLAB outputs [D0bar, D1bar, breakpoints, segD0, segD1, cyclic, segMark, segBatch]. -
Method Summary
Modifier and TypeMethodDescriptionsnScheduleNominal(NetworkStruct sn, int ist, int r) snScheduleNominal(MatrixCell slot, boolean isMAPt) The same on a slot taken out of sn.proc.
-
Method Details
-
snScheduleNominal
public static SnScheduleNominal.SnScheduleNominalResult snScheduleNominal(NetworkStruct sn, int ist, int r) - Parameters:
sn- network structureist- station index (0-based)r- class index (0-based)- Returns:
- the nominal pair and the schedule segments
-
snScheduleNominal
public static SnScheduleNominal.SnScheduleNominalResult snScheduleNominal(MatrixCell slot, boolean isMAPt) The same on a slot taken out of sn.proc.- Parameters:
slot- flat MAPt/PHt slot, [breakpoints, A_1..A_n, B_1..B_n, cyclic]isMAPt- true for a MAPt slot (pairs are (D0,D1)), false for a PHt slot (pairs are (alpha,S))
-