Exchangeable components¶
- Input component
- QualityAssurance component
- Estimation component
- Search component
- Output component
Output component¶
The Output component is responsible for postprocessing the approximation results to create structured and/or filtered output artifacts, e.g., proviing the “best” approximated circuit according to a target metric or providing the Pareto frontier. It can also be used to clean up or remove working directories.
Functions¶
setup(gen_info: GeneralInformation): None
¶
Thesetup
method can be used to initialize this component by storing theGeneralInformation
instance and creating output files and directories. Note that this method is called during CIRCA’s start-up phase, and thus, no data structures of theGeneralInformation
instance are final at this point.
process(): None
¶
Theprocess
method provides the main functionality of the Output component. It is the last component method that is called before the framework terminates, so none of the other components will be affected if files or directories are removed or internal data structures are changed.