Enums

The following enums are available globally.

  • Errors related to the Graph protocol.

    • .VertexAlreadyPresent: Error due to a vertex already being in the graph.
    • .VertexNotPresent: Error due to a vertex not being in the graph.
    • .EdgeNotPresent: Error due to an edge not being in the graph.
    See more

    Declaration

    Swift

    public enum GraphError: ErrorType
  • Errors for binary heaps.

    Currently only the case where increasePriority is a priority decrease.

    See more

    Declaration

    Swift

    public enum HeapError: ErrorType