edu.umass.cs.automan.core

AutomanAdapter

abstract class AutomanAdapter extends AnyRef

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. AutomanAdapter
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new AutomanAdapter()

Type Members

  1. abstract type CBDQ <: CheckboxDistributionQuestion

  2. abstract type CBQ <: CheckboxQuestion

  3. abstract type FTDQ <: FreeTextDistributionQuestion

  4. abstract type FTQ <: FreeTextQuestion

  5. abstract type MemoDB <: Memo

  6. abstract type RBDQ <: RadioButtonDistributionQuestion

  7. abstract type RBQ <: RadioButtonQuestion

Abstract Value Members

  1. abstract def CBDQFactory(): CBDQ

    Attributes
    protected
  2. abstract def CBQFactory(): CBQ

    Attributes
    protected
  3. abstract def FTDQFactory(): FTDQ

    Attributes
    protected
  4. abstract def FTQFactory(): FTQ

    Attributes
    protected
  5. abstract def MemoDBFactory(): MemoDB

    Attributes
    protected
  6. abstract def Option(id: Symbol, text: String): QuestionOption

  7. abstract def RBDQFactory(): RBDQ

    Attributes
    protected
  8. abstract def RBQFactory(): RBQ

    Attributes
    protected
  9. abstract def accept(ts: List[Task]): List[Task]

    Tell the backend to accept the answer associated with this ANSWERED task.

    Tell the backend to accept the answer associated with this ANSWERED task.

    ts

    ANSWERED tasks.

    returns

    ACCEPTED tasks.

    Attributes
    protected[edu.umass.cs.automan]
  10. abstract def backend_budget(): BigDecimal

    Attributes
    protected[edu.umass.cs.automan]
  11. abstract def cancel(ts: List[Task]): List[Task]

    Attributes
    protected[edu.umass.cs.automan]
  12. abstract def post(ts: List[Task], exclude_worker_ids: List[String]): List[Task]

    Post tasks on the backend, one task for each task.

    Post tasks on the backend, one task for each task. All tasks given should be marked READY. The method returns the complete list of tasks passed but with new states. Blocking. Invariant: the size of the list of input tasks == the size of the list of the output tasks.

    ts

    A list of new tasks.

    exclude_worker_ids

    Worker IDs to exclude, if any.

    returns

    A list of the posted tasks.

    Attributes
    protected[edu.umass.cs.automan]
  13. abstract def reject(ts_reasons: List[(Task, String)]): List[Task]

    Tell the backend to reject the answer associated with this ANSWERED task.

    Tell the backend to reject the answer associated with this ANSWERED task.

    ts_reasons

    A list of pairs of ANSWERED tasks and their rejection reasons.

    returns

    REJECTED tasks.

    Attributes
    protected[edu.umass.cs.automan]
  14. abstract def retrieve(ts: List[Task], current_time: Date): List[Task]

    Ask the backend to retrieve answers given a list of RUNNING tasks.

    Ask the backend to retrieve answers given a list of RUNNING tasks. Invariant: the size of the list of input tasks == the size of the list of the output tasks. The virtual_time parameter is ignored when not running in simulator mode.

    ts

    A list of RUNNING tasks.

    current_time

    The current virtual time.

    returns

    A list of RUNNING, RETRIEVED, or TIMEOUT tasks.

    Attributes
    protected[edu.umass.cs.automan]

Concrete 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. def CheckboxDistributionQuestion(init: (CBDQ) ⇒ Unit): CBDQ.O

  7. def CheckboxQuestion(init: (CBQ) ⇒ Unit): CBQ.O

  8. def FreeTextDistributionQuestion(init: (FTDQ) ⇒ Unit): FTDQ.O

  9. def FreeTextQuestion(init: (FTQ) ⇒ Unit): FTQ.O

  10. def RadioButtonDistributionQuestion(init: (RBDQ) ⇒ Unit): RBDQ.O

  11. def RadioButtonQuestion(init: (RBQ) ⇒ Unit): RBQ.O

  12. var _database_path: String

    Attributes
    protected
  13. var _default_confidence: Double

    Attributes
    protected
  14. var _locale: Locale

    Attributes
    protected
  15. var _log_config: LogConfig

    Attributes
    protected
  16. var _memoizer: MemoDB

    Attributes
    protected
  17. var _plugins: List[Class[_ <: Plugin]]

    Attributes
    protected
  18. var _plugins_initialized: List[_ <: Plugin]

    Attributes
    protected
  19. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  20. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  21. def close(): Unit

    Attributes
    protected[edu.umass.cs.automan]
  22. def database_path: String

  23. def database_path_=(path: String): Unit

  24. def default_confidence: Double

  25. def default_confidence_=(c: Double): Unit

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

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

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

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

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

    Definition Classes
    AnyRef → Any
  31. def init(): Unit

    Attributes
    protected[edu.umass.cs.automan]
  32. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  33. def log_verbosity: LogLevel

  34. def log_verbosity_=(v: LogLevel): Unit

  35. def logging: LogConfig

  36. def logging_=(lc: logging.LogConfig.Value): Unit

  37. def memo_delete(): Unit

  38. def memo_init(): Unit

  39. def memo_restore(q: Question): List[Task]

    Attributes
    protected[edu.umass.cs.automan]
  40. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  43. def plugins: List[Class[_ <: Plugin]]

  44. def plugins_=(ps: List[Class[_ <: Plugin]]): Unit

  45. def plugins_init(): Unit

    Attributes
    protected[edu.umass.cs.automan]
  46. def plugins_memo_register(): Unit

    Attributes
    protected[edu.umass.cs.automan]
  47. def plugins_shutdown(): Unit

    Attributes
    protected[edu.umass.cs.automan]
  48. def question_shutdown_hook(q: Question): Unit

    This method is called by the scheduler after an answer has been accepted by the scheduler policy.

    This method is called by the scheduler after an answer has been accepted by the scheduler policy. Override it to provide a backend-specific shutdown implementation.

    q

    Question

    Attributes
    protected[edu.umass.cs.automan]
  49. def question_startup_hook(q: Question, t: Date): Unit

    This method is called by the scheduler after question initialization but before any tasks are scheduled.

    This method is called by the scheduler after question initialization but before any tasks are scheduled. Override it to provide a backend-specific startup implementation.

    q

    Question

    t

    Scheduler startup time

    Attributes
    protected[edu.umass.cs.automan]
  50. def state_snapshot(): List[TaskSnapshot[_]]

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

    Definition Classes
    AnyRef
  52. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped