Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ExperimentHandler<E>

Handler for a certain type of experiment.

Type parameters

Hierarchy

Index

Constructors

constructor

  • new ExperimentHandler<E>(id: string, experimentClassName: string): ExperimentHandler<E>

Properties

Readonly experimentClassName

experimentClassName: string

Name of the experiment class. This will be used to initialize config files.

Readonly id

id: string

Unique id of this experiment type.

Methods

Abstract getDefaultParams

  • Default parameters that should be added to the 'jbr-experiment.json' file during initialization. These should correspond to all (required) Components.js parameters for instantiating an experiment.

    Parameters

    • experimentPaths: IExperimentPaths

      The experiment directories. (guaranteed to exists)

    Returns Record<string, any>

Abstract getHookNames

  • getHookNames(): string[]

Abstract init

Generated using TypeDoc