![]() |
LINE Solver (C++)
Templated C++ port of the LINE queueing solver
|
Classes | |
| struct | Element |
Functions | |
| double | to_double_strict (const std::string &s, const std::string &what) |
| Strict decimal parse: the whole (trimmed) text must be a number. | |
| const Element * | child (const Element *e, const std::string &tag) |
| The first direct child with the given tag, or null. | |
| const Element * | by_class (const Element *parent, const std::string &tag, const std::string &cls) |
| The entry of tag under parent whose customerclass is cls, or null. | |
| std::vector< double > | split_demands (const std::string &s) |
| str2double(strsplit(s, ';')) (or ','), NaN entries dropped as the reference does. | |
| std::string | file_stem (const std::string &path) |
| Basename without directory or extension, MATLAB's [~,fname] = fileparts. | |
|
inline |
The entry of tag under parent whose customerclass is cls, or null.
Definition at line 96 of file jmva_reader.h.
References by_class(), and line::xml::Element::child_tags().
Referenced by by_class().
The first direct child with the given tag, or null.
Definition at line 89 of file jmva_reader.h.
References child(), and line::xml::Element::child_tags().
Referenced by child().
|
inline |
Basename without directory or extension, MATLAB's [~,fname] = fileparts.
Definition at line 131 of file jmva_reader.h.
References file_stem().
Referenced by file_stem(), and line::io::jsim2line().
|
inline |
str2double(strsplit(s, ';')) (or ','), NaN entries dropped as the reference does.
Definition at line 105 of file jmva_reader.h.
References line::InputError::InputError(), and split_demands().
Referenced by split_demands().
|
inline |
Strict decimal parse: the whole (trimmed) text must be a number.
Definition at line 72 of file jmva_reader.h.
References line::InputError::InputError(), and to_double_strict().
Referenced by to_double_strict().