When we adapt, let's say, select_variant(MED_SPEED), the model needs to reflect that the new feature is selected and, in the case of an alternative, its sibling is deselected.
The simplest solution is waiting until we set a parameter and then updating the feature associated with that tactic which we can know from the original query to get the tactic.
however, I think it is more in line with runtime models to process any parameter changes both into the architecture model and then its ramifications into the feature model.
@Rezenders is this something we can do/you think we should do within TypeDB? My current thoughts are to just update the java objects and then make queries afterwards. I will probably proceed with the java way to get evaluation 1 working ASAP for now.
When we adapt, let's say, select_variant(MED_SPEED), the model needs to reflect that the new feature is selected and, in the case of an alternative, its sibling is deselected.
The simplest solution is waiting until we set a parameter and then updating the feature associated with that tactic which we can know from the original query to get the tactic.
however, I think it is more in line with runtime models to process any parameter changes both into the architecture model and then its ramifications into the feature model.
@Rezenders is this something we can do/you think we should do within TypeDB? My current thoughts are to just update the java objects and then make queries afterwards. I will probably proceed with the java way to get evaluation 1 working ASAP for now.