scratch.danyel.lazy
Class LazyWebCrawler.WebCrawlerFactory

java.lang.Object
  extended by scratch.danyel.lazy.LazySparseVertexFactory
      extended by scratch.danyel.lazy.LazyWebCrawler.WebCrawlerFactory
Enclosing class:
LazyWebCrawler

public static class LazyWebCrawler.WebCrawlerFactory
extends LazySparseVertexFactory


Field Summary
 
Fields inherited from class scratch.danyel.lazy.LazySparseVertexFactory
idPairToEdge, idToVertex
 
Constructor Summary
LazyWebCrawler.WebCrawlerFactory(Graph g)
           
 
Method Summary
 void annotateVertex(LazySparseVertex vertex)
          Ok, here'a a Vertex.
 Object[] getNeighborsIds(Object o)
          Returns an array of IDs of successors.
 
Methods inherited from class scratch.danyel.lazy.LazySparseVertexFactory
getEdge, getLazyEdge, getLazySparseVertex, getVertex
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LazyWebCrawler.WebCrawlerFactory

public LazyWebCrawler.WebCrawlerFactory(Graph g)
Method Detail

annotateVertex

public void annotateVertex(LazySparseVertex vertex)
Description copied from class: LazySparseVertexFactory
Ok, here'a a Vertex. Do we have any information this vertex needs in order to be a complete and fully-realized vertex?

Specified by:
annotateVertex in class LazySparseVertexFactory
See Also:
LazySparseVertexFactory.annotateVertex(scratch.danyel.lazy.LazySparseVertex)

getNeighborsIds

public Object[] getNeighborsIds(Object o)
Description copied from class: LazySparseVertexFactory
Returns an array of IDs of successors.

Specified by:
getNeighborsIds in class LazySparseVertexFactory
Returns:
See Also:
LazySparseVertexFactory.getNeighborsIds(java.lang.Object)