com.twitter.cassovary.graph.tourist

PrevNbrCounter

class PrevNbrCounter extends InfoKeeper[Int2IntMap]

A NodeTourist that keeps track of the previous immediate neighbor of a given node in visiting sequence.

Linear Supertypes
InfoKeeper[Int2IntMap], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. PrevNbrCounter
  2. InfoKeeper
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new PrevNbrCounter()

    Keep info only the first time a node is seen

  2. new PrevNbrCounter(numTopPathsPerNode: Option[Int], onlyOnce: Boolean)

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clear(): Unit

    Clear underlying map

    Clear underlying map

    Definition Classes
    InfoKeeper
  8. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. val comparator: PrevNbrComparator

    Priority queue and comparator for sorting prev nbrs.

    Priority queue and comparator for sorting prev nbrs. Reused across nodes.

  10. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  14. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  15. def infoAllNodes: Map[Int, Int2IntMap]

    Get info for all nodes (immutable version visible outside)

    Get info for all nodes (immutable version visible outside)

    Definition Classes
    PrevNbrCounterInfoKeeper
  16. def infoOfNode(id: Int): Option[Int2IntMap]

    Top previous neighborhos until node id

    Top previous neighborhos until node id

    Definition Classes
    PrevNbrCounterInfoKeeper
  17. def infoOfNode(node: Node): Option[Int2IntMap]

    Get information of a particular node.

    Get information of a particular node.

    Definition Classes
    InfoKeeper
  18. def infoPerNode: Map[Int, Int2IntMap]

    Definition Classes
    PrevNbrCounterInfoKeeper
  19. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  20. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  21. final def notify(): Unit

    Definition Classes
    AnyRef
  22. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  23. val numTopPathsPerNode: Option[Int]

  24. val onlyOnce: Boolean

    Keep info only the first time a node is seen

    Keep info only the first time a node is seen

    Definition Classes
    PrevNbrCounterInfoKeeper
  25. val priQ: IntHeapPriorityQueue

  26. def recordInfo(id: Int, nodeMap: Int2IntMap): Unit

    Record information info of node id

    Record information info of node id

    Definition Classes
    PrevNbrCounterInfoKeeper
  27. def recordPreviousNeighbor(id: Int, nodeId: Int): Unit

    Record the previous neighbor nodeId of id

  28. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  29. def toString(): String

    Definition Classes
    AnyRef → Any
  30. val underlyingMap: Int2ObjectOpenHashMap[Int2IntOpenHashMap]

    Attributes
    protected
  31. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from InfoKeeper[Int2IntMap]

Inherited from AnyRef

Inherited from Any

Ungrouped