Interface ILcdPartitionedGraphListener<N,E>


public interface ILcdPartitionedGraphListener<N,E>
Interface for listeners attached to partitioned graphs.

Note that ILcdGraphListener and ILcdPartitionedGraphListener are two different listener interfaces, providing different types of events: while ILcdGraphListener provides only information about the graph as a whole (nodes/edges added or removed), ILcdPartitionedGraphListener provides information about the partitioned structure of the graph (partitions/boundary edges added, removed or changed).

Modifying the structure of a partitioned graph can thus result in two events being generated: one for modifications to the graph, as a normal graph, and one for modifications to the graph, as a partitioned graph.

Since:
5.1
  • Method Details

    • partitionedGraphChanged

      void partitionedGraphChanged(TLcdPartitionedGraphChangedEvent<N,E> aPartitionedGraphChangedEvent)
      Notifies the listener that the partitioned graph to which it is listening, is changed.
      Parameters:
      aPartitionedGraphChangedEvent - contains more detailed information about the changes that have happened to the partitioned graph.
      See Also: