Package com.luciad.network.graph.numeric
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 TypeMethodDescriptionvoid
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
Reports that the specified edge from the source graph is mapped on the specified long value in the destination numeric graph.void
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
Reports that the specified node from the source graph is mapped on the specified long value in the destination numeric graph.
-
Method Details
-
mapGraph
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
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
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
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.
-