Interface GraphMatrix<N,E>

All Superinterfaces:
BaseGenericMatrix<E>, BaseMatrix, BaseMatrixProperties, BasicDoubleCalculations, BasicEntrywiseDoubleCalculations, BooleanCalculations, CanPerformCalculations, Clearable, Cloneable, Comparable<Matrix>, Conversions, CoordinateFunctions, CoreObject, CreatorDoubleCalculations, DecompositionDoubleCalculations, DiscretizeCalculations, DistanceMeasures, DoubleCalculations, EntrywiseDoubleCalculations, ExtendedMatrixProperties, GeneralDoubleCalculations, GenericMatrix2D<E>, GettersAndSetters, HasDescription, HasGUIObject, HasId, HasLabel, HasMetaData, HyperbolicDoubleCalculations, IntCalculations, Matrix, Matrix2D, MiscEntrywiseDoubleCalculations, MiscGeneralDoubleCalculations, MissingValueDoubleCalculations, ObjectCalculations, RoundingDoubleCalculations, Serializable, StatisticalDoubleCalculations, StringCalculations, TrigonometricDoubleCalculations
All Known Implementing Classes:
AbstractGraphMatrix, DefaultGraphMatrix

public interface GraphMatrix<N,E> extends GenericMatrix2D<E>
  • Method Details

    • getNodeList

      List<N> getNodeList()
    • isDirected

      boolean isDirected()
    • setDirected

      void setDirected(boolean directed)
    • getEdge

      E getEdge(long nodeIndex1, long nodeIndex2)
    • getEdge

      E getEdge(N node1, N node2)
    • setEdge

      void setEdge(E edge, long nodeIndex1, long nodeIndex2)
    • setEdge

      void setEdge(E edge, N node1, N node2)
    • getNode

      N getNode(long index)
    • addNode

      void addNode(N node)
    • setNode

      void setNode(N node, long index)
    • removeNode

      void removeNode(N node)
    • removeNode

      void removeNode(long node)
    • isConnected

      boolean isConnected(long nodeIndex1, long nodeIndex2)
    • isConnected

      boolean isConnected(N node1, N node2)
    • getIndexOfNode

      long getIndexOfNode(N node)
    • getEdgeCount

      int getEdgeCount()
    • getNodeCount

      int getNodeCount()
    • getChildCount

      int getChildCount(long nodeIndex)
    • getChildCount

      int getChildCount(N node)
    • getParentCount

      int getParentCount(long nodeIndex)
    • getParentCount

      int getParentCount(N node)
    • getDegree

      int getDegree(long nodeIndex)
    • getDegree

      int getDegree(N node)
    • getChildren

      List<N> getChildren(long nodeIndex)
    • getChildren

      List<N> getChildren(N node)
    • getChildIndices

      List<Long> getChildIndices(long nodeIndex)
    • getChildIndices

      List<Long> getChildIndices(N node)
    • getParents

      List<N> getParents(long nodeIndex)
    • getParents

      List<N> getParents(N node)
    • getParentIndices

      List<Long> getParentIndices(long nodeIndex)
    • getParentIndices

      List<Long> getParentIndices(N node)
    • removeEdge

      void removeEdge(N node1, N node2)
    • removeEdge

      void removeEdge(long nodeIndex1, long nodeIndex2)