Package jline.lang.lal
Class LalNetwork
java.lang.Object
jline.lang.lal.LalNetwork
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.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classParsed declarations: the network name and its (line, words) rows. -
Method Summary
Modifier and TypeMethodDescriptionstatic NetworkbuildNetwork(String text) Pythonbuild_network(parse_network(text)).static NetworkPythonbuild_network(spec).static NetworkbuildNetwork(LalNetwork.NetworkSpec spec, Map<String, ? extends Number> parameters) Pythonbuild_network(spec, parameters): parameters override the defaults ofparamdeclarations; a parameter the file does not declare is an error.static LalNetwork.NetworkSpecparseNetwork(String text) Pythonparse_network(text).
-
Method Details
-
parseNetwork
Pythonparse_network(text). -
buildNetwork
Pythonbuild_network(parse_network(text)). -
buildNetwork
Pythonbuild_network(spec). -
buildNetwork
public static Network buildNetwork(LalNetwork.NetworkSpec spec, Map<String, ? extends Number> parameters) Pythonbuild_network(spec, parameters): parameters override the defaults ofparamdeclarations; a parameter the file does not declare is an error.
-