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

    Permalink
  2. abstract type CBQ <: CheckboxQuestion

    Permalink
  3. abstract type EQ <: EstimationQuestion

    Permalink
  4. abstract type FTDQ <: FreeTextVectorQuestion

    Permalink
  5. abstract type FTQ <: FreeTextQuestion

    Permalink
  6. abstract type MEQ <: MultiEstimationQuestion

    Permalink
  7. abstract type MemoDB <: Memo

    Permalink
  8. abstract type RBDQ <: RadioButtonVectorQuestion

    Permalink
  9. 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 EQFactory(): EQ

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

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

    Permalink
    Attributes
    protected
  6. abstract def MEQFactory(): MEQ

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

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

    Permalink
  9. abstract def RBDQFactory(): RBDQ

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

    Permalink
    Attributes
    protected
  11. abstract def accept(ts: List[Task]): Option[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

    Some ACCEPTED tasks if successful.

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

    Permalink

    Get the budget from the backend.

    Get the budget from the backend.

    returns

    Some budget if successful.

    Attributes
    protected[edu.umass.cs.automan]
  13. abstract def cancel(ts: List[Task], toState: scheduler.SchedulerState.Value): Option[List[Task]]

    Permalink

    Cancel the given tasks.

    Cancel the given tasks.

    ts

    A list of tasks to cancel.

    toState

    Which scheduler state tasks should become after cancellation.

    returns

    Some list of cancelled tasks if successful.

    Attributes
    protected[edu.umass.cs.automan]
  14. abstract def post(ts: List[Task], exclude_worker_ids: List[String]): Option[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

    Some list of the posted tasks if successful.

    Attributes
    protected[edu.umass.cs.automan]
  15. abstract def reject(ts_reasons: List[(Task, String)]): Option[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

    Some REJECTED tasks if succesful.

    Attributes
    protected[edu.umass.cs.automan]
  16. abstract def retrieve(ts: List[Task], current_time: Date): Option[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

    Some list of RUNNING, RETRIEVED, or TIMEOUT tasks if successful.

    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 EstimationQuestion(init: (EQ) ⇒ Unit): EQ.O

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

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

    Permalink
  9. def MultiEstimationQuestion(init: (MEQ) ⇒ Unit): MEQ.O

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

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

    Permalink
  12. var _database_path: String

    Permalink
    Attributes
    protected
  13. var _default_confidence: Double

    Permalink
    Attributes
    protected
  14. var _in_mem_db: Boolean

    Permalink
    Attributes
    protected
  15. var _locale: Locale

    Permalink
    Attributes
    protected
  16. var _log_config: LogConfig

    Permalink
    Attributes
    protected
  17. var _memoizer: MemoDB

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

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

    Permalink
    Attributes
    protected
  20. var _ref_cache: Map[String, List[Outcome[_]]]

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

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

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

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

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

    Permalink
  26. def default_confidence: Double

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  33. def in_memory_db: Boolean

    Permalink
  34. def in_memory_db_=(use_memdb: Boolean): Unit

    Permalink
  35. def init(): Unit

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

    Permalink
    Definition Classes
    Any
  37. def log_verbosity: LogLevel

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

    Permalink
  39. def logging: LogConfig

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

    Permalink
  41. def memo_delete(): Unit

    Permalink
  42. def memo_init(): Unit

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

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

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

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

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

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

    Permalink
  49. def plugins_init(): Unit

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

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

    Permalink
    Attributes
    protected[edu.umass.cs.automan]
  52. 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]
  53. 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]
  54. def schedule[Q <: Question](q: Q, init: (Q) ⇒ Unit): schedule.Q.O

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

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

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

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

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped