public interface ILcdNumericGraphMappingHandler<N,E>
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.TLcdNumericGraphEncoder
Modifier and Type | Method and 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.
|
void mapGraph(ILcdGraph<N,E> aGraph, long aNumericId)
aGraph
- the node from the source graph.aNumericId
- its numeric graph counterpart.void mapNode(N aNode, long aNumericId)
aNode
- the node from the source graph.aNumericId
- its numeric graph counterpart.void mapEdge(E aEdge, long aNumericId)
aEdge
- the edge from the source graph.aNumericId
- its numeric graph counterpart.void mapBoundaryEdge(E aBoundaryEdge, long aNumericId)
aBoundaryEdge
- the boundary edge from the source graph.aNumericId
- its numeric graph counterpart.