:py:mod:`kosmos.protocols.protocol_result` ========================================== .. py:module:: kosmos.protocols.protocol_result Classes ------- .. py:class:: ProtocolResult Bases: :py:class:`abc.ABC` Result of protocol execution. .. attribute:: status Status of the protocol. :type: ProtocolStatus ---- .. py:class:: EGProtocolResult Bases: :py:class:`ProtocolResult` Entanglement generation protocol result. .. attribute:: status Status of the protocol. :type: ProtocolStatus ---- .. py:class:: RoutingProtocolResult Bases: :py:class:`ProtocolResult` Routing protocol result. .. attribute:: status Status of the protocol. :type: ProtocolStatus .. attribute:: path Resulting path of the routing protocol. None if no path was found. :type: Path | None .. attribute:: total_cost Total cost of the resulting path. None if no path was found. :type: float | None .. attribute:: total_distance Total distance of the resulting path. None if no path was found. :type: float | None