Skip to main content

research_town.engines package

Submodules

research_town.engines.engine module

class research_town.engines.engine.Engine(project_name: str, profile_db: ProfileDB, paper_db: PaperDB, progress_db: ProgressDB, log_db: LogDB, config: Config, time_step: int = 0)

Bases: BaseEngine

set_envs() → None

set_transitions() → None

research_town.engines.engine_base module

class research_town.engines.engine_base.BaseEngine(project_name: str, profile_db: ProfileDB, paper_db: PaperDB, progress_db: ProgressDB, log_db: LogDB, config: Config, time_step: int = 0)

Bases: object

add_envs(envs: List[BaseEnv]) → None

add_transitions(transitions: List[Tuple[str, str, str]]) → None

record(progress: Progress, agent: Agent) → None

run(contexts: List[str]) → None

save(save_file_path: str, with_embed: bool = False) → None

set_envs() → None

set_transitions() → None

start(contexts: List[str]) → None

transition() → None

Module contents

class research_town.engines.BaseEngine(project_name: str, profile_db: ProfileDB, paper_db: PaperDB, progress_db: ProgressDB, log_db: LogDB, config: Config, time_step: int = 0)

Bases: object

add_envs(envs: List[BaseEnv]) → None

add_transitions(transitions: List[Tuple[str, str, str]]) → None

record(progress: Progress, agent: Agent) → None

run(contexts: List[str]) → None

save(save_file_path: str, with_embed: bool = False) → None

set_envs() → None

set_transitions() → None

start(contexts: List[str]) → None

transition() → None

class research_town.engines.Engine(project_name: str, profile_db: ProfileDB, paper_db: PaperDB, progress_db: ProgressDB, log_db: LogDB, config: Config, time_step: int = 0)

Bases: BaseEngine

set_envs() → None

set_transitions() → None