Source code for optiwindnet.types

# SPDX-License-Identifier: MIT
# https://gitlab.windenergy.dtu.dk/TOPFARM/OptiWindNet/

"""Types shared across OptiWindNet's routing and solver layers."""

from enum import StrEnum, auto

__all__ = ('Topology',)


[docs] class Topology(StrEnum): """Architecture of the subtrees in a solution."""
[docs] RADIAL = auto()
[docs] BRANCHED = auto()
[docs] RINGED = auto()
[docs] DEFAULT = BRANCHED