Interface ILcdNumericGraphMappingHandler<N,E>


public interface ILcdNumericGraphMappingHandler<N,E>
Callback interface for reporting the mappings between graphs and numeric graphs.

This callback is used by com.luciad.network.graph.numeric.TLcdNumericGraphEncoder during encoding, to keep track of the mapping between the source graph's partitions, edges and nodes, and their corresponding target numeric graph equivalents.

Since:
9.1
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    mapBoundaryEdge(E aBoundaryEdge, long aNumericId)
    Reports that the specified boundary edge from the source graph is mapped on the specified long value in the destination numeric graph.
    void
    mapEdge(E aEdge, long aNumericId)
    Reports that the specified edge from the source graph is mapped on the specified long value in the destination numeric graph.
    void
    mapGraph(ILcdGraph<N,E> aGraph, long aNumericId)
    Reports that the specified graph (partition or boundary graph) from the source graph is mapped on the specified long value in the destination numeric graph.
    void
    mapNode(N aNode, long aNumericId)
    Reports that the specified node from the source graph is mapped on the specified long value in the destination numeric graph.
  • Method Details

    • mapGraph

      void mapGraph(ILcdGraph<N,E> aGraph, long aNumericId)
      Reports that the specified graph (partition or boundary graph) from the source graph is mapped on the specified long value in the destination numeric graph.
      Parameters:
      aGraph - the node from the source graph.
      aNumericId - its numeric graph counterpart.
    • mapNode

      void mapNode(N aNode, long aNumericId)
      Reports that the specified node from the source graph is mapped on the specified long value in the destination numeric graph.
      Parameters:
      aNode - the node from the source graph.
      aNumericId - its numeric graph counterpart.
    • mapEdge

      void mapEdge(E aEdge, long aNumericId)
      Reports that the specified edge from the source graph is mapped on the specified long value in the destination numeric graph.
      Parameters:
      aEdge - the edge from the source graph.
      aNumericId - its numeric graph counterpart.
    • mapBoundaryEdge

      void mapBoundaryEdge(E aBoundaryEdge, long aNumericId)
      Reports that the specified boundary edge from the source graph is mapped on the specified long value in the destination numeric graph.
      Parameters:
      aBoundaryEdge - the boundary edge from the source graph.
      aNumericId - its numeric graph counterpart.