lucawrabetz / opti-face

A suite of tools for automating experiments in computational research.
MIT License
8 stars 1 forks source link

Add IInstance Interface. #17

Open lucawrabetz opened 1 month ago

lucawrabetz commented 1 month ago

Overview

Add the initial version of the Instance interface (IInstance), which defines the contract for an instance of a problem.

Description

It is only required to have the properties:

I'll start with these.

Then we have to figure out the best way to design the following:

instance parameters should exactly match the additional features added to the datamodel by the user (see issue #16). Design options below.

The user will inherit this class and add some more data properties to it.

Possible solutions or directions

Regarding the instance parameters, they could be, very broadly speaking:

If there is a clean way to do it, the first option seems to make a lot more sense to me.

lucawrabetz commented 1 month ago