mirror of
https://github.com/NicolasBohn/NexQuant.git
synced 2026-07-28 07:57:44 +00:00
1d9b4cd2ec
* use CoSTEER as component name * rename factorimplementation to avoid confusion * rename modelimplementation * align benchmark and evolving evaluators * add scenario to evaluator init function * rename all factorimplementationknowledge in CoSTEER * remove all scenario related information in component * remove useless code --------- Co-authored-by: xuyang1 <xuyang1@microsoft.com>
33 lines
694 B
Python
33 lines
694 B
Python
from abc import ABC, abstractmethod
|
|
|
|
|
|
class Scenario(ABC):
|
|
@property
|
|
@abstractmethod
|
|
def background(self):
|
|
"""Background information"""
|
|
|
|
@property
|
|
@abstractmethod
|
|
def source_data(self):
|
|
"""Source data description"""
|
|
|
|
@property
|
|
@abstractmethod
|
|
def interface(self):
|
|
"""Interface description about how to run the code"""
|
|
|
|
@property
|
|
@abstractmethod
|
|
def output_format(self):
|
|
"""Output format description"""
|
|
|
|
@property
|
|
@abstractmethod
|
|
def simulator(self):
|
|
"""Simulator description"""
|
|
|
|
@abstractmethod
|
|
def get_scenario_all_desc(self) -> str:
|
|
"""Combine all the description together"""
|