Class

edu.umass.cs.automan.core

AutomanAdapter

Related Doc: package core

Permalink

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
Visibility
  1. Public
  2. All

Instance Constructors

  1. new AutomanAdapter()

    Permalink

Type Members

  1. abstract type CBDQ <: CheckboxDistributionQuestion

    Permalink
  2. abstract type CBQ <: CheckboxQuestion

    Permalink
  3. abstract type FTDQ <: FreeTextDistributionQuestion

    Permalink
  4. abstract type FTQ <: FreeTextQuestion

    Permalink
  5. abstract type MemoDB <: Memo

    Permalink
  6. abstract type RBDQ <: RadioButtonDistributionQuestion

    Permalink
  7. abstract type RBQ <: RadioButtonQuestion

    Permalink

Abstract Value Members

  1. abstract def CBDQFactory(): CBDQ

    Permalink
    Attributes
    protected
  2. abstract def CBQFactory(): CBQ

    Permalink
    Attributes
    protected
  3. abstract def FTDQFactory(): FTDQ

    Permalink
    Attributes
    protected
  4. abstract def FTQFactory(): FTQ

    Permalink
    Attributes
    protected
  5. abstract def MemoDBFactory(): MemoDB

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

    Permalink
  7. abstract def RBDQFactory(): RBDQ

    Permalink
    Attributes
    protected
  8. abstract def RBQFactory(): RBQ

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

    Permalink

    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

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

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

    Permalink

    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]

    Permalink

    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]

    Permalink

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. def CheckboxDistributionQuestion(init: (CBDQ) ⇒ Unit): CBDQ.O

    Permalink
  5. def CheckboxQuestion(init: (CBQ) ⇒ Unit): CBQ.O

    Permalink
  6. def FreeTextDistributionQuestion(init: (FTDQ) ⇒ Unit): FTDQ.O

    Permalink
  7. def FreeTextQuestion(init: (FTQ) ⇒ Unit): FTQ.O

    Permalink
  8. def RadioButtonDistributionQuestion(init: (RBDQ) ⇒ Unit): RBDQ.O

    Permalink
  9. def RadioButtonQuestion(init: (RBQ) ⇒ Unit): RBQ.O

    Permalink
  10. var _database_path: String

    Permalink
    Attributes
    protected
  11. var _default_confidence: Double

    Permalink
    Attributes
    protected
  12. var _locale: Locale

    Permalink
    Attributes
    protected
  13. var _log_config: LogConfig

    Permalink
    Attributes
    protected
  14. var _memoizer: MemoDB

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

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

    Permalink
    Attributes
    protected
  17. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  18. def clone(): AnyRef

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

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

    Permalink
  21. def database_path_=(path: String): Unit

    Permalink
  22. def default_confidence: Double

    Permalink
  23. def default_confidence_=(c: Double): Unit

    Permalink
  24. final def eq(arg0: AnyRef): Boolean

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

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

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

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

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

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

    Permalink
    Definition Classes
    Any
  31. def log_verbosity: LogLevel

    Permalink
  32. def log_verbosity_=(v: LogLevel): Unit

    Permalink
  33. def logging: LogConfig

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

    Permalink
  35. def memo_delete(): Unit

    Permalink
  36. def memo_init(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
  39. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  40. final def notifyAll(): Unit

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

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

    Permalink
  43. def plugins_init(): Unit

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

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

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

    Permalink

    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]
  47. def question_startup_hook(q: Question, t: Date): Unit

    Permalink

    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]
  48. def state_snapshot(): List[TaskSnapshot[_]]

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

    Permalink
    Definition Classes
    AnyRef
  50. def toString(): String

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped