Class DIMACSExporter<V,​E>

    • Field Detail

      • DEFAULT_DIMACS_FORMAT

        public static final DIMACSFormat DEFAULT_DIMACS_FORMAT
        Deprecated.
        The default format used by the exporter.
      • vertexIDProvider

        protected ComponentNameProvider<V> vertexIDProvider
        Deprecated.
        Provides an identifier for a vertex.
      • edgeIDProvider

        protected ComponentNameProvider<E> edgeIDProvider
        Deprecated.
        Provides an identifier for an edge.
    • Constructor Detail

      • DIMACSExporter

        public DIMACSExporter()
        Deprecated.
        Constructs a new exporter.
      • DIMACSExporter

        public DIMACSExporter​(ComponentNameProvider<V> vertexIDProvider)
        Deprecated.
        Constructs a new exporter with a given vertex ID provider.
        Parameters:
        vertexIDProvider - for generating vertex IDs. Must not be null.
      • DIMACSExporter

        public DIMACSExporter​(ComponentNameProvider<V> vertexIDProvider,
                              DIMACSFormat format)
        Deprecated.
        Constructs a new exporter with a given vertex ID provider.
        Parameters:
        vertexIDProvider - for generating vertex IDs. Must not be null.
        format - the format to use
    • Method Detail

      • exportGraph

        public void exportGraph​(Graph<V,​E> g,
                                Writer writer)
        Deprecated.
        Export a graph
        Specified by:
        exportGraph in interface GraphExporter<V,​E>
        Parameters:
        g - the graph to export
        writer - the output writer
      • isParameter

        public boolean isParameter​(DIMACSExporter.Parameter p)
        Deprecated.
        Return if a particular parameter of the exporter is enabled
        Parameters:
        p - the parameter
        Returns:
        true if the parameter is set, false otherwise
      • setParameter

        public void setParameter​(DIMACSExporter.Parameter p,
                                 boolean value)
        Deprecated.
        Set the value of a parameter of the exporter
        Parameters:
        p - the parameter
        value - the value to set
      • getFormat

        public DIMACSFormat getFormat()
        Deprecated.
        Get the format of the exporter
        Returns:
        the format of the exporter
      • setFormat

        public void setFormat​(DIMACSFormat format)
        Deprecated.
        Set the format of the exporter
        Parameters:
        format - the format to use
      • getVertexIDProvider

        public ComponentNameProvider<V> getVertexIDProvider()
        Deprecated.
        Get the vertex id provider
        Returns:
        the vertex id provider
      • setVertexIDProvider

        public void setVertexIDProvider​(ComponentNameProvider<V> vertexIDProvider)
        Deprecated.
        Set the vertex id provider
        Parameters:
        vertexIDProvider - the new vertex id provider. Must not be null.
      • getEdgeIDProvider

        public ComponentNameProvider<E> getEdgeIDProvider()
        Deprecated.
        Get the edge id provider
        Returns:
        The edge provider
      • setEdgeIDProvider

        public void setEdgeIDProvider​(ComponentNameProvider<E> edgeIDProvider)
        Deprecated.
        Set the edge id provider.
        Parameters:
        edgeIDProvider - the new edge id provider. Must not be null.