public class RealMatrixElementOperations extends java.lang.Object implements MatrixElementOperations
Constructor and Description |
---|
RealMatrixElementOperations(java.lang.String edge_key) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
computePathData(Edge e1,
Edge e2)
If either e1 or e2 is null, the Object reference returned should be null.
|
void |
mergePaths(Edge e,
java.lang.Object pathData)
If either e or pathData is null, the effect of mergePaths() is
implementation-dependent.
|
public RealMatrixElementOperations(java.lang.String edge_key)
public void mergePaths(Edge e, java.lang.Object pathData)
MatrixElementOperations
mergePaths
in interface MatrixElementOperations
e
- (possibly) existing edge in the output graph which
represents a path in the input graph(s)pathData
- data (which represents another path with the same source
and destination as e in the input graphs) which is to be merged into eMatrixElementOperations.mergePaths(Edge, Object)
public java.lang.Object computePathData(Edge e1, Edge e2)
MatrixElementOperations
computePathData
in interface MatrixElementOperations
e1
- first edge from 2-edge path in input graph(s)e2
- second edge from 2-edge path in input graph(s)MatrixElementOperations.computePathData(Edge, Edge)