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 NodesWriterpublic void commit()
public void close()
close in interface NodesWriterpublic int[] getNeighbours(int id)
NodeStargetNeighbours in interface NodeStarpublic Node getNode(int id)
NodeStarpublic it.unimi.dsi.fastutil.ints.IntIterator iterator()
Copyright © 2013. All rights reserved.