Class LalNetwork

java.lang.Object
jline.lang.lal.LalNetwork

public final class LalNetwork extends Object
Experimental declarative queueing-network subset of LAL (Python line_solver.lal.network).

Each line is a declaration; names are identifiers and strings can be quoted. The compiler builds a native LINE Network and does not evaluate arbitrary code. Supported declarations: param, node (source, sink, delay, router, place, transition, cache, queue), class (open, closed), arrival/service (exp, prior_gaussian, immediate, replayer, replayer_aph, erlang_mean_order), route, completes, cache_read_zipf, cache_read_discrete, cache_hit, cache_miss, cache_retrieval, mode, enable, inhibit, fire, weight, state, link, dispatch and region.

  • Method Details

    • parseNetwork

      public static LalNetwork.NetworkSpec parseNetwork(String text)
      Python parse_network(text).
    • buildNetwork

      public static Network buildNetwork(String text)
      Python build_network(parse_network(text)).
    • buildNetwork

      public static Network buildNetwork(LalNetwork.NetworkSpec spec)
      Python build_network(spec).
    • buildNetwork

      public static Network buildNetwork(LalNetwork.NetworkSpec spec, Map<String,? extends Number> parameters)
      Python build_network(spec, parameters): parameters override the defaults of param declarations; a parameter the file does not declare is an error.