ox.cads.testing

TSQueueCompetitionThreadLog

class TSQueueCompetitionThreadLog[A, S, C] extends QueueCompetitionThreadLog[A, S, C]

A log to be used by a single thread for a competition tester using a queue-oriented solver and a generic solver.

A

the type of data stored in the queue.

S

the sequential specification datatype.

C

the concurrent queue.

Linear Supertypes
QueueCompetitionThreadLog[A, S, C], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. TSQueueCompetitionThreadLog
  2. QueueCompetitionThreadLog
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new TSQueueCompetitionThreadLog(t: Int, iters: Int, concQueue: C, mkInvoke: (Int, String, (S) ⇒ Any) ⇒ InvokeEvent[S, Any, Any], mkReturn: (Int, Any) ⇒ ReturnEvent[Any])

    t

    the identity of this worker.

    iters

    the number of invocations by each thread.

    concQueue

    the concurrent object.

    mkInvoke

    function to create the InvokeEvent corresponding to S.

    mkReturn

    function to create the ReturnEvent corresponding to S.

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 clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  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()
  11. def get: Array[TS[(QueueLinNode, Event)]]

    Get the log.

    Get the log.

    Attributes
    protected[ox.cads.testing]
  12. final def getClass(): Class[_]

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

    Definition Classes
    AnyRef → Any
  14. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  15. def logDequeue(dequeueOp: (C) ⇒ Option[A], seqOp: (S) ⇒ Option[A]): Unit

    Log a dequeue operation by this thread.

    Log a dequeue operation by this thread.

    dequeueOp

    the operation on the concurrent queue corresponding to the dequeue, e.g. _.dequeue.

    seqOp

    the corresponding operation on the sequential datatype.

    Definition Classes
    TSQueueCompetitionThreadLogQueueCompetitionThreadLog
  16. def logEnqueue(value: A, enqueueOp: (C) ⇒ Unit, seqOp: (S) ⇒ Unit): Unit

    Log an enqueue operation of value by the thread.

    Log an enqueue operation of value by the thread.

    value

    the value enqueued.

    enqueueOp

    the operation on the concurrent queue corresponding to the enqueue, e.g. _.enqueue(value).

    seqOp

    the corresponding operation on the sequential specification datatype.

    Definition Classes
    TSQueueCompetitionThreadLogQueueCompetitionThreadLog
  17. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  20. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  21. def toString(): String

    Definition Classes
    AnyRef → Any
  22. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from QueueCompetitionThreadLog[A, S, C]

Inherited from AnyRef

Inherited from Any

Ungrouped