com.twitter.cassovary.graph.tourist

VisitsCounter

class VisitsCounter extends IntInfoKeeper with NodeTourist

A tourist that keeps counts of the number of times a node has been seen.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. VisitsCounter
  2. NodeTourist
  3. IntInfoKeeper
  4. InfoKeeper
  5. AnyRef
  6. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new VisitsCounter()

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: VisitsComparator

    PriorityQueue and IntComparator for sorting

  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, Int]

    Get info for all nodes (immutable version visible outside)

    Get info for all nodes (immutable version visible outside)

    Definition Classes
    InfoKeeper
  16. def infoOfNode(node: Node): Option[Int]

    Get information of a particular node.

    Get information of a particular node.

    Definition Classes
    InfoKeeper
  17. def infoOfNode(id: Int): Option[Int]

    Get information of a paticular node by its id

    Get information of a paticular node by its id

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

    Returns a map of nodes to visit count, sorted in decreasing order when iterating

    Returns a map of nodes to visit count, sorted in decreasing order when iterating

    Attributes
    protected
    Definition Classes
    VisitsCounterIntInfoKeeperInfoKeeper
  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 onlyOnce: Boolean

    Keep info only the first time a node is seen

    Keep info only the first time a node is seen

    Definition Classes
    IntInfoKeeperInfoKeeper
  24. val priQ: IntHeapPriorityQueue

  25. def recordInfo(id: Int, info: Int): Unit

    Record information info of node id

    Record information info of node id

    Definition Classes
    InfoKeeper
  26. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  27. def toString(): String

    Definition Classes
    AnyRef → Any
  28. val underlyingMap: Int2IntOpenHashMap

    Attributes
    protected
    Definition Classes
    IntInfoKeeper
  29. def visit(id: Int): Unit

    Visit a node by its id

    Visit a node by its id

    Definition Classes
    VisitsCounterNodeTourist
  30. def visit(node: Node): Unit

    Visit a node

    Visit a node

    Definition Classes
    NodeTourist
  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 NodeTourist

Inherited from IntInfoKeeper

Inherited from InfoKeeper[Int]

Inherited from AnyRef

Inherited from Any

Ungrouped