Interface MutableBidiGraph<V,A>

Type Parameters:
V - the vertex type
A - the arrow data type
All Superinterfaces:
BareBidiGraph<V,A>, BareDirectedGraph<V,A>, BareDirectedVertexGraph<V>, BidiGraph<V,A>, DirectedGraph<V,A>, MutableDirectedGraph<V,A>
All Known Implementing Classes:
SimpleMutableBidiGraph

public interface MutableBidiGraph<V,A> extends BidiGraph<V,A>, MutableDirectedGraph<V,A>
Interface for a mutable directed graph that allows to follow arrows in backward direction.
  • Method Details

    • addBidiArrow

      default void addBidiArrow(@NonNull V va, @NonNull V vb, @Nullable A arrow)
      Adds an arrow from 'va' to 'vb' and an arrow from 'vb' to 'va'.
      Parameters:
      va - vertex a
      vb - vertex b
      arrow - the arrow data