Package jline.api.sn

Class SnHasClassdepRouting

java.lang.Object
jline.api.sn.SnHasClassdepRouting

public final class SnHasClassdepRouting extends Object
Detects routing that is not identical across job classes.

Returns true when the routing probabilities differ between classes, either because a class switches class on a hop or because two classes leave the same station with different probabilities. False for a single-class model and for a multiclass model in which every class traverses the network identically.

This is the condition under which per-class visit ratios diverge, so a method that aggregates classes into a per-chain demand vector stops being exact. Used to gate Marie's aggregation-decomposition in SolverMVA.

sn.rt is indexed station-major, (i-1)*K+r. Ported from matlab/src/api/sn/sn_has_classdep_routing.m.

Since:
LINE 3.0
  • Method Details

    • snHasClassdepRouting

      public static boolean snHasClassdepRouting(NetworkStruct sn)
      Checks whether the classes of the network are routed differently.
      Parameters:
      sn - the NetworkStruct object for the queueing network model
      Returns:
      true if routing is class-dependent, false if all classes route alike