LINE Solver (C++)
Templated C++ port of the LINE queueing solver
Loading...
Searching...
No Matches
jmt_import.h File Reference

The MATLAB-named JMT import entry points: JSIM2LINE and the JMT2LINE dispatcher over .jmva / .jsim / .jsimg / .jsimw. More...

#include <iostream>
#include <string>
#include "line/io/jmva_reader.h"
#include "line/io/jsim_reader.h"
#include "line/lang/qn/network_builder.h"
Include dependency graph for jmt_import.h:

Go to the source code of this file.

Namespaces

namespace  line
 Conservation laws of a layered queueing network, enumerated from its structure.
namespace  line::io
namespace  line::io::jmt_import_detail

Functions

template<class T>
qn::Network< T > line::io::jsim2line (const std::string &path, const std::string &name=std::string())
 Port of JSIM2LINE(filename, modelName).
std::string line::io::jmt_import_detail::extension (const std::string &path)
 The extension without its dot, fileparts' third output minus the '.
template<class T>
qn::Network< T > line::io::jmt2line (const std::string &path, const std::string &name=std::string())
 Port of JMT2LINE(filename, modelName): dispatch on the extension.

Detailed Description

The MATLAB-named JMT import entry points: JSIM2LINE and the JMT2LINE dispatcher over .jmva / .jsim / .jsimg / .jsimw.

io::read_jsim (jsim_reader.h) stays the implementation and keeps its name; jsim2line adds only the reference's naming rule, fileparts of the <sim name=...> attribute, so a model read from model.jsimg is called model as it is in MATLAB and the JAR, where read_jsim keeps the raw attribute.

Definition in file jmt_import.h.