Class RealMatrixElementOperations<E>

  • All Implemented Interfaces:
    MatrixElementOperations<E>

    public class RealMatrixElementOperations<E>
    extends java.lang.Object
    implements MatrixElementOperations<E>
    Implements the basic matrix operations on double-precision values. Assumes that the edges have a MutableDouble value.
    • Constructor Summary

      Constructors 
      Constructor Description
      RealMatrixElementOperations​(java.util.Map<E,​java.lang.Number> edgeData)
      Creates an instance using the specified edge values.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Number computePathData​(E e1, E e2)
      If either e1 or e2 is null, the Object reference returned should be null.
      java.util.Map<E,​java.lang.Number> getEdgeData()
      Returns a map from edges to values.
      void mergePaths​(E e, java.lang.Object pathData)
      If either e or pathData is null, the effect of mergePaths() is implementation-dependent.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • RealMatrixElementOperations

        public RealMatrixElementOperations​(java.util.Map<E,​java.lang.Number> edgeData)
        Creates an instance using the specified edge values.