21#ifndef NETWORK_BRANCH_HPP
22#define NETWORK_BRANCH_HPP
40 static AlqEQ AlqEqfromString(
const std::string& input_string);
43 Branch(
const std::string& downtree_node,
const std::string& uptree_node,
int vfp_table,
double alq);
44 Branch(
const std::string& downtree_node,
const std::string& uptree_node,
int vfp_table, AlqEQ alq_eq);
46 const std::string& downtree_node()
const;
47 const std::string& uptree_node()
const;
48 std::optional<int> vfp_table()
const;
50 std::optional<double> alq_value()
const;
52 static Branch serializationTestObject();
53 bool operator==(
const Branch& other)
const;
55 template<
class Serializer>
58 serializer(m_downtree_node);
59 serializer(m_uptree_node);
60 serializer(m_vfp_table);
61 serializer(m_alq_value);
65 std::string m_downtree_node;
66 std::string m_uptree_node;
68 std::optional<double> m_alq_value;
Definition: Branch.hpp:30
Class for (de-)serializing.
Definition: Serializer.hpp:75
This class implements a small container which holds the transmissibility mulitpliers for all the face...
Definition: Exceptions.hpp:29