public abstract class RamNodes extends Object implements NodesWriter, NodeStar
NodeStar
object in main memory.Modifier | Constructor and Description |
---|---|
protected |
RamNodes(File serializedFile) |
protected RamNodes(File serializedFile)
public void add(Node n)
add
in interface NodesWriter
public void commit()
public void close()
close
in interface NodesWriter
public int[] getNeighbours(int id)
NodeStar
getNeighbours
in interface NodeStar
public Node getNode(int id)
NodeStar
public it.unimi.dsi.fastutil.ints.IntIterator iterator()
Copyright © 2013. All rights reserved.