Documentation of 'org.jgrapht.ext.MatrixExporter' Java class
MatrixExporter
org.jgrapht.ext

Class MatrixExporter<V,E>

  • Type Parameters:
    V - the graph vertex type
    E - the graph edge type
    All Implemented Interfaces:
    GraphExporter<V,E>

    Deprecated. 
    Use org.jgrapht.io.MatrixExporter instead.

    @Deprecated
    public class MatrixExporter<V,E>
    extends java.lang.Object
    implements GraphExporter<V,E>
    Exports a graph to a plain text matrix format, which can be processed by matrix manipulation software, such as MTJ or MATLAB.

    The exporter supports three different formats, see MatrixExporter.Format.

    See Also:
    MatrixExporter.Format
    • Constructor Detail

      • MatrixExporter

        public MatrixExporter(MatrixExporter.Format format)
        Deprecated. 
        Creates a new MatrixExporter with integer name provider for the vertex identifiers.
        Parameters:
        format - format to use
      • MatrixExporter

        public MatrixExporter(MatrixExporter.Format format,
                              ComponentNameProvider<V> vertexIDProvider)
        Deprecated. 
        Creates a new MatrixExporter.
        Parameters:
        format - format to use
        vertexIDProvider - for generating vertex identifiers. Must not be null.
    • Method Detail

      • getFormat

        public MatrixExporter.Format getFormat()
        Deprecated. 
        Get the format that the exporter is using.
        Returns:
        the output format
      • setFormat

        public void setFormat(MatrixExporter.Format format)
        Deprecated. 
        Set the output format of the exporter
        Parameters:
        format - the format to use

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.