Class BVImmutableTypedGraph

    • Constructor Detail

      • BVImmutableTypedGraph

        protected BVImmutableTypedGraph​(ImmutableGraph immutableTypeGraph,
                                        long[] numNodes,
                                        long[][] numArcs,
                                        java.io.RandomAccessFile[] graphRandomAccessFile,
                                        it.unimi.dsi.fastutil.longs.LongBigList[] offset)
                                 throws java.io.IOException
        Throws:
        java.io.IOException
      • BVImmutableTypedGraph

        protected BVImmutableTypedGraph​(ImmutableGraph immutableTypeGraph,
                                        long[] numNodes,
                                        long[][] numArcs,
                                        java.io.RandomAccessFile[] graphRandomAccessFile,
                                        it.unimi.dsi.io.ByteBufferInputStream[] graphStream,
                                        it.unimi.dsi.fastutil.longs.LongBigList[] offset)
    • Method Detail

      • close

        public void close()
                   throws java.io.IOException
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface java.io.Closeable
        Throws:
        java.io.IOException
      • numNodes

        public long numNodes​(int type)
        Specified by:
        numNodes in interface TypedGraph
      • outdegree

        public long outdegree​(long node)
                       throws java.io.IOException
        Specified by:
        outdegree in interface TypedGraph
        Throws:
        java.io.IOException
      • load

        public static BVImmutableTypedGraph load​(java.lang.CharSequence basename,
                                                 java.lang.CharSequence typeBasename,
                                                 it.unimi.dsi.logging.ProgressLogger pl)
                                          throws java.io.IOException,
                                                 java.lang.ClassNotFoundException,
                                                 org.apache.commons.configuration2.ex.ConfigurationException
        Throws:
        java.io.IOException
        java.lang.ClassNotFoundException
        org.apache.commons.configuration2.ex.ConfigurationException