Skip to content
Snippets Groups Projects
T.py 231 B
Newer Older
markn92's avatar
markn92 committed
from typing import Tuple, Union, NewType
from math import inf
markn92's avatar
markn92 committed

markn92's avatar
markn92 committed
Node = int
Edge = Tuple[Node, Node]

Wh = NewType('Wh', Union[float, int])
SoC = NewType('SoC', Union[-inf, Wh])

ChargingCoefficient = float

Time = Union[float, int]