com.twitter.cassovary.graph.tourist

VisitsCounter

Related Doc: package tourist

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: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  5. def clear(): Unit

    Clear underlying map

    Clear underlying map

    Definition Classes
    InfoKeeper
  6. def clone(): AnyRef

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

    PriorityQueue and IntComparator for sorting

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

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

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

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

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

    Definition Classes
    AnyRef → Any
  13. 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
  14. def infoOfNode(node: Node): Option[Int]

    Get information of a particular node.

    Get information of a particular node.

    Definition Classes
    InfoKeeper
  15. 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
  16. 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
  17. final def isInstanceOf[T0]: Boolean

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

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

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

    Definition Classes
    AnyRef
  21. 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
  22. val priQ: IntHeapPriorityQueue

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

    Record information info of node id

    Record information info of node id

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

    Definition Classes
    AnyRef
  25. def toString(): String

    Definition Classes
    AnyRef → Any
  26. val underlyingMap: Int2IntOpenHashMap

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

    Visit a node by its id

    Visit a node by its id

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

    Visit a node

    Visit a node

    Definition Classes
    NodeTourist
  29. final def wait(): Unit

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. 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